Closed (duplicate)
Project:
Openlayers
Version:
6.x-2.x-dev
Component:
OpenLayers UI
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2010 at 13:30 UTC
Updated:
4 Jul 2010 at 20:07 UTC
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 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 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 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()