My client told me he can’t send with his form on his website (built with a Pro Form). He gets the message: “The cookie check failed” (“Die Cookie-Prüfung ist fehlgeschlagen”) whether in Chrome or Safari. No problems from his iPhone (and no problems on my end).
I found nothing in the documentation about this issue. I have also never experienced it. Do you have any explanation or is there any official (browser?) documentation about this and how to fix it?
I removed the form for now and used FluentForms Pro because my clients was losing reservations which aint cool. Not saying that BF is the issue though but even when I deactivated some plugins the issue remained. It’s also very hard to find why this happens because just a few days ago all was fine. 11 November the last reservation arrived properly.
I see that caching could cause exactly such issues. Each site refresh generates an unique nonce for security reasons. If its cached, the nonce will be invalid. So I would check the caching configuration here
In my opinion, those nonce should be validated differenty, and never hardcoded directly into the html response at every refresh, because you loose the ability to cache the document and avoid php execution if you know your content is not changing
No, and I would definitely not recommend it to prevent Cross Site Scripting. The way to go here would be to adjust the caching lifespan. Nonce tokens are valid for 12 hours. Setting the cache lifespan to 10 hours or less should make sure to always have a valid nonce.
Check a post of WP Rocket for further informations: