【发布时间】:2020-10-03 17:44:07
【问题描述】:
全新安装 symfony 4.4,然后是 symfony flex 和一些常见的配方,然后我试图设置 fos userbundle,我遇到了这个问题,我无法解决。
Argument 3 passed to FOS\UserBundle\Doctrine\UserManager::__construct() must be an instance of Doctrine\Common\Persistence\ObjectManager, instance of Doctrine\ORM\EntityManager given, called in /srv/www/alexseif/var/cache/dev/ContainerYzHcxci/srcApp_KernelDevDebugContainer.php on line 1660
【问题讨论】:
标签: symfony symfony4 fosuserbundle