Cannot create Doctrine\ORMEntityManager instance, inheritance error
#10186
-
Bug Report
composer.json content:
SummaryGetting Inheritance error when trying to create entity manager:
Current behaviorWhen I'm trying to create EntityManager instance, I get the next error:
How to reproduceCreate Then creating the And to create
After this, error is occurred. Expected behaviour
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Can you please show the output of |
Beta Was this translation helpful? Give feedback.
-
|
@derrabus, pls see the output of |
Beta Was this translation helpful? Give feedback.
-
|
There's something odd here. The signature of the abstract protected function skipClass(\Doctrine\Persistence\Mapping\ClassMetadata $metadata);Now, your error message prints the following signature: Note that the namespace of the I'm moving this issue to support now because it's apparently not a bug on our side. |
Beta Was this translation helpful? Give feedback.
There's something odd here. The signature of the
AbstractProxyFactory::skipClass()method in doctrine/common 3.4.3 looks like this:Now, your error message prints the following signature:
Note that the namespace of the
ClassMetadataclass is different. That's an old namespace that we don't use anymore for quite a while now. I don't know where theAbstractProxyFactoryclass you are using is coming from, but I can tell for sure it's not the one from the doctrine/common 3.4.3 package.I…