Nonce validation failed
Our plugin uses a security feature from 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:
- Exclude the page your calendar is on from being cached.
- Decrease your cache time to 24 hours.
- 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.
Instructions on how to exclude pages in common caching plugins: