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.
 value can be type of array
I propose to add is_string() for $value.
But I'm not sure will this affect on logic.

Comments

zniki.ru created an issue. See original summary.

nikolay shapovalov’s picture

Status: Needs work » Needs review
StatusFileSize
new628 bytes

I changed my mind and decide just reroll http://cgit.drupalcode.org/path_metatags/commit/?id=e32d80b

nikolay shapovalov’s picture

Status: Needs review » Closed (duplicate)