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 depth of heirarchy is 2 levels deep
Notice: Undefined offset: 2 in _hierarchical_select_hierarchy_generate() (line 1865 of /Users/brian/Sites/Aegir/filedepot-7.41/sites/fd.ld/modules/hierarchical_select/hierarchical_select.module).
When depth is 3 or more levels deep
Notice: Undefined offset: 2 in _hierarchical_select_hierarchy_generate() (line 1823 of /Users/brian/Sites/Aegir/filedepot-7.41/sites/fd.ld/modules/hierarchical_select/hierarchical_select.module).
All are ocurrances of the following code block (middle line if the error line):
$item_type = (count($config['editability']['item_types']) >= $depth)
? t($config['editability']['item_types'][$depth])
: t('item');
Comments
Comment #2
GoldI'm suspecting this has been resolved in the time since it was originally opened.
I'm unable to replicate this.
If this is still found to be an issue please reopen and update the Summary with detailed steps to reproduce. Include the config of the HS widget too.