Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Posts
    224
    Plugin Contributions
    0

    Default Catchable fatal error queryFactoryResult

    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:

    Code:
          if (($value != '') && (strtolower($value) != 'null') && (strlen(trim($value)) > 0)) {
    The full paragraph looks like 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;
          }
        }
      }
    I have no idea. Is there a quick fix to this?

  2. #2
    Join Date
    Jan 2006
    Posts
    224
    Plugin Contributions
    0

    Default Re: Catchable fatal error

    Hi, I solved it, there is a solution from another thread:

    http://www.zen-cart.com/forum/showth...le+fatal+error

    Cheers

 

 

Similar Threads

  1. Catchable fatal error
    By jvanree in forum General Questions
    Replies: 4
    Last Post: 15 Jul 2008, 10:18 AM
  2. Catchable fatal error
    By needainstall in forum General Questions
    Replies: 6
    Last Post: 3 Dec 2007, 07:55 AM
  3. catchable fatal error
    By apovey in forum General Questions
    Replies: 2
    Last Post: 7 Nov 2007, 09:13 AM
  4. Replies: 2
    Last Post: 17 Aug 2007, 08:19 AM
  5. Catchable fatal error
    By notset4life in forum General Questions
    Replies: 13
    Last Post: 5 Jun 2007, 12:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg