Using Drupal 7.21, webform alpha 6.
I created a webform. Now I want to provide a menu link but without succes. When pressed save, got this error.
Warning: explode() expects parameter 2 to be string, array given in menu_node_submit() (line 722 of www\modules\menu\menu.module)

CommentFileSizeAuthor
foto.jpg157.76 KBerrev

Comments

edenb’s picture

hey,

same problem using drupal 7.22 version & webfrom 7.x-3.18.

the error:
Warning: explode() expects parameter 2 to be string, array given in menu_node_submit() (line 722 of D:\www\modules\menu\menu.module).

thanks.

henkit’s picture

Same here,

also using drupal 7.22, but not with webform...i get the error when adding a custom content type node

Henk

quicksketch’s picture

I'm not sure this is an issue with Webform. It looks like Hierarchical Select module caused this problem at one point, but it was solved a while ago: #1272538: Hierarchical Select Menu should also flatten on submit of node forms.

henkit’s picture

Hi Quicksketch,

Thanks! #10 patch from your link solves the error!

Kind regards,
Henk

quicksketch’s picture

Title: Warning: explode() expects parameter 2 to be string, array given in menu_node_submit() line 722 of www\modules\menu\menu.module » Warning: explode() expects parameter 2 to be string, array given in menu_node_submit() in menu.module (w/ Hierarchical Select)
Category: bug » support
Priority: Major » Normal
Status: Active » Closed (fixed)

Great, thanks for the followup. Closing this issue as a support request, since the problem has already been solved in Hierarchical select, which is responsible.