Doctrine MongoDB ODM

Undefined index 'criteria' in DocumentPersister