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.
Hi everyone
I was trying to use this module with metatags_quick keyword fields.
I got the error:
Notice: Undefined index: metatags_quicks in _keyword_rules_extract_tags() (line 178 of [...]/sites/all/modules/seo_checker/keyword_rules/keyword_rules.module).
I solved it by adding the following lines in the function _keyword_rules_extract_tags() in the switch code block:
case 'metatags_quick':
$keywords = $form_values[$keyword_field][$form_values['language']][0]['metatags_quick'];
$tags = drupal_explode_tags(strtolower($keywords));
break;
I hope this is useful.
PS.: sorry for not publishing a patch....don't actually know how to do it.
Comments
Comment #1
miruoss CreditAttribution: miruoss commentedHi Antonio
Thanks for your report and the hint on how to solve the problem. Your code seems to work just fine so I committed it today. The fix will be released in the dev bundle shortly. I might create a new release at some point.
Cheers,
Michael