Quantcast
Channel: WordPress.org Forums » [Simple Cloudflare Turnstile - CAPTCHA Alternative] Support
Viewing all articles
Browse latest Browse all 219

Simple Cloudflare Turnstile stopped working with Elementor Pro forms

$
0
0

Replies: 0

I’ve been using the plugin for several years without issue, but the latest updates to Elementor are preventing the CF challenge from being displayed on my Elementor Forms. Still works fine on WooCommerce pages. Tried activating/deactivating, clearing caches, etc.

I’ve had to disable it on the Elementor Forms for now.

WordPress v 6.7.2 (PHP 8.2.27 @64BitOS)
Elementor v 3.27.6
Elementor Pro v 3.27.4

When the plugin is enabled I get the following error in inspector console:

contact/:489 Uncaught ReferenceError: turnstile is not defined
at contact/:489:185

The referenced script is

document.addEventListener("DOMContentLoaded", function() {
setTimeout(function() {
var e = document.getElementById("cf-turnstile-elementor-538634485");
e && !e.innerHTML.trim() && (turnstile.remove("#cf-turnstile-elementor-538634485"),
turnstile.render("#cf-turnstile-elementor-538634485", {
sitekey: "0x4AAAAAAAEZvvZ5edM3Dqj7"
}));
}, 0);
});

Thanks,
Ken

  • This topic was modified 1 day ago by remotetohome. Reason: added code

Viewing all articles
Browse latest Browse all 219

Trending Articles