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

opdavies’s picture

I'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.

vm’s picture

I can't seem to reproduce either. Are there any contrib modules in use which interact with the menu system?

marcingy’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

marking as postponed and moving from critical giving the comments above

neo_humanist’s picture

Priority: Normal » Critical
Status: Postponed (maintainer needs more info) » Needs work

Don't tell me that I have to use a different version of Drupal.

Please help...

webchick’s picture

Priority: Critical » Normal
Status: Needs work » Postponed (maintainer needs more info)
Issue tags: +Needs steps to reproduce

Please don't abuse the critical status. This issue needs clear steps to reproduce from a clean installation of Drupal 7.

LizD’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Please 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.