We use cookies to make your experience better. To comply with the new e-Privacy directive, we need to ask for your consent to set the cookies. Learn more.
The website with id 1 that was requested wasn't found. Verify the website and try again.
June 24, 2022
If you have the error as in the title of this page this solution can help you.
In our case, this error happened when we synchronize live DB in dev DB.
The solution
Before anything action, you must make backup your DB
Run the SQL two queries below
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;
After run these queries the error should go away