Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin order creation broken after deleting a website. #274

Open
chrismshea opened this issue Mar 12, 2024 · 0 comments
Open

Admin order creation broken after deleting a website. #274

chrismshea opened this issue Mar 12, 2024 · 0 comments

Comments

@chrismshea
Copy link

Steps to regenerate the issue:-

  1. Go to Admin Sidebar->Stores->All Stores.
  2. Create New Website.
  3. Then Create one more new website & create New Store & select the latest created website in website dropdown.
  4. Create New Store View & Select the New Store Created.
  5. Now delete the only website created in Step 2.
  6. Run upgrade, deploy, re-index & cache commands.
  7. Click on Sales->New Order & then issue arrives.

Exception Message

Exception [#0](https://subscribepro.zendesk.com/agent/tickets/0) (Magento\Framework\Exception\NoSuchEntityException): The website with id 7 that was requested wasn't found. Verify the website and try again.
<pre>[#1](https://subscribepro.zendesk.com/agent/tickets/1) Magento\Store\Model\StoreManager->getWebsite() called at [vendor/subscribepro/subscribepro-magento2-ext/Platform/Platform.php:83]
[#2](https://subscribepro.zendesk.com/agent/tickets/2) Swarming\SubscribePro\Platform\Platform->getWebsiteCode() called at [vendor/subscribepro/subscribepro-magento2-ext/Platform/Platform.php:69]
[#3](https://subscribepro.zendesk.com/agent/tickets/3) Swarming\SubscribePro\Platform\Platform->getSdk() called at [vendor/subscribepro/subscribepro-magento2-ext/Platform/AbstractGeneral.php:35]
[#4](https://subscribepro.zendesk.com/agent/tickets/4) Swarming\SubscribePro\Platform\AbstractGeneral->getSdk() called at [vendor/subscribepro/subscribepro-magento2-ext/Platform/Tool/AbstractTool.php:13]
[#5](https://subscribepro.zendesk.com/agent/tickets/5) Swarming\SubscribePro\Platform\Tool\AbstractTool->getTool() called at [vendor/subscribepro/subscribepro-magento2-ext/Platform/Tool/Oauth.php:38]
[#6](https://subscribepro.zendesk.com/agent/tickets/6) Swarming\SubscribePro\Platform\Tool\Oauth->getSessionAccessToken() called at [vendor/subscribepro/subscribepro-magento2-ext/Gateway/Config/ConfigProvider.php:102]
[#7](https://subscribepro.zendesk.com/agent/tickets/7) Swarming\SubscribePro\Gateway\Config\ConfigProvider->getConfig() called at [vendor/subscribepro/subscribepro-magento2-ext/Block/Adminhtml/System/Config/Config.php:75]
[#8](https://subscribepro.zendesk.com/agent/tickets/8) Swarming\SubscribePro\Block\Adminhtml\System\Config\Config->getPaymentConfigs() called at [generated/code/Swarming/SubscribePro/Block/Adminhtml/System/Config/Config/Interceptor.php:23]
[#9](https://subscribepro.zendesk.com/agent/tickets/9) Swarming\SubscribePro\Block\Adminhtml\System\Config\Config\Interceptor->getPaymentConfigs() called at [vendor/subscribepro/subscribepro-magento2-ext/view/adminhtml/templates/payment/script.phtml:10]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant