I have created multiple stores with multiple domains but when I select a store from frontend than giving below error.
I have attached the screenshot of the error.
Store Cookies does not set on multiple domains
I have debugged and checked the code and print($fromStoreCode) but give blank. Magento\Store\Controller\Store\SwitchAction.php
$fromStoreCode = $this->_request->getParam(
'___from_store',
$this->storeCookieManager->getStoreCodeFromCookie()
);
echo "<pre>";
print_r($fromStoreCode);
The store that was requested wasn't found. Verify the store and try again.
Thanks in advance.