Stack Exchange network consists of 178 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I'm using Magento 126.96.36.199
How can I delete store view by id programmatically?
If you look at the Mage/Adminhtml/controllers/System/StoreController.php file there is the deleteStorePostAction(), the following code is used (just like every other Magento model can delete a record):
$model = Mage::getModel('core/store')->load($itemId);
Fatal error: Call to a member function getFrontNameByRoute() on a non-object in public_html/includes/src/__default.php on line 17507
Required, but never shown