8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
I have this set in my config.yml:
framework: templating: engines: ['twig', 'php']
When I try this in my controller:
$this->render('@MyTools/Tools/index.html.twig');
... I get the following error:
Template name "@MyTools/Tools/index.html.twig" is not valid (format is "bundle:section:template.format.engine").
Removing 'php' from the engines solves the problem and using the old template name style ('ToolsBundle:Tools:index.html.twig') also solves it.