You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have disabled the templating system by not mentioning it in my FrameworkBundle config as I wish to use twig directly (yay perf improvements). I would also like to use the new AbstractController so it is clear what dependencies my controllers have.
However when i try to load a page i get the following error:
(1/1) ServiceNotFoundException
The service "templating.engine.twig" has a dependency on a non-existent service "templating.name_parser".
in CheckExceptionOnInvalidReferenceBehaviorPass.php (line 31)
at CheckExceptionOnInvalidReferenceBehaviorPass->processValue(object(Reference), false)
in AbstractRecursivePass.php (line 57)
at AbstractRecursivePass->processValue(array(object(Reference), object(Reference), object(Reference)), false)
in CheckExceptionOnInvalidReferenceBehaviorPass.php (line 35)
at CheckExceptionOnInvalidReferenceBehaviorPass->processValue(array(object(Reference), object(Reference), object(Reference)))
in AbstractRecursivePass.php (line 64)
at AbstractRecursivePass->processValue(object(Definition), true)
in CheckExceptionOnInvalidReferenceBehaviorPass.php (line 35)
at CheckExceptionOnInvalidReferenceBehaviorPass->processValue(object(Definition), true)
in AbstractRecursivePass.php (line 57)
I think this is due to the AbstractController containing 'templating' => '?'.EngineInterface::class, in its list of subscribed services - when I remove that line my page renders as expected.
The text was updated successfully, but these errors were encountered:
I have disabled the templating system by not mentioning it in my FrameworkBundle config as I wish to use twig directly (yay perf improvements). I would also like to use the new AbstractController so it is clear what dependencies my controllers have.
However when i try to load a page i get the following error:
I think this is due to the AbstractController containing
'templating' => '?'.EngineInterface::class,
in its list of subscribed services - when I remove that line my page renders as expected.The text was updated successfully, but these errors were encountered: