The menu editing screen shows the following:

Warning: Parameter 2 to menu_edit_menu() expected to be a reference, value given in _simplified_menu_admin_add_form() (line 174 of ..../sites/all/modules/simplified_menu_admin/simplified_menu_admin.module).
Warning: implode() [function.implode]: Invalid arguments passed in form_builder() (line 1714 of ..../includes/form.inc).

and menu items are not showing up. I don't have any other menu modules.

Comments

David_Rothstein’s picture

Title: Doesn't work for me. » Menu items don't show up, and warning about "parameter 2 to menu_edit_menu() expected to be a reference" is displayed
Priority: Normal » Critical
Status: Active » Needs review
StatusFileSize
new803 bytes

Hm, this sounds like a PHP 5.3 problem (I guess that's what you're running?). I wrote this against PHP 5.2 and we've been running it OK there.

Does the attached patch fix it?

julia_g’s picture

This does the trick, thank you, should have thought of this myself.

David_Rothstein’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Status: Needs review » Fixed

Thanks, committed: http://drupalcode.org/project/simplified_menu_admin.git/commit/35e2213

I'll also put out a new release of the module (beta2) today, since it seems like this was a serious bug for people using PHP 5.3.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.