Reputation: 47
I am recently facing problem with reCAPTCHA Enterprise. On every form where it is implemented i get this error:
Uncaught TypeError: qF is not a function
at recaptcha__en.js:601:176
at Array.<anonymous> (recaptcha__en.js:68:221)
at recaptcha__en.js:599:379
at recaptcha__en.js:1034:261
There were no code or database changes, it is Magento environment with Hyva theme.
Tried going back with codebase and backuped database and error still exist.
Upvotes: 3
Views: 1729
Reputation: 21
I had this problem recently in my magento 2.4.7 application capture 1 capture error
I follow the advice from "RichardB", removing or adding "var" in the declarations that contain "self = this" in my custom modules was enough to solve the problem. capture 2
Upvotes: 2
Reputation: 2767
I just had the same issue and for me the answer was the same as this question.
Basically, my knockout code had self = this;
in the initialisation. Making this var self = this;
fixes it.
I suspect Google must have released an update which means using self as a global variable is causing conflicts.
I'd perhaps search any non-core form extensions for the term self = this;
to see if that is also the case for you.
Upvotes: 4