Hi there,
VERY SORRY - PLEASE IGNORE THIS POST - ALTHOUGH IT CLEARED THE ERROR WHEN JUST VIEWING = I GOT THE SAME ERROR MESSAGE AGAIN AFTER WHEN SUBMITTING A SCORE ... I WILL TEST MORE BEFORE I SUBMIT A SUPPOSED SOLUTION ...
I have left my comments below just in case ... but please note THIS IS NOT THE SOLUTION!!
I'm not a PHP expert, but I think the reason it gives that message is because at some point the needle $inthis is (nothing) or "". so when it runs it doesn't know the data type.
What I have done is added the following few lines of code in front:-
if ($inthis === "") {
RETURN $inthis;
}
just before the line 5550 in arcade.php and this removes the error
I'm not sure if it should be === or == (as my PHP knowledge is limited) but from what I can see the code doing - it's the only thing I can come up with.
So, the full "recursive_str_ireplace" function now shows in my arcade.php as :
function recursive_str_ireplace($replacethis,$withthis,$int his)
{
while (1==1)
{
$inthis = str_ireplace($replacethis,$withthis,$inthis);
if ($inthis === "") {
RETURN $inthis;
}
if(stristr($inthis, $replacethis) === FALSE)
{
RETURN $inthis;
}
}
RETURN $inthis;
}
Hope this helps or I'm sure someone will point out if I've made a boo-boo.
Cheers,
G