pe7er / hCaptcha

A simple CAPTCHA Plugin using the hCaptcha service to protect your Joomla site against SPAM
13 stars 7 forks source link

hCaptcha breaks website when enabled #37

Closed badewanne1234 closed 2 years ago

badewanne1234 commented 2 years ago

I installed the latest 1.41 today (for J4) on my J4 webite. Configured, and tried to use it in the JD Simple Contact Form. As soon as hCaptcha is being enabled, the following error message is being displayed: 0 - Class 'JEventDispatcher' not found - all content is being removed and just logo and this Error message is being displayed.

Not sure whether it has to do with JEvents, I have disabled the core component, but the issue persists.

Can you have a look at this? Thanks a bunch

pe7er commented 2 years ago

Thank you for reporting an issue.

JEventDispatcher has nothing to do with the JEvents extension. It's a classname in Joomla's PHP code that has been deprecated since Joomla 4. hCaptcha does not use it.

Is your JD Simple Contact Form extension compatible with Joomla 4 ? Does it work with the default Captcha solutions of Joomla 4 (like Google's reCaptcha + Invisible reCaptcha) ?

badewanne1234 commented 2 years ago

You are right - there is an updated JD Simple Contact Form release, which is unfortunately not visible in the Joomla Update Centre - I updated manually (see here) and it worked instantly.

Thank you for the hint, its not a bug of this addon

pe7er commented 2 years ago

You're welcome! Thanks for reporting back.