These docs are for v1.0. Click to read the latest docs for v2024.09.

Discussions

Ask a Question
Back to All

Magento plug-in

1)Extension disappeared from Adobe Marketplace
https://marketplace.magento.com/goeasyship-shipping.html
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(
'carriers/easyship/base_category',
\Magento\Store\Model\ScopeInterface::SCOPE_WEBSITE,
$this->getStoreId()
);

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