symfony / recipes-contrib

Symfony Contrib Recipes Repositories

Home Page:https://github.com/symfony/recipes-contrib/blob/flex/main/RECIPES.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IN SF 4.4 Argument 1 passed to FOS\OAuthServerBundle\Entity\ClientManager::__construct() must be an instance of Doctrine\Common\Persistence\ObjectManager

pankujoshi opened this issue · comments

Argument 1 passed to FOS\OAuthServerBundle\Entity\ClientManager::__construct() must be an instance of Doctrine\Common\Persistence\ObjectManager, instance of ContainerAwHu9J2\EntityManager_9a5be93 given, called in C:\xampp\htdocs\rest2\var\cache\dev\ContainerAwHu9J2\srcApp_KernelDevDebugContainer.php on line 4389

this looks unrelated to symfony/recipes-contrib
please report this to the proper repository.

I have install the oauth-server-bundle and created the REST Api with Oauth with the help of this Link: https://www.adcisolutions.com/knowledge/getting-started-rest-api-symfony-4
Now am facing this type error.

I'm sure you did, but nobody here will be able to provide you any advice as this very repository is not linked to the error you get.