Skip to content

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

Description

@INHack20

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions