"Form validation code expired. Please refresh page in order to continue."
- the error might appear on one PC/smartphone while at the same time there is no error on another PC/smartphone
- the error message appears after selecting the appontment location (I only have one worker and one service set up so these fields do not show up on my site)
- I use caching on my site (WP Super Cache), when clearing the cache, errors seem to disappear for a few hours (I'll try to disable caching to see if this is the reason for the error)
Any other ideas? Thanks Falko
Thanks, it was actually the cache. Seems to be working now. Thanks
Hi Nikola,
got the same error – using WP Fastest Cache plugin in WordPress and Cloudflare’s caching. Do you have any suggestions what to exclude from cache so this error will not appear again?
Thanks in advance
Hi you need to exclude page where you have customers form. Because nonce is part of html page.
Best regards,
Nikola
Hi Nikola,
thanks for the fast reply.
Currently the form is on all of our pages so turning off cache would mean disabling the cache altogether – is there another way of avoiding the validation code expired error?
Thanks in advance
I am having the same issue on Safari and Firefox. Chrome works. Cleared all caches. Excluded the page with the calendar on WP Fastest Cache. I’m using MAXCDN. Not sure if that matters.
Hi, I will add option to turn it off if you want.
Best regards,
Nikola
Here’s a link: http://pdximmigration.com/consultation/
Is there a way to fix it without turning it off? Seems like there must be since Chrome is working.
You are probably logged in on Chrome to your WP site.
Best regards,
Nikola
I would be interested in the option to turn it off, if no other solution was available.
Nikola, thank you for the quick responses. Yes, I was logged in on Chrome. And, yes, when I logged out I got the same error message on Chrome. Here’s what I have tried:
– purging the cache on MAXCDN;
– deleting the cache on WP Fastest Cache;
– clearing all the browser caches.
Are you getting the same error message at the link I provided?
Okay, seems to work now! I had to “Purge All” on the WordPress dashboard. Not sure if I needed to do all that other clearing and purging or if this would have solved the problem but things seem to be running smoothly now.
@cole_enabnit
seem that it works only temporary, after a day or two the error re-appears
@dklamie. Bummer. Well, I hope the issue is fixed by then.
Hi Nikola,
disabled nonce and turned the caching back on. Will let you know if the error reappears.
Thanks for the prompt changes!
Hi Nikola,
unfortunately, with the latest update, the error started to reappear. Nonce is disabled in the options.
Any ideas what happened?
Thanks in advance.
Hi I will have to check that. On my local WP site it’s working fine. 🙁
Best regards,
Nikola
This is happening in combination with wpfastestcache plugin.
Can you please turn off cache for that page.
Best regards,
Nikola
Please login or Register to submit your answer
Updated – The form is working in Chrome but I am still getting the error in safari