Hello I am new to Magento I have ran into a problem
Store view instance does not exist in Registry Trace: #0 /var/www/magento/app/code/local/MGS/Storelocator/Helper/Data.php(69): Mage::throwException('Store view inst...') #1 /var/www/magento/app/design/frontend/mgstheme/claue/template/mgs/storelocator/view.phtml(13): MGS_Storelocator_Helper_Data->getStoreViewInstance() #2 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/magent...') #3 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/mgsthe...') #4 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #5 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml() #6 /var/www/magento/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #7 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Text_List->_toHtml() #8 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml() #9 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('content', true) #10 /var/www/magento/app/design/frontend/mgstheme/claue/template/page/1column.phtml(47): Mage_Core_Block_Abstract->getChildHtml('content') #11 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/magent...') #12 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/mgsthe...') #13 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #14 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml() #15 /var/www/magento/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml() #16 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput() #17 /var/www/magento/app/code/local/Magestore/Storelocator/controllers/IndexController.php(44): Mage_Core_Controller_Varien_Action->renderLayout() #18 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Magestore_Storelocator_IndexController->viewAction() #19 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view') #20 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #21 /var/www/magento/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch() #22 /var/www/magento/app/Mage.php(684): Mage_Core_Model_App->run(Array) #23 /var/www/magento/index.php(83): Mage::run('', 'store') #24 {main}
Any help or direction would perfect.
Hi @postonoh,
Since that module seems to be custom or a paid one is hard to know (without knowing the module)
Is it possible that you changed/removed some store views?
It seems module is trying to read a store view that isn't available.
Maybe you can check into the module table to be sure no references to deleted store views are still present?
Thank you I will take a look.