reCaptcha v2“我不是机器人"突然坏了,没有得到"g-验证码-响应" [英] reCaptcha v2 "I'm not a Robot" suddenly broken, not getting 'g-recaptcha-response'

查看:140
本文介绍了reCaptcha v2“我不是机器人"突然坏了,没有得到"g-验证码-响应"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Recaptcha v2已经在我的网站上运行了几年.突然在11月6日(星期五),我不再收到"g-recaptcha-response"并开始看到以下错误:

Recaptcha v2 has been running on my site for several years. Suddenly on Friday, November 6th I no longer received 'g-recaptcha-response' and began to see the following error:

recaptcha__en.js:24 Uncaught (in promise) SyntaxError: Unexpected token m in JSON at position 0
at JSON.parse (<anonymous>)
at recaptcha__en.js:24
at recaptcha__en.js:45
at Array.<anonymous> (recaptcha__en.js:307)
at Array.<anonymous> (recaptcha__en.js:44)
at js.$ (recaptcha__en.js:23)
at Array.<anonymous> (recaptcha__en.js:195)
at zO.g.next (recaptcha__en.js:370)
at P (recaptcha__en.js:41)

任何解决此问题的帮助将不胜感激

Any help to resolve this issue would be much appreciated

推荐答案

注意:此问题单独出现,中断时未进行任何代码更改.

Note: This issue appeared on its own and no code changes made when this broke.

我最终解决了这个问题.问题是脚本标记冲突.我从登录页面上删除了脚本标记,它解决了问题.

I ended up resolving the issue. The issue was a conflicting script tag. I removed the script tag from the login page and it resolved the issues.

对于我来说,这是prototype.js的问题.

For my case it was prototype.js that was the issue.

祝你好运!

这篇关于reCaptcha v2“我不是机器人"突然坏了,没有得到"g-验证码-响应"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆