Skip to content

[Symfony] Wrong registry? #1106

Closed
Closed
@KDederichs

Description

@KDederichs

Hey,

I'm trying to write some integration tests atm and I ran into this error:
TypeError: Argument 1 passed to Enqueue\Doctrine\DoctrineConnectionFactoryFactory::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Doctrine\Bundle\DoctrineBundle\Registry given
Not really sure why since I firstly do not even use the doctrine part of enqueue but I also ran this bundle in other Symfony projects without problems.

I'm running Symfony 5.1.7 (PHP 7.4)
Enqueue-Bundle: 0.10.3
Enqueue-AMPQ/Null: 0.10.4
DoctrineORM: 2.7.3
Doctrine-Bundle: 2.1.2

Any idea what might cause this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions