PITS /
00073: search : warning array_merge() Argument #1 is not an array
Summary: search : warning array_merge() Argument #1 is not an array
Created: 2004-10-06 10:41
Status: Closed - fixed for 2.0.devel12
Category: Bug
From: noe
Assigned:
Priority: 5
Version: 2 devel 11
OS: linux php5
Description: When I use the search fonctionnality it works but I have the following warnings :
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/free.fr/c/6/ooioo/pmwiki/pmwiki.php5 on line 449
Warning: Invalid argument supplied for foreach() in /var/www/free.fr/c/6/ooioo/pmwiki/pmwiki.php5 on line 461
...
Line 449 is :
$pats=array_merge("/^$GroupPattern
\.$NamePattern
$/",(array)$pats);
I also get lots of warnings like this (devel11):
Warning: Invalid argument supplied for foreach() in /var/www/free.fr/3/6/sophana/pmwiki2/pmwiki.php5 on line 461