Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 16h 15m 04s
Claim 50% off
Staff replied Templates

INVINCIBLE RECAPTCHA STOPPED WORKING ON J5

Asked by Rhema 2 years ago Last activity 2 years ago

Hi, i updated my joomla site from j4 to j5 and noticed the invisible recapcha stopped working!
any solutions?

  • Rhema

5 replies

Paul Frankowski Senior Staff

Hi Rhema.

in the media/plg_captcha_recaptcha_invisible/js/recaptcha.min.js there is an issue (it's not our issue btw).
Replace the file code with the code below (Copy & Paste):

/**
 * @package     Joomla.JavaScript
 * @copyright   (C) 2024 Open Source Matters, Inc.  
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */((a,s)=>{a.JoomlainitReCaptchaInvisible=()=>{const c=["sitekey","badge","size","tabindex","callback","expired-callback","error-callback"];Array.from(s.getElementsByClassName("g-recaptcha")).forEach(t=>{let e={};t.dataset?e=t.dataset:c.forEach(i=>{const r=`data-${c[i]}`;t.hasAttribute(r)&&(e[c[i]]=t.getAttribute(r))}),t.setAttribute("data-recaptcha-widget-id",a.grecaptcha.render(t,e)),a.grecaptcha.execute(t.getAttribute("data-recaptcha-widget-id"))})}})(window,document);

Then clear Joomla and Browser cache, and Let me know if the problem still persists.

Rhema Asked this

i did asyou said, i keep getting errors when i test the contact form from the front end of the site

Paul Frankowski Senior Staff
2 years ago · edited

Here is example from today, also forum User Site.
info_2773_2024.gif




You have to also install correct Recpatcha plugin ... link below

Rhema Asked this

Hi Paul, i did all that , i even re-installed the invisible recaptcha plugin from the new link you shared , i copied all codes you gave and pasted at the file directory in my server (media/plg_captcha_recaptcha_invisible/js/recaptcha.min.js) that is i replaced all the codes inside recaptcha.min.js with your codes and saved , i cleared cache still issue persist

please help, i will my admin
login credentials in private.

Paul Frankowski Senior Staff

Hmm. I don't know to be honest, I have to ask @Toufiq.

Log in to reply.