怎样解决 The website with id 1 that was requested wasn't found.

作者:admi... 点击数: 0 收藏到会员中心
最后编辑时间: 2023-03-10 11:51

03202310_01.jpg

有时候,MAGENTO在修改之后会报错

The website with id 1 that was requested wasn't found. Verify the website and try again.

或是

The store that was requested wasn't found. Verify the store and try again.

需要在备份数据库后执行

DELETE core_config_data FROM core_config_data

LEFT JOIN store_website ON core_config_data.scope_id = store_website.website_id

WHERE core_config_data.scope='websites' AND store_website.website_id IS NULL;

DELETE core_config_data FROM core_config_data

LEFT JOIN store ON core_config_data.scope_id = store.store_id

WHERE core_config_data.scope='stores' AND store.store_id IS NULL;


请登录已经激活账号继续浏此文章所有内容!
会员中心

已经有帐号啦 !赶紧同小伙伴们愉快地玩耍吧

立即登录

还没有账号? 马上注册一个新帐户

注册账号
内容说明:
如您需要转载本文请保留以下信息是对作者发文的支持与尊重:

怎样解决 The website with id 1 that was requested wasn't found. 来源于 https://www.magentola.com/news-read-332.html
上一篇:Magento2 标准robots.txt文件规范写法
下一篇:解决部分MAGENTO2数据库导出导入时出错
相关内容
产品推荐