Hi there, I'm using MongoDB in my project but apparently Doctrine update
their bundle and now I'm having issues if I run "composer update" command.
This is my doctrine.yml file:
*# ODMdoctrine_odm.mongodb: connections: default: server:
mongodb://%mongo_host%:%mongo_port% options: {} default_database:
%mongo_database% document_managers: default: auto_mapping: true*
But I get this error:
*[Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]
There is no extension able to load the configuration for
"doctrine_odm.mongodb" (in /var/www/html/kraken/app/config/doctrine.yml).*
If I use this other configuration:
*# ODMdoctrine_mongodb: connections: default: server:
mongodb://%mongo_host%:%mongo_port% options: {} default_database:
%mongo_database% document_managers: default: auto_mapping: true*
Then the error transform to this one:
*[Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException]
The service "doctrine_mongodb.odm.default_configuration" has a dependency
on a non-existent parameter "doctrine_mongodb.odm.default_commit_options".
Did you mean one of these: "doctrine_mongodb.odm.default_connection",
"doctrine_mongodb.odm.default_document_manager"?*
What I'm doing wrong or what I'm missing?
ReynierPM
Mobile: +58 424-180.56.09
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.