I have a model with some crypted fields, on postLoad I uncrypt the fields (works well) and I try to create a new document (a log to keep track of the ...
I have a model with some crypted fields, on postLoad I uncrypt the fields (works well) and I try to create a new document (a log to keep track of the ...
I have an issue to configure doctrine odm with Symfony4.1 I got an error message on composer update, cache:clear subcommand There is no extension ...
My document is an ItemsList, having an Items embedded document. The problem is that Doctrine Mongo is not mapping the embedded document as an Item ob ...
I'm currently using Symfony 4 with Doctrine MongoDB Bundle, following the instruction from this link: DoctrineMongoDBBundle. So, I have a UserDocument ...
I am using Symfony 3.4 Flex and sonata-admin-bundle": "^3.33" & "php": "^7.0.8"...i want to installing doctrine-mongodb-admin-bundle.when i run ...
I'm trying to use DoctrineMongoDBBundle but it gives me this error : Attempted to load class "ObjectID" from namespace "MongoDB\BSON". Did you for ...
I've already searched on StackOverflow and read the corresponding chapters of the Doctrine documentation (http://docs.doctrine-project.org/projects/do ...
Is there a way to disable Doctrine MongoDB bundle logger on fixture load only? like suggested in https://stackoverflow.com/a/35222045/3965970 but for ...
I'm attempting to use the hash type for a Document. When I'm creating an object there isn't a problem, but the moment I attempt to retrieve a document ...
I have the following user document config in yml mapping with id field as MongoId. I have use case that is required me to use aggregation builder to p ...
Error: doctrine.mongodb:generate:document No bundle Bundle was found with Symfony3. c:\Bitnami\wampstack-5.6.20-0\apache2\htdocs\sym\patmonS1>php ...
My goal is to have two different document managers connected to different databases that share the same database models. I have heavily changed my d ...
I have large collection of cities. I want in my admin to filter by city name. Because of large number of records i have to use sonata_type_model_autoc ...
I have an arbitrary MongoDB JSON find query string, for example: or Is there any existing method to create a Doctrine.MongoDB.Query object from ...
I update a simple skeleton project ZF2 to PHP7 and I install the libraries for mongodb in php7 And I add in cli php.in the line I do a phpinfo a ...
This is quite an often occurring error, but since I tried a lot of stuff to fix it, I'm kind of getting out of the ideas. I have a symfony 2 with mon ...
I'm using Silex and would like to apply uniqueness validator constraints on MongoDB documents. The UniqueEntity validator constraint to be found in s ...
I'm connecting to a remote database that is configured only for reading. If I use: It works fine, but if I try: I get this error: not maste ...
I have an issue setting up MongoDB in Symfony2. Specs: I have 2 databases used in 2 different bundles, nxtlog and nxtsurvey, in MongoDB. The origi ...
My problem is when I call referenced entity $entity->getEntity2() it returns the entity2 but with public $__isInitialized__ => bool(false). Th ...