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.
1 parent d59a6fd commit 5a793ccCopy full SHA for 5a793cc
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