How to make data fixtures work ? #843
Replies: 3 comments 1 reply
-
Which version of the doctrine packages are you using? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I have the same error when running
|
Beta Was this translation helpful? Give feedback.
0 replies
-
The error was caused by the following attribute in the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How can I make fixtures work ? I have
doctrine/mongodb-odm-bundle
anddoctrine/data-fixtures
installed. When I runphp bin/console doctrine:mongodb:fixtures:load
, I get an error :This is my fixture file :
The symfony's documentation says to check the
DoctrineMongoDBBundle
's documentation and theDoctrineMongoDBBundle
's documentation says to check the symfony one...https://symfony.com/bundles/DoctrineFixturesBundle/current/index.html
https://www.doctrine-project.org/projects/doctrine-mongodb-bundle/en/current/console.html
Beta Was this translation helpful? Give feedback.
All reactions