Stack Exchange network consists of 175 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.
I'm using Magento 22.214.171.124
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