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
{{ message }}
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
Argument1 passed to Faker\ORM\Doctrine\EntityPopulator::__construct() must be an instance of Doctrine\ORM\Mapping\ClassMetadata, instance of Doctrine\ODM\MongoDB\Mapping\ClassMetadata given
In the definition of the class, Doctrine\ORM namespace is used, instead of Doctrine\Common if we want to support both ORM and ODM.
It works a little better, but another error appears :
Fatal error: Call to undefined method Doctrine\ODM\MongoDB\Mapping\ClassMetadata::getAssociationMappings() in .../vendor/fzaninotto/faker/src/Faker/ORM/Doctrine/EntityPopulator.php on line 104
I can make a pull request for fixing this bug, but have not yet a solution for this second error...
The text was updated successfully, but these errors were encountered:
Faker/ORM/Doctrine/EntityPopulator.php use
which causes errors like this one:
In the definition of the class, Doctrine\ORM namespace is used, instead of Doctrine\Common if we want to support both ORM and ODM.
if I replace
by
It works a little better, but another error appears :
I can make a pull request for fixing this bug, but have not yet a solution for this second error...
The text was updated successfully, but these errors were encountered: