Notice: Undefined index: bundles in metatag_field_extra_fields() (line 1297 of /modules/all/metatag/metatag.module).
Warning: array_keys() expects parameter 1 to be array, null given in metatag_field_extra_fields() (line 1297 of modules/all/metatag/metatag.module).
Warning: Invalid argument supplied for foreach() in metatag_field_extra_fields() (line 1297 of modules/all/metatag/metatag.module).

CommentFileSizeAuthor
#3 metatag-n2376857-3.patch1.09 KBDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Title: Warning: array_keys() expects parameter 1 to be array, null given in metatag_field_extra_fields() (line 1297 of modules/all/metatag/metatag.module) » Warning: array_keys() expects parameter 1 to be array, null given in metatag_field_extra_fields() (line 1297)

Could you please describe the scenario that causes the error to be triggered?

DamienMcKenna’s picture

Status: Active » Postponed (maintainer needs more info)
DamienMcKenna’s picture

Status: Postponed (maintainer needs more info) » Needs review
Parent issue: » #2539438: Plan for Metatag 7.x-1.8 release
FileSize
1.09 KB

This error may occur for some entity types that don't have 'bundles' defined, so lets fix it.

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

  • DamienMcKenna committed 79dcde3 on 7.x-1.x
    Issue #2376857 by DamienMcKenna: Work around entity definitions that don...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.