after clearing the cache I get the following notices:

Notice: Undefined index: bundles in metatag_field_extra_fields() (Line 541 in /sites/all/modules/metatag/metatag.module).

i can fix it by change line 541

    foreach (array_keys($entity_info['bundles']) as $bundle) {
      if (metatag_entity_supports_metatags($entity_type, $bundle)) {
        $extra[$entity_type][$bundle]['form']['metatags'] = array(
          'label' => t('Meta tags'),
          'description' => t('Meta tag module form elements.'),
          'weight' => 10,
        );
      }
    }

to

    if (isset($entity_info['bundles'])) {
      foreach (array_keys($entity_info['bundles']) as $bundle) {
        if (metatag_entity_supports_metatags($entity_type, $bundle)) {
          $extra[$entity_type][$bundle]['form']['metatags'] = array(
              'label' => t('Meta tags'),
              'description' => t('Meta tag module form elements.'),
              'weight' => 10,
          );
        }
      }
    }

Comments

marcoka’s picture

Status: Active » Closed (cannot reproduce)

i can not reproduce this with the latest version alpha6. reopen if you still have that.

socialnicheguru’s picture

i do get this.

I think that this is a general entity issue.

some modules don't define entity_info properly. So you can't always rely on it being there.

marcoka’s picture

Status: Closed (cannot reproduce) » Active
damienmckenna’s picture

Status: Active » Fixed

I believe with how the current system handles entities and entity bundles this shouldn't happen anymore.

damienmckenna’s picture

Status: Fixed » Closed (fixed)