DoctrineParamConverter error after fresh symfony skeleton website installation

人走茶凉 提交于 2021-01-29 07:03:21

问题


I installed symfony 5.1 but when I run application following error occured.

Argument 1 passed to Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry or null, instance of Doctrine\Bundle\DoctrineBundle\Registry


回答1:


you just need to upgrade your composer with command "composer upgrade".

Try it and give feedback.



来源:https://stackoverflow.com/questions/63576784/doctrineparamconverter-error-after-fresh-symfony-skeleton-website-installation

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!