Forums

Error: ReCAPTCHA placeholder element must be empty

flodariege 21 Nov, 2015
Hello,

I am currently checking for errors on my site in the javascript console (in order to activate JCH Optimize), and I find one that is reccurrent : on each page where I have a Chronoform form, since I use Google nocaptcha, Firebug console is detecting this error:

Error: ReCAPTCHA placeholder element must be empty

First thing I did was to googlize this error, and it took me to a github : https://github.com/dozoisch/react-google-recaptcha/issues/16 where the extension's editor seems to have find a solution to this error starting to happen 2 weeks ago

I really dont know if this error comes from Chronoform or from Google, so could you please have a look and tell me what to do?

Thank you.

Best regards,
Flo
GreyHead 21 Nov, 2015
Hi Flo,

I'm not seeing an error on my test site with ReCaptcha or NoCapthca - please post a link to your form so I can take a quick look.

Bob
flodariege 21 Nov, 2015
Hi Bob,

http://www.rouchenergies.fr/devis-gratuit.html

Flo
GreyHead 21 Nov, 2015
Hi Flo,

I don't see what is causing it - if you view the form without the template there is no error so something else on the page must make the difference - but i have no idea what that might be.

Hmmm . . . looking a bit further I wonder if the recaptcha javascript file may be being loaded twice???

Bob
flodariege 22 Nov, 2015
Thank you Bob.
Indeed, I guess it should not...
I'm going to try to find what is causing it being called twice.
Thanks again for your eagle eye😉

Flo
This topic is locked and no more replies can be posted.