- Magento 2.2
- With 2 store views ( default and en )
Steps to reproduce:
- Load home page: url = myeshop.com/
- Switch store view: url = myeshop.com/?___store=en
- Switch again store view: url = myeshop.com/?___store=en?___store=default
- There has been an error processing your request
When I set "Add Store Code to URL" to 'Yes' in Stores > Configuration > General > Web it works properly. But it is not accepted.
Previously, at 2.1.9 the url remained the same after any store view switch.