You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In orm 2.11 the method setSchemaIgnoreClasses was introduced. DoctrineBundle's composer.json has a conflict doctrine/orm <2.10 but that should be <2.11, or the version should be checked before setSchemaIgnoreClasses is called.
16:05:38 CRITICAL [php] Uncaught Error: Call to undefined method Doctrine\ORM\Configuration::setSchemaIgnoreClasses() ["exception" => Error { …}]
In App_KernelDevDebugContainer.php line 1283:
Attempted to call an undefined method named "setSchemaIgnoreClasses" of class "Doctrine\ORM\Configuration".
The text was updated successfully, but these errors were encountered:
I had a similar error yesterday while updating symfony 4.3 to 4.4 …
I know it's not a final solution, but if you downgrade to doctrine/doctrine-bundle to 2.6.4 the error disappears. (Just a workaround)
But perhaps a diff can find the real solution ;)
ostrolucky
changed the title
DoctrineBundle 2.7.0 conflicts with doctrine/orm 2.10
DoctrineBundle 2.7.0 calls undefined method setSchemaIgnoreClasses
Jun 16, 2022
In orm 2.11 the method setSchemaIgnoreClasses was introduced. DoctrineBundle's composer.json has a conflict doctrine/orm <2.10 but that should be <2.11, or the version should be checked before setSchemaIgnoreClasses is called.
The text was updated successfully, but these errors were encountered: