Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Search function error
 
poleposition
Jr. Member
 
Total Posts:  4
Joined:  2012-08-13
 

Hi there,

Last week I installed Magento ver. 1.7.0.2 without the sample data pack.
I don’t see any problems, except for one thing:

When you try to search (front-end) for a product, the page displays:

Fatal error: Call to a member function getCacheData() on a non-object in /vhosts/xxxxxxxxxxl/httpdocs/test/app/code/core/Mage/Catalog/Model/Layer.php on line 287

I have tried to replace the Layer.php with a fresh one but it doesn’t help. Also I have tried to reindex the “Catalog search index” at the index management., with no succes. (all the indexes are ready and green)

Who can help me out? Thanks in advance!

 
Magento Community Magento Community
Magento Community
Magento Community
 
poleposition
Jr. Member
 
Total Posts:  4
Joined:  2012-08-13
 

note: this error message is only related to the simple search. Advanced search is working properly

 
Magento Community Magento Community
Magento Community
Magento Community
 
poleposition
Jr. Member
 
Total Posts:  4
Joined:  2012-08-13
 

.

 
Magento Community Magento Community
Magento Community
Magento Community
 
poleposition
Jr. Member
 
Total Posts:  4
Joined:  2012-08-13
 

I hope one week is enough to bump up my topic smile

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top