Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Posts
    149
    Plugin Contributions
    0

    Default PHP Fatal error: Cannot call overloaded function for non-object in

    ok I've been getting various errors ever since trying to move to a different server.

    Anyone know what this one might mean?

    [06-Nov-2009 17:29:05] PHP Fatal error: Cannot call overloaded function for non-object in /usr/local/pem/vhosts/118405/webspace/httpdocs/includes/functions/functions_lookups.php on line 1799


    I've tried replacing functions_lookups.php and it makes no difference

    line 1799 is

    Code:
     $upcoming_mask = date('Ymd', $upcoming_mask_range);
    My page only partially loads. It seems to work ok if I turn off ch_categories.php

    Also I notice the new server is using MySQL 4.1.22 whereas the old one was using MySQL 5.0.81

    might that make a difference when moving the database?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: PHP Fatal error: Cannot call overloaded function for non-object in

    Quote Originally Posted by timdwyer42 View Post
    My page only partially loads. It seems to work ok if I turn off ch_categories.php
    Sounds like you're using an addon that's got some compatibility problems, likely between PHP versions.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2009
    Posts
    149
    Plugin Contributions
    0

    Default Re: PHP Fatal error: Cannot call overloaded function for non-object in

    Thanks. I've cancelled that host and gone with another one so it must have had something to do with what they were using.

 

 

Similar Threads

  1. Replies: 15
    Last Post: 27 Sep 2013, 05:29 PM
  2. v139h PHP Fatal error: Call to a member function add_session() on a non-object
    By absoluteblock in forum General Questions
    Replies: 5
    Last Post: 27 Apr 2013, 01:23 AM
  3. Replies: 5
    Last Post: 31 Jul 2012, 11:33 AM
  4. Replies: 6
    Last Post: 4 Jun 2007, 11:42 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