[dokuwiki] Trouble with php5 and Apache2 in plugin
- From: "Martin Tschofen" <martin.tschofen@xxxxxxxxx>
- To: "doku wiki" <dokuwiki@xxxxxxxxxxxxx>
- Date: Fri, 25 Apr 2008 21:20:13 -0500
Everything worked fine until I upgraded to Mac Os X 10.5 (running apache 2
and php5).
I'm running the current official release and get a ton of php warnings the
first time around a page loads.
*Warning*: array_merge()
[function.array-merge<http://localhost/~martin/ikamu3/function.array-merge>]:
Argument #2 is not an array in*
/Users/martin/Sites/ikamu3/lib/plugins/syntax.php*on line *134*
*Warning*: array_search()
[function.array-search<http://localhost/~martin/ikamu3/function.array-search>]:
Wrong datatype for second argument in*
/Users/martin/Sites/ikamu3/lib/plugins/syntax.php*on line *137*
*Warning*: in_array()
[function.in-array<http://localhost/~martin/ikamu3/function.in-array>]:
Wrong datatype for second argument in*
/Users/martin/Sites/ikamu3/inc/parser/parser.php*on line *159*
*
*
The last line repeats itself about a hundred times.
I've upgraded to the latest stable version which is much better but still
displays the very first warning on every page the first time around.
Its my plugin that's causing it. I can pull it out and the warnings go away.
Can anybody give me some pointers what I need to look for?
I'd really appreciate it. Thanks...martin
- Follow-Ups:
- [dokuwiki] Re: Trouble with php5 and Apache2 in plugin
- From: Gerry Weißbach
- [dokuwiki] Re: Trouble with php5 and Apache2 in plugin
- From: Christopher Smith
Other related posts:
- » [dokuwiki] Trouble with php5 and Apache2 in plugin
- » [dokuwiki] Re: Trouble with php5 and Apache2 in plugin
- » [dokuwiki] Re: Trouble with php5 and Apache2 in plugin
- » [dokuwiki] Re: Trouble with php5 and Apache2 in plugin
- [dokuwiki] Re: Trouble with php5 and Apache2 in plugin
- From: Gerry Weißbach
- [dokuwiki] Re: Trouble with php5 and Apache2 in plugin
- From: Christopher Smith