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 using the latest version of Advanced Forum in D7, I'm getting a bunch of errors:
Notice: Undefined index: hidden in menu_block_tree_output() (line 610 of /var/www/sites/oga2/featuretest/sites/all/modules/menu_block/menu_block.module).
Notice: Undefined index: has_children in menu_block_tree_output() (line 628 of /var/www/sites/oga2/featuretest/sites/all/modules/menu_block/menu_block.module).
Notice: Undefined index: href in menu_block_tree_output() (line 642 of /var/www/sites/oga2/featuretest/sites/all/modules/menu_block/menu_block.module).
Notice: Undefined index: href in menu_block_tree_output() (line 642 of /var/www/sites/oga2/featuretest/sites/all/modules/menu_block/menu_block.module).
Notice: Undefined index: mlid in menu_block_tree_output() (line 646 of /var/www/sites/oga2/featuretest/sites/all/modules/menu_block/menu_block.module).
Notice: Undefined index: title in menu_block_tree_output() (line 657 of /var/www/sites/oga2/featuretest/sites/all/modules/menu_block/menu_block.module).
Notice: Undefined index: href in menu_block_tree_output() (line 658 of /var/www/sites/oga2/featuretest/sites/all/modules/menu_block/menu_block.module).
Notice: Undefined index: mlid in menu_block_tree_output() (line 664 of /var/www/sites/oga2/featuretest/sites/all/modules/menu_block/menu_block.module).
It appears to be set off by menu items that only contain in_active_trail = TRUE and no href. Juts in case this is a bug in Advanced Forum, I've submitted this report there too.
Comments
Comment #1
BartK CreditAttribution: BartK commentedClosing this issue and submitting with a better bug report.