2

I get this message "Requested store is not found" when I want to fix it.

The requested Store Is Not Found situation come up while migrating Magento 2 store to the latest version of Magento.

asked Oct 29, 2021 at 9:09
1
  • 1
    Also facing the issue with some on my magento websites. I suspect from my side a cache issue, because after refreshing the page once the error is gone, and it's happening almost everytime after we deploy a new version. I suspect a flat table not being written fast enough. Sorry, not very helpfull. Commented Nov 8, 2021 at 9:23

1 Answer 1

0

You need to run the following query in your database, and then try to open the website.

SET FOREIGN_KEY_CHECKS=0;
UPDATE `store` SET store_id = 0 WHERE code='admin';
UPDATE `store_group` SET group_id = 0 WHERE name='Default';
UPDATE `store_website` SET website_id = 0 WHERE code='admin';
UPDATE `customer_group` SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';
SET FOREIGN_KEY_CHECKS=1;
answered Dec 31, 2021 at 9:49

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.