Closed lbcd closed 5 years ago
I had the same issue.
You need to run composer install templating
(using Flex).
Then, in the framework.yaml
file, add the following config :
templating:
engines: ['twig']
needs adding to the documentation somewhere (known issues?)
this is relatively easily googleable and should be setup as part of another bundle or Symfony
added the step to check regardless
On Symfony 4.0 Just to share an issue where error message didn't help.
Here was the message: The service "fos_user.resetting.controller" has a dependency on a non-existent service "templating".
What I have done to solve it => add in
fos_user.yaml
:So my complete
fos_user.yaml
is: