Hi
I have migrated a store which has gone well, however product images are not showing in the new store view (I have copied catalog directory over). I receive the error:
Magento\Framework\Exception\NoSuchEntityException: The store that was requested wasn’t found. Verify the store and try again. in /var/www/vhosts/.co.uk/htdocs/vendor/magento/module-store/Model/StoreRepository.php
This is a multi store setup and everything else seems to be working correctly.
Have you seen this before?
thanks
3 answers
Hi there,
however product images are not showing in the new store view (I have copied catalog directory over).
Please try to run the following CLI commands:
php -f bin/magento catalog:images:resize
php -f bin/magento cache:clean
I receive the error:
Magento\Framework\Exception\NoSuchEntityException: The store that was requested wasn’t found. Verify the store and try again
It indicated that your site loads a none-existing Store view. It may relate to at least one data record in the table ‘core_config_data’ in M2 database which depends on the none-existing store view.
Please verify the data records in this table again to make sure that all scopes (website, store, store view) of data records in that table exist in your M2 database.
Regards,
Mall.
php -f bin/magento catalog:images:resize
php -f bin/magento cache:clean
Thank you.
This worked.
Thanks
Hi there,
Glad that it helps.
In case you have any additional questions, please submit a new ticket. We will follow up further with you then.
Regards,
Ubertheme team