Fatal error: Call to a member function addFieldToFilter() on a non-object in magento

April 24, 2012 | In: Fatel Error, Linux, Magento, Ubuntu, web development

Have you upgraded your magento version OR installed any module/extension manually?
If you getting this error: “Fatal error: Call to a member function addFieldToFilter() on a non-object ……” after doing any step above then you have to following steps to solve:

Step 1: Re-index the all tables.
a) To re-index Go to your site admin panel.
b) System > Index Management
c) Select all rows and submit button with reindex selection in dropdown.

Step 2: Clear all cache and session.
a) To clear all cache and session Go to your site admin panel.
b) System > Cache Management
c) Select all rows and submit button with select ‘refresh’ option in dropdown.
d) Also press ‘Flush Magento Cache’ button.

It will work for you.

Comment Form

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Categories

Latest comments


    Fatal error: Uncaught Error: Call to undefined function split() in /home4/nos/public_html/naveenos.com/wp-content/themes/smoker/functions.php:72 Stack trace: #0 /home4/nos/public_html/naveenos.com/wp-content/themes/smoker/sidebar.php(11): mdv_recent_comments() #1 /home4/nos/public_html/naveenos.com/wp-content/themes/smoker/single.php(47): include('/home4/nos/publ...') #2 /home4/nos/public_html/naveenos.com/wp-includes/template-loader.php(74): include('/home4/nos/publ...') #3 /home4/nos/public_html/naveenos.com/wp-blog-header.php(19): require_once('/home4/nos/publ...') #4 /home4/nos/public_html/naveenos.com/index.php(17): require('/home4/nos/publ...') #5 {main} thrown in /home4/nos/public_html/naveenos.com/wp-content/themes/smoker/functions.php on line 72