I have configured (apparently incorrectly) recaptcha v2 on my Gantry 5 contact form (a particle). I see this error message when I submit the form:
recaptcha__en.js:372 Uncaught TypeError: Cannot read property 'pN' of undefined
at recaptcha__en.js:372
at mootools-core-compat.min.js?ver=5.6.2:2
at Array.<anonymous> (recaptcha__en.js:116)
at F1.zU.render (recaptcha__en.js:659)
at Array.<anonymous> (recaptcha__en.js:10)
at Array.<anonymous> (recaptcha__en.js:9)
at rr.<anonymous> (recaptcha__en.js:40)
at new rr (recaptcha__en.js:536)
at Array.<anonymous> (recaptcha__en.js:126)
at recaptcha__en.js:193
Re: SOLVED recaptcha JS broken on Gantry contact form
Posted 4 years 1 month ago
Google updated recaptcha recently with a version of Mootools that is not backwards compatible. Un fortunately RT extensions require the older version of Mootools. We've attempted to resolve this but we cannot find a solution to the issue. Therefore, regretably, you cannot use recaptcha with the majority of RT extensions enabled - so it's either use the extensions and not recaptcha or vice-versa. I would suggest finding an alternative to recaptcha.
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Re: SOLVED recaptcha JS broken on Gantry contact form
Posted 4 years 1 month ago
Look in plugins in wordpress anything that begins "rok" is an RT plugin.
Sorry I've no idea about that third-party code.
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Re: SOLVED recaptcha JS broken on Gantry contact form
Posted 4 years 1 month ago
Oh, good to know, thanks for the update.
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.