Fosuserbundle: FOSUBundle error with symfony 4

Created on 2 May 2018  路  5Comments  路  Source: FriendsOfSymfony/FOSUserBundle

The service "fos_user.resetting.controller" has a dependency on a non-existent service "templating"
I got this when i try to use doctrine project
Thanks for help

Most helpful comment

Symfony 4 does not come with twig installed.

Install through composer via:
composer require twig

Then add the config for twig (under config/framework.yaml):

framework:
    templating:
        engines: ['twig']

All 5 comments

Symfony 4 does not come with twig installed.

Install through composer via:
composer require twig

Then add the config for twig (under config/framework.yaml):

framework:
    templating:
        engines: ['twig']

See above :)

Excellent!!!!!! This work for me!!! Thanks

Thanks. Worked for me

Nice, this work for me!!!

Was this page helpful?
0 / 5 - 0 ratings