You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error.log
Hi, Thank you for your module!
It help fixed the issue but I see an error when config "Same Site" is "None" and switch between stores. "The store cannot be switched."
I'm using your module version 3.0.0 on magento 2.4.1.
Log file attached.
Thank you!
The text was updated successfully, but these errors were encountered:
Hey, i had this issue you can either find a way to override this class of directly edit it in vendor.
vendor/magento/module-store/Model/StoreSwitcher/ManagePrivateContent.php
Line 56
you need to setSecure(true) when using SameSite none
I DO NOT recommend edit it in vendor.
I am using Magento 2.4.1 and i was getting this error
[2021-03-29 19:12:28] main.CRITICAL: The store cannot be switched. {"report_id":"8cdac15d94123a3db6111cc3ddb29100d7fb1448eeefea0372b456045a1ab3ab","exception":"[object] (Magento\Store\Model\StoreSwitcher\CannotSwitchStoreException(code: 0): The store cannot be switched. at /home/fistikato/public_html/vendor/magento/module-store/Model/StoreSwitcher/ManagePrivateContent.php:64, InvalidArgumentException(code: 0): Cookie must be secure in order to use the SameSite None directive. at /home/fistikato/public_html/vendor/magento/framework/Stdlib/Cookie/CookieMetadata.php:165)"} []
error.log

Hi, Thank you for your module!
It help fixed the issue but I see an error when config "Same Site" is "None" and switch between stores.
"The store cannot be switched."
I'm using your module version 3.0.0 on magento 2.4.1.
Log file attached.
Thank you!
The text was updated successfully, but these errors were encountered: