网站首页 / 资讯 / Magento教程/ Magento2.x教程

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

作者:admin

有时候,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.
上一篇:Magento2 标准robots.txt文件规范写法
下一篇:解决部分MAGENTO2数据库导出导入时出错

相关内容

最近更新
相关产品
综合服务邮箱: magento2#foxmail.com