This error occured when I upgraded from older version of php.
I read some other forums and found out I needed to change:
return new MySQLResult($this,$queryResource);
}
To:
$output = &new MySQLResult($this,$queryResource);
return $output; }
From my research this is a common error when upgrading to a newer version of PHP