0

Could really do with some help, we've got 2 stores running on the same magento backend. It works fine however I've came to the conclusion that I don't want to have 2 stores and keep it as a single store.

If I remove the none default store everything seems ok, but once everything is reindexed we get this error:

I've tried to change the store ID and other things via phpmyadmin but I should not have to do this because I am only using Magentos normal tools of removing a store view/website etc. I really would like to know how to fix this or address it. Right now I've had to restore our website so they are both active.

Magento\Framework\Exception\NoSuchEntityException: The store that was requested wasn't found. Verify the store and try again. in /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/module-store/Model/StoreRepository.php:112 Stack trace: #0 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/module-store/Model/StoreManager.php(170): Magento\Store\Model\StoreRepository->getById('3') #1 /home/3hidden.cloudwaysapps.com/folder1/public_html/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore('3') #2 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/module-store/Model/Resolver/Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore('3') #3 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope('3') #4 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Config\ScopeCodeResolver->resolve('store', '3') #5 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Config\ScopeCodeResolver\Interceptor->___callParent('resolve', Array) #6 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Config\ScopeCodeResolver\Interceptor->Magento\Framework\Interception{closure}('store', '3') #7 /home/3hidden.cloudwaysapps.com/folder1/public_html/generated/code/Magento/Framework/App/Config/ScopeCodeResolver/Interceptor.php(26): Magento\Framework\App\Config\ScopeCodeResolver\Interceptor->___callPlugins('resolve', Array, Array) #8 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(86): Magento\Framework\App\Config\ScopeCodeResolver\Interceptor->resolve('store', '3') #9 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(62): Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig() #10 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Config\App\Config\Source\RuntimeConfigSource->get('') #11 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/module-config/App/Config/Type/System/Reader.php(60): Magento\Framework\App\Config\ConfigSourceAggregated->get() #12 /home/3hidden.cloudwaysapps.com/folder1/public_html/generated/code/Magento/Config/App/Config/Type/System/Reader/Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read() #13 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/module-config/App/Config/Type/System.php(371): Magento\Config\App\Config\Type\System\Reader\Proxy->read() #14 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/Cache/LockGuardedCacheLoader.php(79): Magento\Config\App\Config\Type\System->readData() #15 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/module-config/App/Config/Type/System.php(261): Magento\Framework\Cache\LockGuardedCacheLoader->lockedLoadData('SYSTEM_CONFIG', Object(Closure), Object(Closure), Object(Closure)) #16 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/module-config/App/Config/Type/System.php(195): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default') #17 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/module-config/App/Config/Type/System.php(169): Magento\Config\App\Config\Type\System->getWithParts('default/newreli...') #18 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/App/Config.php(132): Magento\Config\App\Config\Type\System->get('default/newreli...') #19 /home/3hidden.cloudwaysapps.com/folder1/public_html/generated/code/Magento/Framework/App/Config/Interceptor.php(63): Magento\Framework\App\Config->get('system', 'default/newreli...', NULL) #20 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/App/Config.php(80): Magento\Framework\App\Config\Interceptor->get('system', 'default/newreli...') #21 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Config->getValue('newrelicreporti...', 'default', NULL) #22 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Config\Interceptor->___callParent('getValue', Array) #23 [internal function]: Magento\Framework\App\Config\Interceptor->Magento\Framework\Interception{closure}('newrelicreporti...', 'default', NULL) #24 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/m2e/ebay-amazon-magento2/Plugin/AbstractPlugin.php(36): call_user_func_array(Object(Closure), Array) #25 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/m2e/ebay-amazon-magento2/Plugin/Order/Magento/Framework/App/Config.php(45): Ess\M2ePro\Plugin\AbstractPlugin->execute('getValue', Object(Magento\Framework\App\Config\Interceptor), Object(Closure), Array) #26 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Ess\M2ePro\Plugin\Order\Magento\Framework\App\Config->aroundGetValue(Object(Magento\Framework\App\Config\Interceptor), Object(Closure), 'newrelicreporti...', 'default', NULL) #27 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Config\Interceptor->Magento\Framework\Interception{closure}('newrelicreporti...', 'default', NULL) #28 /home/3hidden.cloudwaysapps.com/folder1/public_html/generated/code/Magento/Framework/App/Config/Interceptor.php(26): Magento\Framework\App\Config\Interceptor->___callPlugins('getValue', Array, NULL) #29 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config\Interceptor->getValue('newrelicreporti...', 'default', NULL) #30 /home/3hidden.cloudwaysapps.com/folder1/public_html/generated/code/Magento/Framework/App/Config/Interceptor.php(37): Magento\Framework\App\Config->isSetFlag('newrelicreporti...', 'default', NULL) #31 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/module-new-relic-reporting/Model/Config.php(94): Magento\Framework\App\Config\Interceptor->isSetFlag('newrelicreporti...') #32 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/module-new-relic-reporting/Plugin/HttpPlugin.php(49): Magento\NewRelicReporting\Model\Config->isNewRelicEnabled() #33 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/Interception/Interceptor.php(121): Magento\NewRelicReporting\Plugin\HttpPlugin->beforeCatchException(Object(Magento\Framework\App\Http\Interceptor), Object(Magento\Framework\App\Bootstrap), Object(Magento\Framework\Exception\NoSuchEntityException)) #34 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Bootstrap), Object(Magento\Framework\Exception\NoSuchEntityException)) #35 /home/3hidden.cloudwaysapps.com/folder1/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #36 /home/3hidden.cloudwaysapps.com/folder1/public_html/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Magento\Framework\Exception\NoSuchEntityException)) #37 /home/3hidden.cloudwaysapps.com/folder1/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #38 {main}

  • check with your store table, something wrong with store table – Anas Mansuri Apr 27 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.