Closed (won't fix)
Project:
Drupal core
Version:
4.6.1
Component:
menu system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2005 at 02:42 UTC
Updated:
6 Jun 2005 at 16:38 UTC
For certain modules, namely:
Bookmarks and Taxonomy import/export via XML
I have noticed the following error
warning: array_merge() [function.array-merge]: Argument #1 is not an array in \drupal\includes\menu.inc on line 351.
It happens when I do quicklink in bookmarks and export xml in Taxonomy.
This error can be easily fixed by adding:
if (is_array($arguments))
$arguments = array_merge($arguments, explode('/', $arg));
on around line 351 of includes/menu.inc
At first I thought it was a problem for indvidiual modules, but it happens to several other modules (I can't remeber the rest).
Thanks.
Comments
Comment #1
killes@www.drop.org commentedThese are php5 compatibility issues with some contributed modules and not a probem with Drupal core. Please file bug reports with the individual modules.