Hello!

here is some problem

after installation of the module climbs this error

Recoverable fatal error: Argument 2 passed to metatag_filter_values_from_defaults() must be an array, null given, called in /sites/all/modules/metatag/metatag.module on line 870 and defined в функции metatag_filter_values_from_defaults() (строка 1416 в файле /sites/all/modules/metatag/metatag.module).

when saving node

thanks for answer)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Postponed (maintainer needs more info)

Does it still happen with the latest -dev release?

djdevin’s picture

Status: Postponed (maintainer needs more info) » Needs review
FileSize
539 bytes

Yes this still happens - for me it is when the Metatag fields have #access = FALSE from something like Multistep or another form manipulator. Seems like an edge case, but other fields handle it fine.

Patch attached but I don't know the effects of it, it makes sure there are actually posted values coming in before calling that function. Metatags still seem to be saving fine.

DamienMcKenna’s picture

FileSize
713 bytes

How about this instead?

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed, thanks for catching the bug.

DamienMcKenna’s picture

Status: Fixed » Closed (fixed)

1.0-beta6 is out, so I'm closing this issue in the interest of keeping the issue queue clean.