问题
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