Skip to content

Error after adding doctrine_mongodb #4

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions