Closed (duplicate)
Project:
Drupal core
Version:
7.0
Component:
menu system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Apr 2011 at 17:51 UTC
Updated:
20 Apr 2011 at 14:39 UTC
Getting the following error throughout the site when switching my source menu for secondary links.
Notice: Undefined index: localized_options in menu_navigation_links() (line 1780 of /Applications/MAMP/htdocs/drupal7/includes/menu.inc).
Here's my workflow:
1) Source menu for Secondary Links via menu settings is set to "User menu" = no error
2) Switch the source menu for Secondary Links to "Navigation" and get the above error showing on all content type generated nodes.
-Trevor
Comments
Comment #1
ambientdrup commentedSo I can reproduce this issue on multiple Drupal 7 installs. I looked at line 1780 in menu.inc and commented out the following:
If commented out no errors show when you change the source menu for secondary links. Are we at the point here where we can make a patch to the core menu.inc file and leave this either commented out ... or altogether remove the localized_options line of code?
Comment #2
oriol_e9gAll core changes need a patch to pas the tests, the testbot veredict is needed.
Comment #3
dcrocks commentedDup of http://drupal.org/node/1018614
Comment #4
oriol_e9g