Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FrameworkBundle] templating_php.xml is loaded even when php engine is not enabled #11748

Closed
@pgodel

Description

@pgodel

I was working on a fix for another issue that required me to disable the router. Disabling the router triggered this error:

[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
The service "templating.helper.router" has a dependency on a non-existent service "router".

templating.helper.router is defined in templating_php.xml, but I do not have php listed in the templating engines in config.yml

Do we really need to load templating_php.xml and define all those services when php templating engine is not used?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions