Magento Recoverable Error: Argument 1 passed to Mage_Core_Model_Store :: setWebsite() must be an instance of Mage_Core_Model_Website

4

It looks like that this problems appears most of users. There are some recommended fix too:

 

Magento: Recoverable Error: Argument 1 passed to Mage_Core_Model_Store :: setWebsite() must be an instance of Mage_Core_Model_Website

Magento: Recoverable Error: Argument 1 passed to Mage_Core_Model_Store :: setWebsite() must be an instance of Mage_Core_Model_Website

 

1: Delete following file:

 

 

2: Update database with following query:

 

 

3: Somes says error is due to .htaccess and some says database and they recommend fresh installation of Magento.

4: In my case, it got fixed by turning off Data Collection cache. I had large site, with almost 1 million + products. We found cache was increasing as exponential rate. It makes sense as database size was large, the Data Collection cache was large, which can not be handled by file handler hence causing break.

Disable Cache in following way:

a. Magento Admin -> System -> Cache Management
b. Select Data Collection Cache and disable it.

 

The full dump of Warning/Notice on system.log

 

 

 

Source: www.krishnasunuwar.com.np

About Author

Là một developer rất ham chơi nhưng không ham hố, không ham chơi nhưng rất thích cầm đầu...

4 Comments

  1. Pingback: rolex daytona men fake

  2. Pingback: knock off bvlgari zero1 ring

Leave a Reply

%d bloggers like this: