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.
There's a gotcha about the menu system, in that the bug
Notice: Undefined offset: 5 in _menu_translate() (line 579 of /Users/tmcw/Sites/drupal-6.15/includes/menu.inc).
shows up because of lines 102-110 in openlayers_ui.module
. I'm currently not understanding the menu system well enough to fix this, but it should be fixed because it spawns many errors in strict mode.
Comments
Comment #1
zzolo CreditAttribution: zzolo commentedYeah, I looked at this one time and switched around the type of some menu items, and the warning disappeared, but it ended up hiding items that needed to be displayed and vice versa.
Comment #2
zzolo CreditAttribution: zzolo commentedI don't seem to get these anymore in interface or tests. But I am not sure what changed. Can anyone confirm this?
Comment #3
zzolo CreditAttribution: zzolo commentedI believe this to be upstream in Drupal itself: #676010: diff_menu() issue - undefined offset in includes/menu.inc on line 576 function _menu_translate()