cancel
Showing results for 
Search instead for 
Did you mean: 

[URGENT] Magento2 error The website with code default that was requested wasn't found.

[URGENT] Magento2 error The website with code default that was requested wasn't found.

Hi,

 

My website meets a problem. It shows error: 

"0":"The website with code default that was requested wasn't found. Verify the website and try again.","1":"

 

I've check store,store_group, store_websites on my db table, and all is correct.

We have no idea how to fix, anyone can help this?

 

system: magento 2.2.8

2 REPLIES 2

Re: [URGENT] Magento2 error The website with code default that was requested wasn't found.

Hi @eric_li,

Do you change or add new website or store after Magento Installation?

If not, then check once store_group table with name default.

Or you can try below solution. But take DB backup without executing any query on the database.
https://magento.stackexchange.com/a/156195

I hope it will help you!!

Re: [URGENT] Magento2 error The website with code default that was requested wasn't found.

Hi @Vimal Kumar 

 

We don't change or add new website or store. It just happened!

As I said, I've check store,store_group and store_websites table, and all is correct.11.JPG

 

the link you post is not working to us.....This is very odd situation.

Is there other way to fix it?

Thank you.