Magento Forum

Can’t Access Store at all….!!!! 
 
ConvenientGadgets
Sr. Member
 
Total Posts:  78
Joined:  2008-12-29
 

Attempted to delete a store via the admin UI and got the following error, which we now see every time we try to access the web site, even though we have other stores set up. Get the same error when trying to access the admin site.

Recoverable Error: Argument 1 passed to Mage_Core_Model_Store_Group::setWebsite() must be an instance of Mage_Core_Model_Website, null given, called in /home/dregna/public_html/shop/app/code/core/Mage/Core/Model/App.php on line 422 and defined in /home/dregna/public_html/shop/app/code/core/Mage/Core/Model/Store/Group.php on line 210
Trace:
#0 /home/dregna/public_html/shop/app/code/core/Mage/Core/Model/Store/Group.php(210): mageCoreErrorHandler(4096, ‘Argument 1 pass...’, ‘/home/dregna/pu...’, 210, Array)
#1 /home/dregna/public_html/shop/app/code/core/Mage/Core/Model/App.php(422): Mage_Core_Model_Store_Group->setWebsite(NULL)
#2 /home/dregna/public_html/shop/app/code/core/Mage/Core/Model/App.php(247): Mage_Core_Model_App->_initStores()
#3 /home/dregna/public_html/shop/app/Mage.php(432): Mage_Core_Model_App->init(’’, ‘store’, Array)
#4 /home/dregna/public_html/shop/app/Mage.php(453): Mage::app(’’, ‘store’, Array)
#5 /home/dregna/public_html/shop/index.php(52): Mage::run()
#6 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
ConvenientGadgets
Sr. Member
 
Total Posts:  78
Joined:  2008-12-29
 

This item is closed. There was a database issue that Varien corrected for us.

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