Skip to content

Error after adding doctrine_mongodb #4

@nurikabe

Description

@nurikabe

I recently started using the ContactBundle. Worked fine until I added a config for doctrine_mongodb: alongside doctrine:

Notice: Undefined index: IHQS\ContactBundle\Document\Contact in vendor\doctrine-mongodb-odm\lib\Doctrine\ODM\MongoDB\Mapping\Driver\AbstractFileDriver.php line 116 

We are using both MySQL as well as Mongo.

Seems like the bundle is trying to use Mongo even though I am not using a database connector.

  contact:
      form:
          type:               ihqs_contact_contact
          handler:            ihqs_contact.contact.form.handler.default
          name:               ihqs_contact_contact_form
          validation_groups:  [Contact]
  connectors:
      email:
         recipients: me@test.com

Apologies for the newbie-ish question.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions