I am using 1.3.6.
I am trying to narrow the problem. The problem only comes when I choose Worldpay and click next on payment page.
Other payment methods works fine.
I have done nothing on the website or codes in the last few months.
Possible problem, I upgrade serverside from php4 to php5.
Worldpay is also changing some of their callback thing but I try to leave that out first.
I get this error when we choose worldpay:
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in /home/onlinesh/public_html/includes/functions/functions_general.php on line 660
This particular line is:
The full paragraph looks like thisCode:if (($value != '') && (strtolower($value) != 'null') && (strlen(trim($value)) > 0)) {
I have no idea. Is there a quick fix to this?Code://// function zen_not_null($value) { if (is_array($value)) { if (sizeof($value) > 0) { return true; } else { return false; } } else { if (($value != '') && (strtolower($value) != 'null') && (strlen(trim($value)) > 0)) { return true; } else { return false; } } }



