Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3925

Symfony 4.3.2 and problem with injection dependencies into FOS User Bundle controllers

$
0
0

I am using Symfony 4.3.2 and it seems that FOS User Bundle doesn't work with this version. Every time I try to call action from this bundle ("/register", "/profile" etc.), I get this error

Controller 'FOS\UserBundle\Controller\RegistrationController' has required constructor arguments and does not exist in the container. Did you forget to define such a service?.

It seems that there is some problem with injecting dependencies into FOS User Bundle controllers. Do you know how to solve this problem? I did not try to override default FOS User Bundle controllers. Action "/login" does work, because there is nullable argument in FOS User Bundle SecurityController.


Viewing all articles
Browse latest Browse all 3925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>