Closed (works as designed)
Project:
Drupal core
Version:
7.12
Component:
menu system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Mar 2012 at 23:14 UTC
Updated:
5 May 2012 at 20:30 UTC
When trying to add a new menu item to correspond to a node in the node/add or node/edit screen, the menu item does not get created and the following error message appears:
Notice: Array to string conversion in menu_node_submit() (line 723 of <path>/httpdocs/modules/menu/menu.module).
Notice: Undefined offset: 1 in menu_node_submit() (line 723 of <path>/httpdocs/modules/menu/menu.module).I have confirmed the problem on three different sites using three different base themes when adding a menu item to a Basic Page. The Basic Page content type does have the Main Menu item enabled as assignable.
I believe the problem first surfaced after updating to 7.12.
Comments
Comment #1
opdaviesI'm running Drupal 7.12, and have just created menu links in the Navigation menu to node/add/page and node/add/article which have saved fine and the both link items are fully functional.
Comment #2
vm commentedI can't seem to reproduce either. Are there any contrib modules in use which interact with the menu system?
Comment #3
marcingy commentedmarking as postponed and moving from critical giving the comments above
Comment #4
neo_humanist commentedDon't tell me that I have to use a different version of Drupal.
Please help...
Comment #5
webchickPlease don't abuse the critical status. This issue needs clear steps to reproduce from a clean installation of Drupal 7.
Comment #6
LizD commentedPlease see http://drupal.org/node/1500250
I thought these issues were being merged and so I posted there that I tracked the issues to a conflict with Hierarchical Menus module. I reported both issues there. These two issues can be closed.