FOS UserBundle UserManager::__construct() must be an instance of ObjectManager

Fresh installation of symfony 4.4, then symfony flex and some common recipes, then I was trying to setup fos userbundle, I have this issue I cannot get around, any clue to what’s going on here, please 🙂

Argument 3 passed to FOSUserBundleDoctrineUserManager::__construct() must be an instance of DoctrineCommonPersistenceObjectManager, instance of DoctrineORMEntityManager given, called in /srv/www/alexseif/var/cache/dev/ContainerYzHcxci/srcApp_KernelDevDebugContainer.php on line 1660

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *