I'm loading reCAPTCHA via JavaScript http://www.google.com/recaptcha/api/js/recaptcha_ajax.js and am using jquery-1.5.2.min.js to communicate with a local PHP script which then validates the input via Google's recaptchalib.php and returns data to the JavaScript in JSON format. It all works, but Google Chrome's Console reports an error:
Uncaught TypeError: Cannot set property 'innerHTML' of null recaptcha_ajax.js:15
Recaptcha._init_builtin_theme recaptcha_ajax.js:15
Recaptcha._finish_widget recaptcha_ajax.js:19
Recaptcha.challenge_callback recaptcha_ajax.js:13
(anonymous function) challenge:12
I would like to resolve that error but I don't know how to go about it.
Help for reCAPTCHA usersMake sure your browser is fully updated (see minimum browser requirements) Check that JavaScript is enabled in your browser. Try disabling plugins that might conflict with reCAPTCHA.
reCAPTCHA analyzes interactions with the website to detect if they are made by a human or some form of automated abuse. Sometimes, you may see a "failed reCAPTCHA check" error message while trying to create or amend your account. This means the website believes your actions may be those of a bot.
One of the most common reasons why this error occurs is that of an outdated Chrome version. reCAPTCHA will actively look at the browser version before allowing you access. This is applicable to all browser versions, not just Chrome. In this case, the solution is to update Google Chrome to the latest version.
Perhaps you're passing it a nonexistent element to instantiate itself in. Are you sure you didn't misspell an id
or something like that?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With