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
Hello, I want to use GridFs in my Symfony application. The default configuration on the GridFs seems to not walk well. I'm using knplabs/knp-gaufrette-bundle v0.5.3, gaufrette/gridfs-adapter v0.4.0 and mongodb/mongodb 1.1.2. There is my service configuration
When I tried to debug, I have this error Type error: Argument 1 passed to Gaufrette\Adapter\GridFS::__construct() must be an instance of MongoDB\GridFS\Bucket, instance of MongoGridFS given
I have to define an instance of MongoDB\GridFS\Bucket as a service but I did not find the class MongoDB\Driver\Manager .
Please there is somebody who can help me ?
The text was updated successfully, but these errors were encountered:
Hello, I want to use GridFs in my Symfony application. The default configuration on the GridFs seems to not walk well. I'm using
knplabs/knp-gaufrette-bundle v0.5.3
,gaufrette/gridfs-adapter v0.4.0
andmongodb/mongodb 1.1.2
. There is my service configurationWhen I tried to debug, I have this error
Type error: Argument 1 passed to Gaufrette\Adapter\GridFS::__construct() must be an instance of MongoDB\GridFS\Bucket, instance of MongoGridFS given
I have to define an instance of
MongoDB\GridFS\Bucket
as a service but I did not find the classMongoDB\Driver\Manager
.Please there is somebody who can help me ?
The text was updated successfully, but these errors were encountered: