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,
I don't know why but $terms variable is sometimes null, and that's the reason of warning.
I guess i fixed it, please have look at attached patch.
Regards
Comment | File | Size | Author |
---|---|---|---|
null terms warning messages.patch | 562 bytes | sinasalek |
Comments
Comment #1
NancyDruThis should only occur if the vocabulary has no terms assigned to it yet. In that situation, taxonomy_get_tree should return FALSE, which is what is normally checked for.
Comment #2
NancyDruThis is now in 5.x-1.10.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.