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.
When you use tokens to reference another meta tag, e.g. [node:metatag:keyword], but that meta tag value didn't contain a value, the following error is logged:
Notice: Undefined index: keywords in _metatag_token_process_metatag() (line 148 of metatag.tokens.inc).
Comment | File | Size | Author |
---|---|---|---|
#1 | metatag-n2490846-1.patch | 1.4 KB | DamienMcKenna |
Comments
Comment #1
DamienMcKennaThis appears to resolve the problem, and also contains a small adjustment to avoid an infinite loop.
Comment #5
DamienMcKennaI opened an issue for the testbot problem: #2490864: Testbot problems - ctools fails to download properly
Comment #7
DamienMcKennaComment #9
DamienMcKennaCommitted.