-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongoDB: error on document generation #61
Comments
This issue has been fixed in the ODM a few days ago IIRC. try to update the ODM to the latest master branch and see if the issue is fixed or no. |
ODM is up-to-date, still same problem |
@Inori can you check if this issue is still valid with the latest version of the ODM ? |
Still the same problem |
which version of the ODM ? |
Sorry. I was wrong. it was a problem with the deps.lock file. My apologies. Thanks for the hard work you've put in. |
When I run app/console doctrine:mongodb:generate:documents it fails with
Catchable Fatal Error: Argument 1 passed to Doctrine\ODM\MongoDB\Event\LoadClassMetadataEventArgs::__construct() must be an instance of Doctrine\ODM\MongoDB\Mapping\ClassMetadata, instance of Doctrine\ODM\MongoDB\Mapping\ClassMetadataInfo given, called in \vendor\doctrine-mongodb-odm\lib\Doctrine\ODM\MongoDB\Mapping\ClassMetadataFactory.php on line 273 and defined in \vendor\doctrine-mongodb-odm\lib\Doctrine\ODM\MongoDB\Event\LoadClassMetadataEventArgs.php line 41
In order to get it to work, I need to comment out mongodb settings of stof_doctrine_extensions in config.yml
The text was updated successfully, but these errors were encountered: