Page Ranking Tool

Fatal error: Call to a member function getAllOptions() on a non-object in /app/code/core/Mage/Core/Model/Cache.php on line 434 In Magento

Magento Upgrade is very hard process because we are going to upgrade the old version to the new version and there may be alot of extension which is currently working with the current code means using the old code and now we are going to upgrade the Magento then it may be some extension stop working with the new upgraded version here is the most common error after upgrade is
Fatal error: Call to a member function getAllOptions() on a non-object in /app/code/core/Mage/Core/Model/Cache.php on line 434. Follow the steps to remove this error.

Step 1. Delete all the content of the var folder like var/cache, var/session and var/locks.
Step 2. Check the permisson of the var folder and provide the 775 or 777 permission to this folder.
Step 3. Check the app/etc/config.xml and the app/etc/local.xml it is there are not if it is not presents in this folder upload the files from your backup.
Step 4. Try to empty database cache by running sql command:

TRUNCATE TABLE `core_cache`

Step 5. Navigate to the app/Mage.php and search for the code below:

//self::$_appRoot = null;
Uncomment it and it will be just like as:
self::$_appRoot = null;

it is called by app/code/core/Mage/Core/Model/Config/Options.php at line 54:

$appRoot= Mage::getRoot(); This returns an empty string, that is the reason why Magento was broken.

Step 6. Reinstall the latest AITOC extensions.

Hope it will help to someone to get rid of such kind of the problem.

Comments
  1. zvlzable

    This piece of writing will assist the internet people for setting
    up new web site or even a blog from start to end.

  2. Anonymous

    Thanks, for this piece of writing, in my view
    its in fact remarkable.

  3. Leanna

    I have read so many content on the topic of the blogger lovers but this post is in fact a nice post,
    keep it up.

    • Jorge

      any one can help me out..there are some order confirmation email are not sndeing to customer and admin, depends number of order the number of confirmation emails are not sndeing, any idea please?

    • Anitra

      Yo, good looikn out! Gonna make it work now.

  4. Danelle

    Ιnfогmative аrtiсlе,
    eхaсtly whаt ӏ wanted to find.

  5. Heribertocoward

    Ιnfогmative аrtiсlе,
    eхaсtly whаt ӏ wanted to find.

  6. Sandeep

    I appreciate the post and the way….
    Really nice keep it up..

  7. Linwood

    this post is very helpful for me.

  8. Rod

    This piece of writing is in fact a pleasant one it helps new net viewers, who are
    wishing for blogging.

  9. Scout

    A good many vuaallbes you’ve given me.

  10. lucretiawhitesides

    Wow! This blog looks just like my old one! It’s on a entirely different topic
    but it has pretty much the same page layout and
    design. Wonderful choice of colors!

  11. Dallashilyard

    It’s really a great and useful piece of info. I am happy that you just shared this useful information with us.
    Please stay us informed like this. Thank you for sharing.

  12. jacquettapollak

    I read this piece of writing completely on the topic of the comparison of hottest and preceding technologies, it’s awesome article.

ADD YOUR COMMENT

*