PHP5 error- array_merge()

PHP5 error- array_merge()

by Jon Streeter -
Number of replies: 2

I recently did a resintall of my website and used the latest XAMPPlite that comes with PHP5. 

When i load a Wiki document i get the following at the top of the page:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array...

A quick review of sourceforge revealed:

BUG#5740 PHP5 and Erfurtwiki - error with array_merge (http://erfurtwiki.sourceforge.net/examples/plainwhite.php?page=OldBugs)

Is there a fix planned?

-Beaux


                        
Average of ratings: -
In reply to Jon Streeter

Re: PHP5 error- array_merge()

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers
Hmmmm. Well, we aren't supporting PHP5 yet, but that sounds like something that can be fixed with a quick type check. Can you send me more details about the error - what function it was in and what line number would help.

mike
In reply to Mike Churchward

Re: PHP5 error- array_merge()

by W Page -
Hi Mike!

I think Martin added/updated something to the code that another 
Moodler asked about approximately a week ago.  You may want to contact him about it to see just where Moodle and PHP5 stands right now.

WP1