More questions about the default rendering pipeline and timing of its elements

So in a project Im making a vue menu that triggers different enables and disabled on a default rendering pipeline.

But for some reason whenever I trigger the depth of field effect, I get this error:

Im assuming its a timing thing, but am not sure what the fix for it would be?

The method to enable it is very simple:

Nevermind.