We're using some front-end forms for website were users can register for an event.
Forms are mostly working fine, but at some point - usually after some, seemingly arbitrary time - all forms get the same 'nonce validation failed' error.
I tried disabling all hooks we use for the forms, but this doesn't help. The error occurs on localhost, development on the live website.
Clearing cache, using a different browser, etc.. doesn't seem to help.
Usually the error resolves after some time passes, not sure why.
Once the error occurs it seems to be happening to all (or most) of the users at the same time.
As a quick - temporary - fix. Can we disable nonce entirely?
Thanks in advance.
EDIT: the forms are only available to registered users. I can provide credentials if need be.
I think we would likely need access to the site to be able to look into the problem, yes.
Over the years the various reports of something similar tend have depended on something particular about the set up, and it doesn't appear to be a problem more generally (we have no other reports at the moment).
Let me mark your next reply as private so that we can get log-in credentials from you—preferably for a development server—and you may want to create a temporary admin user for us to use that you can later delete. And be sure to have a current backup of your site.
Can you also confirm the workflow which leads to the problem.
I logged in to see where I can see the problem but with the the portal dashboard you shared I wonder where to look at the problem.
May I kindly ask to to share exact steps we have to follow that should lead us to see the problem that should help us to investigate this issue further.
You can share problem URL and steps we have to follow to see the issue.
I have set the next reply to private which means only you and I have access to it.
Once logged in you can find the form here: hidden link
Or hidden link for EN.
As I said it's hard to share further steps. A lot of the time the form just works fine. It's after some time, filling in the form a couple of times (you'll need to delete the entry after filling in the for, because you can only submit once) that the error pops up.
This is the case for all the forms you'll find in the portal after completing the first form.
Thanks for the suggestion. I've also found the thread you refer to while troubleshooting the issue myself but sadly that didn't do anything when the error occured. Users reported the same.
When the nonce validation errors pops up, it also doesn't matter if I switch to another browser or device. The error will still show.
I just checked by registering a new user and I do not able to reproduce the issue you mentioned.
I will require exact step information that should help us to reproduce the issue in order to investigate the issue further. Without step information to reproduce the issue we are helpless as we do not see the issue yet with the test site you shared.
Sadly, there is no surefire way to trigger the issue every time. As I said it usually takes filling out multiple forms.
I can report when the issue occurs again, but the issue also resolves itself after a certain amount of time, so by the time you guys can look at it, the error would probably be gone again. Furthermore, this would probably be on the live website.