I followed the instructions for upgrading to 1.2.0 from 1.1.8, but when I attempt to rebuild the search index as instructed, i get the following error:
Fatal error: Call to a member function setAttribute() on a non-object in /home/jsularsk/public_html/app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php on line 351
can anyone help? my search is now broken and anything you search for returns no results.
I am having exactly the same problem, so will watch this thread aswell. I have done a detailed explanation and outlined the offending line here: http://www.magentocommerce.com/boards/viewthread/27151/
I didn’t even see any ‘Rebuild’ button in Cache Management after upgrading from 1.1.8 to 1.2.0...and any word searched does not return any result :(
Make sure your permissions are set to allow it to update on the folders. My host for some reason has most files go back to 644 when Magento Updates them, so if you update again without changing it back to 775 it will say it has updated, when it actually hasnt.
As for this search problem, I have narrowed it down. I installed it them same way both times, same location, same everything, this problem only occurs when I use my existing MySQL database, when I created a new one I did not experience this problem, so either something has gone wrong when it updated or has not been updated at all.
If someone has any suggestions it would be greatly appreciated.
For now, as I have a strict deadline, and was needing to do something like this. I am starting a fresh and am not trying to recover the products. I have the limited functioning site working under a subdomain and am transferring all information I need off it as I go.
I had a similar problem to this after upgrading to 1.3.0. What I did was create a column called ‘is_processed’ in the table catalogsearch_query using MyPHPAdmin. I found this was missing from a different error, which I got when I tried to duplicate a product. The error was Unknown column ‘is_processed’ in ‘field list’
I can now rebuild the search index, and the frontend search works.