Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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)
Comment | File | Size | Author |
---|---|---|---|
#3 | metatag-n1909224-3.patch | 713 bytes | DamienMcKenna |
#2 | 1909224-metatag-fatal-error-on-node-save.patch | 539 bytes | djdevin |
Comments
Comment #1
DamienMcKennaDoes it still happen with the latest -dev release?
Comment #2
djdevinYes 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.
Comment #3
DamienMcKennaHow about this instead?
Comment #4
DamienMcKennaCommitted, thanks for catching the bug.
Comment #5
DamienMcKenna1.0-beta6 is out, so I'm closing this issue in the interest of keeping the issue queue clean.