Fosuserbundle: The service "fos_user.resetting.controller" has a dependency on a non-existent service "templating".

Created on 9 Apr 2018  路  2Comments  路  Source: FriendsOfSymfony/FOSUserBundle

symfony/framework-bundle v4.0.8/v4.0.5
friendsofsymfony/user-bundle v2.1.2

Hello!

I cannot start to use FOSUserBundle with smf4 project, which has been created by runing "composer create-project symfony/website-skeleton" command. Always after bundle's configuring i have next error in my console:

In CheckExceptionOnInvalidReferenceBehaviorPass.php line 32:
The service "fos_user.resetting.controller" has a dependency on a non-existent service "templating".

I have the same error , when i attempt to open the homepage of my project in browser.

The project stage: https://github.com/shm-vadim/examples/commit/4ae2f64bf892b0f15200f4358a403601d82f5b98
framework.yaml: https://github.com/shm-vadim/examples/blob/4ae2f64bf892b0f15200f4358a403601d82f5b98/config/packages/framework.yaml
security.yaml: https://github.com/shm-vadim/examples/blob/4ae2f64bf892b0f15200f4358a403601d82f5b98/config/packages/security.yaml
routes.yaml: https://github.com/shm-vadim/examples/blob/4ae2f64bf892b0f15200f4358a403601d82f5b98/config/routes.yaml
composer.json: https://github.com/shm-vadim/examples/blob/4ae2f64bf892b0f15200f4358a403601d82f5b98/composer.json

Is it a bug? What should i do?

Thanks for help and attention!

All 2 comments

Thank you, it was helpful!

Was this page helpful?
0 / 5 - 0 ratings