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.
Get this error when displaying a terms siblings:
Notice: Undefined variable: items i ctools_term_list_content_type_render() (rad 80 av profiles/my_site/modules/ctools/plugins/content_types/term_context/term_list.inc).
When a term doesn't have any siblings the only term available in $terms gets marked as $skip[tid] which means that $items is never declared on line 76.
Patch will be posted as comment.
Comment | File | Size | Author |
---|---|---|---|
#3 | ctools-no_siblings_error-1512154-3.patch | 638 bytes | markusbroman |
#1 | ctools-no_siblings_error-1512154-1.patch | 791 bytes | markusbroman |
Comments
Comment #1
markusbroman CreditAttribution: markusbroman commentedAnd here it comes
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedI'd really rather the blank line weren't deleted as part of the patch.
It's silly, I know, but I like my whitespace.
Comment #3
markusbroman CreditAttribution: markusbroman commentedAh. that was sloppy of me. Trying again.
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedResetting status.
Comment #5
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted and pushed. Thanks!