1 min readApr 19, 2020
it seems that you have some problems with autowiring… it’s looking for a service User, but User is not a service, it’s an entity, we’re just typing the parameter in this case. More info here on autowiring services https://symfony.com/doc/current/service_container/autowiring.html#an-autowiring-example