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

ambientdrup’s picture

Assigned: Unassigned » ambientdrup
Status: Active » Reviewed & tested by the community

So I can reproduce this issue on multiple Drupal 7 installs. I looked at line 1780 in menu.inc and commented out the following:

$l = $item['link']['localized_options'];

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?

oriol_e9g’s picture

Status: Reviewed & tested by the community » Needs work

All core changes need a patch to pas the tests, the testbot veredict is needed.

dcrocks’s picture

oriol_e9g’s picture

Status: Needs work » Closed (duplicate)