Ask a Question
Back to All

Magento plug-in

1)Extension disappeared from Adobe Marketplace
2)Got a error:

Magento\Framework\Exception\NoSuchEntityException: The website with id 5 that was requested wasn't found. Verify the website and try again. in /var/www/mw/mw.xxxxx.com/releases/46/vendor/magento/module-store/Model/WebsiteRepository.php:110

It's due to wrong logic:

$base_category = $this->_scopeConfig->getValue(

It's getting id on storeview, but takes config with website scope and that throws error.