Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument 1 passed to Tetranz\Select2EntityBundle\Form\Type\Select2EntityType::__construct() must be an instance of Doctrine\Persistence\ManagerRegistry, instance of Doctrine\Bundle\DoctrineBundle\Registry given #177

Open
INHack20 opened this issue Mar 24, 2021 · 0 comments

Comments

@INHack20
Copy link

Symfony 4.4.19

Constructor must accept the interface Doctrine\Common\Persistence\ManagerRegistry instead of Doctrine\Persistence\ManagerRegistry by refactor of "doctrine/persistence" in 1.2.0 or compatibilty in both.

Captura de Pantalla 2021-03-23 a la(s) 9 19 39 p  m
Argument 1 passed to Tetranz\Select2EntityBundle\Form\Type\Select2EntityType::__construct() must be an instance of Doctrine\Persistence\ManagerRegistry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /Users/inhack20/www/freelance/pedro/SmartTT/var/cache/dev/ContainerRvBeuJy/srcApp_KernelDevDebugContainer.php on line 19594

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant