Closed StefanGlaesser closed 3 years ago
+1 .
did you registered the bundle in the app kernel?
Yes, i've done everything thats written down in the docs.
Same config as abovementioned and it throws the same exception. 1.3 works fine, dev-master kills.
+1
+1
If this can help, it's working fine for me. My config looks exactly like yours and this is the require
section of the composer.json
.
"require": {
"php": ">=5.5.9",
"symfony/symfony": "3.1.*",
"doctrine/mongodb-odm": "^1.0",
"doctrine/mongodb-odm-bundle": "^3.0",
"doctrine/doctrine-cache-bundle": "^1.2",
"doctrine/data-fixtures": "~1.1.0",
"symfony/swiftmailer-bundle": "^2.3",
"symfony/monolog-bundle": "^2.8",
"symfony/polyfill-apcu": "^1.0",
"sensio/distribution-bundle": "^5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "^2.0",
"friendsofsymfony/rest-bundle": "^2.0",
"jms/serializer-bundle": "^1.1",
"friendsofsymfony/oauth-server-bundle": "^1.5",
"friendsofsymfony/user-bundle": "2.0.x-dev",
}
Did you add the annotation @MongoDB\Document
on the User
class?
Also, not sure if this is intended but you're using both doctrine ORM and ODM.
We need more informations to help you out:
Thanks
Hello,
I'm always getting a
using a fresh install.
This is my current composer.json.
And some parts of my config.yml
I don't know what todo any more. What's wrong? What else can I do?