invisible-recaptcha - Google reCaptcha v2 recaptcha__en.js 错误
问题描述
我们正在管理许多 magento 1.9 / openmage 站点,并且我们正在使用 amasty google recaptcha。我们刚刚注意到,在许多站点中,不可见的 recaptcha v2 或 v3 不再起作用。此类问题似乎是由于https://www.gstatic.com/recaptcha/releases/eKRIyK-9MtX6JxeZcNZIkfUq/recaptcha__en.js脚本中的 js 错误,该脚本由 google 直接加载。
堆栈如下:
未捕获的 TypeError: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
wK 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
有没有其他人遇到过这样的错误?
解决方案
推荐阅读
- nuxt.js - 在 Nuxt.js 中有条件地运行 postcss 插件
- swift - 自定义 UIView 中的 UIButton 初始化不可点击
- graphql - 具有静态数据集合的 GraphQl / FaunaDB 模式
- android - 如何在 RemoteMediator 的分页 3 中附加页码以进行房间数据库缓存?
- c# - .First() 调用将如何影响性能?
- javascript - firebase 导入中的“initializeApp”在哪里?
- tkinter - 我们如何将相同的列配置设置应用于 python tkinter 中的多个帧?
- node.js - 如何为多用户应用程序构建 node.js / react.js 后端
- python - 从列表列表中减去特定的索引值
- java - 使用 JPA 实现“反向”孤儿删除