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

Magento Connect Fails with: Fatal error: Uncaught exception ‘Mage_Core_Model_Store_Exception’
 
GiladG
Jr. Member
 
Total Posts:  21
Joined:  2008-08-29
 

App works perfectly, just when I try to enter Magento Connect I get the following error.  Dug all around the net looking for a solution but no luck.

Any suggestions?

Fatal errorUncaught exception 'Mage_Core_Model_Store_Exception' in /var/www/vhosts/safe-sax.com/httpdocs/shop/app/code/core/Mage/Core/Model/App.php:1267 Stack trace
#0 /var/www/vhosts/safe-sax.com/httpdocs/shop/app/code/core/Mage/Core/Model/App.php(620): Mage_Core_Model_App->throwStoreException() 
#1 /var/www/vhosts/safe-sax.com/httpdocs/shop/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php(70): Mage_Core_Model_App->getStore() 
#2 /var/www/vhosts/safe-sax.com/httpdocs/shop/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php(154): Mage_Core_Model_Session_Abstract_Varien->start(NULL) 
#3 /var/www/vhosts/safe-sax.com/httpdocs/shop/app/code/core/Mage/Core/Model/Session/Abstract.php(83): Mage_Core_Model_Session_Abstract_Varien->init('admin', NULL) 
#4 /var/www/vhosts/safe-sax.com/httpdocs/shop/app/code/core/Mage/Admin/Model/Session.php(51): Mage_Core_Model_Session_Abstract->init('admin') 
#5 /var/www/vhosts/safe-sax.com/httpdocs/shop/app/code/core/Mage/Core/Model/Config.php(1086): Mage_Admin_Model_Session->__const in /var/www/vhosts/safe-sax.com/httpdocs/shop/app/code/core/Mage/Core/Model/App.php on line 1267
 
Magento Community Magento Community
Magento Community
Magento Community
 
alexpeterson
Jr. Member
 
Avatar
Total Posts:  11
Joined:  2008-04-14
London
 

I’m getting a similar error -

Fatal errorUncaught exception 'Mage_Core_Model_Store_Exception' in /home/themoder/public_html/app/code/core/Mage/Core/Model/App.php:1267 Stack trace#0 /home/themoder/public_html/app/code/core/Mage/Core/Model/App.php(620): Mage_Core_Model_App->throwStoreException() #1 /home/themoder/public_html/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php(70): Mage_Core_Model_App->getStore() #2 /home/themoder/public_html/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php(154): Mage_Core_Model_Session_Abstract_Varien->start(NULL) #3 /home/themoder/public_html/app/code/core/Mage/Core/Model/Session/Abstract.php(83): Mage_Core_Model_Session_Abstract_Varien->init('admin', NULL) #4 /home/themoder/public_html/app/code/core/Mage/Admin/Model/Session.php(51): Mage_Core_Model_Session_Abstract->init('admin') #5 /home/themoder/public_html/app/code/core/Mage/Core/Model/Config.php(1086): Mage_Admin_Model_Session->__construct(Array) #6 /home/themoder/public_html/app/Mage.php(319): Mage_Core_Model_Config->getModelInstance('admin/ses in /home/themoder/public_html/app/code/core/Mage/Core/Model/App.php on line 1267
 
Magento Community Magento Community
Magento Community
Magento Community
 
ckosny
Guru
 
Total Posts:  349
Joined:  2009-02-28
Luxembourg
 

Have you tried this: http://www.magentocommerce.com/boards/viewthread/13782/#t48615 ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
GiladG
Jr. Member
 
Total Posts:  21
Joined:  2008-08-29
 

Tried the suggested solution here and updated line 614 from:

$id = $this->_currentStore;

to:

$id = $this->_currentStore ? $this->_currentStore : “default”;

This resulted in a new error:

Fatal errorCall to a member function load() on a non-object in /var/www/vhosts/safe-sax.com/httpdocs/shop/app/code/core/Mage/Core/Model/Abstract.php on line 216
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top