Skip to content

Error with doctrine/persistence 2.0.0 #169

@knallcharge

Description

@knallcharge

Hi,

after upgrading doctrine/doctrine-bundle to version 2.1.2 (from 2.1.0) which comes with doctrine/persistence 2.0.0, the bundle stopped working. The error I'm getting is:

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

Quick fix for now: Adding "doctrine/persistence": "^1" to my composer.json will allow me to update the doctrine-bundle, but I think in the long run, doctrine/persistence should be supported.

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