Google reCaptcha v2 recaptcha__en.js 错误

问题描述

我们正在管理许多 magento 1.9 / openmage 站点,并且我们正在使用 amasty google recaptcha。 我们刚刚注意到,在许多站点中,invisible recaptcha v2 或 v3 不再起作用。 此类问题似乎是由 google 直接加载的 https://www.gstatic.com/recaptcha/releases/eKRIyK-9MtX6JxeZcNZIkfUq/recaptcha__en.js 脚本中的 js 错误引起的。

堆栈如下:

未捕获的类型错误:this.each 不是函数

findAll http://xxx.local/js/prototype/prototype.js:883

t https://www.gstatic.com/recaptcha/releases/eKRIyK-9MtX6JxeZcNZIkfUq/recaptcha__en.js:100

https://www.gstatic.com/recaptcha/releases/eKRIyK-9MtX6JxeZcNZIkfUq/recaptcha__en.js:677

d https://www.gstatic.com/recaptcha/releases/eKRIyK-9MtX6JxeZcNZIkfUq/recaptcha__en.js:395

y https://www.gstatic.com/recaptcha/releases/eKRIyK-9MtX6JxeZcNZIkfUq/recaptcha__en.js:168

y https://www.gstatic.com/recaptcha/releases/eKRIyK-9MtX6JxeZcNZIkfUq/recaptcha__en.js:131

https://www.gstatic.com/recaptcha/releases/eKRIyK-9MtX6JxeZcNZIkfUq/recaptcha__en.js:609

f https://www.gstatic.com/recaptcha/releases/eKRIyK-9MtX6JxeZcNZIkfUq/recaptcha__en.js:319

绑定http://xxx.local/js/prototype/prototype.js:391

submitProtectedForm http://xxx.local/customer/account/login/:1116

checkForms http://xxx.local/customer/account/login/:1105

http://xxx.local/customer/account/login/:1145

setInterval 处理程序* http://xxx.local/customer/account/login/:1141

回复http://xxx.local/js/prototype/prototype.js:5575

开火http://xxx.local/js/prototype/prototype.js:5734

_methodized http://xxx.local/js/prototype/prototype.js:438

fireContentLoadedEvent http://xxx.local/js/prototype/prototype.js:5820

EventListener.handleEvent* http://xxx.local/js/prototype/prototype.js:5840

http://xxx.local/js/prototype/prototype.js:5848

有没有其他人遇到过这样的错误

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)