reCAPTCHA causes console error
-
Hi,
I have just implemented reCAPTCHA, following the instructions from here
I have created the key and inserted the CAPTCHA tag on a form that appears in a modal window (“contact telephonique” here)
Now I get the console error:
Uncaught Error: ReCAPTCHA placeholder element must be empty at Fn (https://www.gstatic.com/recaptcha/api2/r201612151xxxx/recaptcha__fr.js:294:413) at https://www.gstatic.com/recaptcha/api2/r2016121516xxxx/recaptcha__fr.js:298:446 at He (https://www.gstatic.com/recaptcha/api2/r2016121516xxxx/recaptcha__fr.js:57:654) at https://www.gstatic.com/recaptcha/api2/r20161215161951/recaptcha__fr.js:298:406 at https://www.gstatic.com/recaptcha/api2/r2016121516xxxx/recaptcha__fr.js:381:1494
It seems this error comes usually when the script is called twice, and actually it is the case:
<script type='text/javascript' src='https://www.google.com/recaptcha/api.js'></script> <script type='text/javascript' src='https://www.google.com/recaptcha/api.js?onload=recaptchaCallback&render=explicit'></script>
Why is that and what may I do..?
Thanks for the help
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘reCAPTCHA causes console error’ is closed to new replies.