Welcome to Geeklog, Anonymous Tuesday, May 14 2024 @ 08:32 pm EDT

Geeklog Forums

what is this? warning: array_merge argument 2 is not an array


Buurman

Anonymous
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?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
A quick search for the error message would have brought up this thread ...

bye, Dirk
 Quote

All times are EDT. The time is now 08:32 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content