I have JQZoom and JQLightbox installed and I keep receiving the following php error, that may or may not be causing the occasional 500 error.
[17-Aug-2010 08:25:01] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of in_array(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in D:\Hosting\999999\html\includes\classes\class.ajax.php on line 389
and here is what I see from line 377-399 in class.ajax.php.
Should I try to, as suggested in the log, set the return false; to return true; ??

PHP Code:
function recursiveInArray($needle$haystack) {
        foreach (
$haystack as $key => $stalk) {
            if ((
$key === $needle) || ($needle === $stalk) || (is_array($stalk) && $this->recursiveInArray($needle$stalk))) {
                return 
true;
            }
        }
        return 
false;
    }
}

function 
print_nice($elem,$max_level=10,$print_nice_stack=array()){
    if(
is_array($elem) || is_object($elem)){
        if(
in_array(&$elem,$print_nice_stack,true)){
            echo 
"<font color=red>RECURSION</font>";
            return;
        }
        
$print_nice_stack[]=&$elem;
        if(
$max_level<1){
            echo 
"<font color=red>nivel maximo alcanzado</font>";
            return;
        } 
Thank you