warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/html/includes/menu.inc on line 351.
Is printed on submit. Not sure where the problem is.
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/html/includes/menu.inc on line 351.
Is printed on submit. Not sure where the problem is.
Comments
Comment #1
zuryasse commentedyeah, same problem here...
Comment #2
ullgren commentedI'm still saying this is a issue with the menu.inc.
The code is as follows:
There should be a check to verify that $arguments really is a array.
Anyway please test the following patch:
Comment #3
ullgren commentedComment #4
mariuss commentedI had the very same problem. After I applied the patch everything is OK. Thanks.
Comment #5
ullgren commentedpatch applied to CVS (4.6 branch)
Comment #6
johnhanley commentedI just got this error with a new installation of PHP 5 (worked fine under 4.x)
I remedied the problem by modifying line 351 of menu.inc to insure $arguments is an array:
if (strlen($arg) && is_array($arguments)) {
Comment #7
johnhanley commentedOr perhaps this is a more eloquent and officially sanctioned solution.
Comment #8
(not verified) commented