Documentation

Nonce validation failed

Our plugin uses a security feature built in WordPress called a Nonce.

A nonce is a random code generated by WordPress every 48 hours, which is sent along with the booking details. The server then tries to validate this code, and it if fails you get the Nonce validation failed. Please refresh the page and try again. error message.

If you are using a caching plugin, it’s possible that this code is cached and an expired code is sent to the server.

To fix this, you have 3 options:

  1. Exclude the page your calendar is on from being cached.
  2. Decrease your cache time to 24 hours.
  3. Turn off Nonce validation by adding this code to your theme’s functions.php file: add_filter('wpbs_form_ajax_nonce', function(){ return false; });

If by any chance you got here as a customer trying to make a booking, please contact the website administrator.

 

Was this article helpful?

Yes (1) No

We're sorry to see this article wasn't as helpful as we hoped it would be. Please let us know what you were looking for so that we can improve this documentation page.

Ready to take full advantage of the premium version?

WP Booking System helps you manage your calendars and bookings with just a few clicks, so you can spend more time on promoting your business and less time on managing it.

Get Started

Other Articles

Need help?

Send us a message

Ready to take full advantage of the premium version?

WP Booking System helps you manage your calendars and bookings with just a few clicks, so you can spend more time on promoting your business and less time on managing it.

Get Started