Hi,
I am facing an issue: Invalid form key. Please refresh the page. is showing on every page in frontend: it is only occuring on safari browser. Every other browser works fine with no problem at all.
Magento version is Magento ver. 2.4.2.
Does anyone know a solution or what is causing this problem?
Thanks in advance.
If the issue only arrives in the safari browser then check after clearing all the cache of the browser.
Do not forget to clear the Magento cache.
Please ask hosting provider to increase php_value max_input_vars 75000.
1. Remove app/code/local/Mage/Core/Model/Session.php is exist.
2. Try to clear the cache from var/cache directory.
3. Then clear browser cache. Especially clear or delete cookies.
Hope this helps you!
We have done that, but this didn't help fixing the problem. It is occuring on every Apple device, only in Safari browser. We have turned off every external plugin seperately with no result so plugins are not causing it either. Any clue what could cause it?
Did you find any solution for this ? we are facing same issue where this error only displays on safari browser only, other browsers work fine. we already tried increasing the max_input_vars to 10000 but it didn't fix.