Hello,
I keep getting “We cannot verify that you are trying to send an email from this form. Please try again.” in my contact form.
url: https://www.landjoe.com/contact-form/
Hosting: Bluehost.
Code when this happens is // Check key variable from form against session key.
if ( ! isset($_POST[‘form_token’]) || $_POST[‘form_token’] !== $_SESSION[‘security_token’]) {
// Set a fixed error message if the keys don’t match.
redirect($return_url, ‘We cannot verify that you are trying to send an email from this form. Please try again.’);
}
Please advise