Closed (fixed)
Project:
Webform
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
30 Jan 2006 at 16:25 UTC
Updated:
16 Mar 2006 at 19:15 UTC
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