Error message:
Recoverable fatal error: Argument 3 passed to metatag_metatags_form() must be of the type array, boolean given, called in /var/www/html/www/sites/all/modules/contrib/metatag/metatag.module on line 1895 and defined in metatag_metatags_form() (line 1277 of /var/www/html/www/sites/all/modules/contrib/metatag/metatag.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | metatag-n2692933-6.patch | 589 bytes | damienmckenna |
Comments
Comment #2
doostinharrell commentedComment #3
doostinharrell commentedComment #4
doostinharrell commentedComment #5
doostinharrell commentedAfter a bit of digging it appears that "$metatags = $entity->metatags[$entity_language];" on line 1860 was resulting in "$entity->metatags['und'] = FALSE". So when metatag_metatags_form() is called and a boolean was passed instead of an array the function call failed.
It is also important to note that the node I experienced this error on was a panels node. My guess is that the node was created with an older version of metatag installed and after a module upgrade the error was introduced.
Comment #6
damienmckennaThanks for the patches. Does this also fix the problem for you?
Comment #7
doostinharrell commentedYes, that patch also resolves my problem.
Cheers
Comment #9
damienmckennaCommitted. Thanks.