Closed drakanor closed 6 years ago
Me too i have the same problem,it say the same thing i spend three hours trying to troubleshoot this but no answer.
TypeError: recaptcha.render is not a function at angular-recaptcha.js:199 at E (angular.min.js:100) at angular.min.js:101 at k.$eval (angular.min.js:112) at k.$digest (angular.min.js:109) at k.$HeHely (angular.min.js:112) at angular.min.js:81
We were able to solve the issue by removing
<script src="https://www.google.com/recaptcha/api.js?onload=vcRecaptchaApiLoaded&render=explicit" async defer> </script>
from the page head. Looks like the plugin does this by itself. It's unclear to us, why this was working for months anyway.
Looks like a duplicate of #224 which was fixed by #225 and released in 4.1.4
.
Have you tried that version? Please reopen if still doesn't work for you.
Is anyone aware of what caused this issue to begin occurring yesterday? I don't see any information on this outside of this project. Thank you.
My bet would be a change in Google's code. Just a minor change like an early definition of the module, (like grecaptcha = {}
) on their side would trigger this bug.
4.1.4 does not fix this. Already included Githubissues.
Since yesterday I'm getting the following error when loading the angular-recaptcha. It ran flawlessly for months. Did Google change something in their Recpatcha response? I have just updated it to the latest version, but no change:
TypeError: b.render is not a function at c.js:496 at c.js:142 at m.$digest (c.js:153) at m.$apply (c.js:156) at c.js:118 "Possibly unhandled rejection: {}"