Using zen-cart 1.38.
Trying to get verified by visa and mastercard securecode to work.
We keep getting this error:

[17-Jun-2009 20:01:13] PHP Catchable fatal error: Object of class psigate_xml could not be converted to string in /home/xxxxx/public_html/includes/functions/functions_general.php on line 1327

Here is line 1327

if (($value != '') && (strtolower($value) != 'null') && (strlen(trim($value)) > 0)) {

return true;