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.
I see this issue before but it's closed and it's on a different template.
Notice: Undefined variable: items in include() (line 19 of ../modules/contrib/fences/templates/field--fences-div.tpl.php).
Warning: Invalid argument supplied for foreach() in include() (line 19 of ../modules/contrib/fences/templates/field--fences-div.tpl.php).
It's required wrap the loop on isset to check if this value is set.
I leave one patch to fix this.
Comment | File | Size | Author |
---|---|---|---|
#2 | fences_2761371_undefined_var_on_template.patch | 802 bytes | antoniogr |
Comments
Comment #2
antoniogr CreditAttribution: antoniogr commentedComment #3
antoniogr CreditAttribution: antoniogr commentedComment #4
Anybody