I got warning message.
Warning: Illegal offset type in isset or empty in path_metatags_html_head_alter() (line 47 file modules/path_metatags/path_metatags.module).
foreach ($element['#attributes'] as $group => $value) {
if (!empty($build_meta[$value]) && $build_meta[$value] == $group) {
unset($head_elements[$name]);
}
}
I think the reason of it because $value can be type of array.

I propose to add is_string() for $value.
But I'm not sure will this affect on logic.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | illegal_offset_type_in-2897530-2.patch | 628 bytes | nikolay shapovalov |
| path_metatags.png | 47.91 KB | nikolay shapovalov |
Comments
Comment #2
nikolay shapovalov commentedI changed my mind and decide just reroll http://cgit.drupalcode.org/path_metatags/commit/?id=e32d80b
Comment #3
nikolay shapovalov commented