Recaptcha JS loading on every page
-
Hi – I have a conflict with TML and the Contact Form 7 plugin. The problem is that TML appears to load the Recaptcha Javascript (https://www.google.com/recaptcha/api.js) on every page (not just the registration page where it’s intended for). In a browser web console this results in the Javascript error:
Error: ReCAPTCHA placeholder element must be empty
A side effect of this is that send confirmation messages are broken with CF7 which is causing problems for users. Page load times are often very slow on the contact form page too, though I don’t know if this is the result of the two calls to recaptca/api.js.
I can’t figure how to work around this, and can’t think if something other than TML is causing it. I’ve tried disabling all plugins except TML, but it still seems to load on every page. Site is running PHP7, PHP-FPM & Opcache if it’s relevant.
- The topic ‘Recaptcha JS loading on every page’ is closed to new replies.