[pmwiki-users] Problems actual beta with c arguments
Laurent Meister
meister at apfelwiki.de
Sun Oct 7 02:33:22 CDT 2007
Hello,
we have an older Cookbook-receipt for Imagehandling (actually I don't
know actually where it comes from). It works with some additional c
arguments (written in an other cookbook receipt "c_arguments.php).
Since some weeks (i don't know which beta, using the last one) pmwiki
outputs this warnings, if there is an image gallery on the page:
Warning: array_merge_recursive() [function.array-merge-recursive]:
Argument #1 is not an array in /apfelwiki/cookbook/c_arguments.php on
line 40
Warning: array_merge_recursive() [function.array-merge-recursive]:
Argument #1 is not an array in /apfelwiki/cookbook/c_arguments.php on
line 40
Warning: Cannot modify header information - headers already sent by
(output started at /apfelwiki/cookbook/c_arguments.php:40) in /
apfelwiki/index.php on line 1049
The function on line 40 in c_arguments.php is:
36 function mergeWithArray($car){
37 $ta = $this->args_array;
38 foreach ($car as $k => $arg)
39 if (is_array($arg))
40 array_merge_recursive ($ta[$k],$car[$k]);
41 else
42 $ta[$k] = $arg;
43 $this->setArray($ta);
44 }
Does anyone has an idea, where the problem could be located?
Thx for helping.
Laurent Meister (kt007)
apfelwiki.de
More information about the pmwiki-users
mailing list