We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6ad87fd + 5a793cc commit a58bda7Copy full SHA for a58bda7
app/code/Magento/Store/Model/StoreResolver.php
@@ -88,7 +88,7 @@ public function getCurrentStoreId()
88
}
89
90
if (!in_array($store->getId(), $stores)) {
91
- throw new NoSuchEntityException(__('Requested scope cannot be loaded'));
+ $store = $this->getDefaultStoreById($defaultStoreId);
92
93
} else {
94
$store = $this->getDefaultStoreById($defaultStoreId);
0 commit comments