Skip to content

Getting store error message after changing the base url in M2

I did a database dump from production using this command

magerun2  db:dump --strip="@development" var/dec18.sql

Did an import on my DEV environment. Changed the web/unsecure/base_url and web/secure/base_url . I only have one website and 2 stores. NO fancy things here.

I ran the setup:upgrade , setup:di:compile and rm -rf pub/static/frontend/ && rm -rf var/view_preprocessed/ && bin/magento setup:static-content:deploy -f , flush the cache etc. But i still get this error on all pages:

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

I don’t have any configuration on the config.php , i checked my env.php file. Looks good. The bin/magento works as expected!
Any thoughts what else should I check ?
Thank you