Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2007
    Posts
    105
    Plugin Contributions
    0

    red flag Fatal error: Call to a member function on a non-object in /includes/autoload_func.php

    I'm sorry that I can't figure this out without asking. I don't know what else to do. My site was working fine... I'm still in the initial stages of this site but it functioned. I've added a bunch of modules- nothing that I haven't installed on another site (successfully). Today I added Wordpress and Wordpress on Zen Cart.

    Admin works fine- or at least it seems to

    The catalog on the other hand - comes up with the error:

    Fatal error: Call to a member function on a non-object in /home/XXXXXX/public_html/includes/autoload_func.php on line 90

    I've read a bit about this error here but it seems to only occur after a fresh install. This is not a fresh install- new but not fresh.

    I've looked at the error log on the cpanel and all it does is parrot back the same error message.

    Please help!
    Nancy

  2. #2
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Fatal error: Call to a member function on a non-object in /home/XXXXXX/public_htm

    I have a similar error with PayPal Sessions viewer.....
    No response yet on the post I wrote several days ago!

  3. #3
    Join Date
    Oct 2007
    Posts
    105
    Plugin Contributions
    0

    Default Re: Fatal error: Call to a member function on a non-object in /home/XXXXXX/public_htm

    Well, I'm still working on it... If I come up with anything, I'll post it here.

    Thanks for letting me know that I'm not in this boat by myself!

    Nancy

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

    Default Re: Fatal error: Call to a member function on a non-object in /home/XXXXXX/public_htm

    Quote Originally Posted by ladyink View Post

    Fatal error: Call to a member function on a non-object in /home/XXXXXX/public_html/includes/autoload_func.php on line 90
    The autoload system attempts to load in the required class and function files, and then instantiate various classes. While you may see a failure if it can't access an expected class object, what it doesn't tell you is that it's likely because a certain class file didn't load correctly, perhaps because it's damaged or even missing.

    Check to be sure that all the files in your /includes folder are in fact present, and complete, not missing all or part of the contents. Yes, that means you may need to re-upload everything, or even download everything and compare what you download from your own site against a fresh set of Zen Cart files, to see what's missing or incomplete.

    Other references:
    https://www.zen-cart.com/tutorials/index.php?article=82
    http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    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.

  5. #5
    Join Date
    Oct 2007
    Posts
    105
    Plugin Contributions
    0

    Default Re: Fatal error: Call to a member function on a non-object in /home/XXXXXX/public_htm

    Well, this is what I think happened...

    When I installed Wordpress on this site, I had already downloaded version 2.5 and I installed it. When I did, I noticed that there was an upgrade available and I installed and used the automatic upgrade plugin. I actually think that was the problem.

    I removed all of the wordpress files, cleared out the database and started over. Just to prove this all to myself, I installed wordpress 2.5 again, installed Wordpress on Zen Cart and then upgraded manually. Seems all is well. "Seems" being the keyword there.

    I know that this doesn't help your error message. Sorry, I'm just not that good at this stuff yet (I know there is hope).

    Nancy

  6. #6

    Default Re: Fatal error: Call to a member function on a non-object in /home/XXXXXX/public_htm

    I've been struggling with this same error...

    According to the Debug utility:
    PHP Fatal error: Call to a member function add_current_page() on a non-object in ... html/shop/includes/autoload_func.php on line 90

    Server OS: Linux 2.4.21-53.ELsmp
    Database: MySQL 4.1.22-max-log
    HTTP Server: Apache
    PHP Version: 5.2.5 (Zend: 2.2.0)
    PHP Safe Mode: Off
    Session.auto_start Off
    Register_globals Off
    Zen Cart 1.3.8a

    Used BeyondCompare to check all the Includes files and everything seems fine. What else do I need to look for?

    Thanks,
    Shari

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

    Default Re: Fatal error: Call to a member function on a non-object in /home/XXXXXX/public_htm

    Based on the way the code works, that error message suggests that your /includes/classes/navigation_history.php file is missing or incomplete or damaged. Perhaps re-uploading that file may help.
    .

    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.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 8 May 2016, 03:44 PM
  2. Replies: 15
    Last Post: 27 Sep 2013, 05:29 PM
  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