Posted on: 10/30/04 03:39am
By: Anonymous (Buurman)
HI, i'm getting this error
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/agovvape/public_html/system/lib-plugins.php on line 199
if i open the php at line 199 im finding this:
function PLG_getMenuItems()
{
global $_TABLES;
$result = DB_query("SELECT pi_name FROM {$_TABLES['plugins']} WHERE pi_enabled = 1");
$nrows = DB_numRows($result);
$menu = array();
for ($i = 1; $i
$A = DB_fetchArray($result);
$function = 'plugin_getmenuitems_' . $A['pi_name'];
if (function_exists($function)) {
$menuitems = $function();
$menu = array_merge($menu,$menuitems);
}
The bold selected line is line 199!
this problem is new for me, someone got a idea?
what is this? warning: array_merge argument 2 is not an array
Posted on: 10/30/04 07:12am
By: Dirk
A quick search for the error message would have brought up
this thread[*1] ...
bye, Dirk