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 have been using this module on a content type with an entity reference field to a taxonomy vocabulary. When I edit the content type, or the field, I get the following message.
Notice: Undefined index: item_types in _hierarchical_select_hierarchy_generate() (line 1771 of hierarchical_select/hierarchical_select.module).
I am using version 7.x-3.0-beta7. According to the definition of the function the $config['editability']['item_types'] is not necessary. I added an extra check on line 1771 to prevent the notice.
Comment | File | Size | Author |
---|---|---|---|
#2 | hierarchical_select-undefined-item_type-2820156-2.patch | 893 bytes | natew |
Comments
Comment #2
natew CreditAttribution: natew commentedComment #4
stefan.r CreditAttribution: stefan.r commentedCommitted and pushed to 7.x-3.x, thanks!
Comment #5
stefan.r CreditAttribution: stefan.r commented