Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 09h 58m 58s
Claim 50% off
Staff replied SP Page Builder

Issue with "Contact Form" addon – CAPTCHA fails for guest users

Asked by David Martin Heras 1 year ago Last activity 1 year ago

Hello
I’m currently using SP Page Builder on Joomla 5 and I’ve encountered an issue with the Contact Form addon.

The form is publicly visible and works correctly when a user is logged in, but when a guest (non-logged-in) user tries to submit the form, it fails due to CAPTCHA validation.

✔️ The CAPTCHA (both Google reCAPTCHA Invisible and Cloudflare Turnstile) is displayed properly for all users

❌ However, only logged-in users can successfully submit the form

❌ Guest users always get an error like: Invalid CAPTCHA or Missing token

✅ What I have checked:
CAPTCHA plugins are active and configured correctly in Joomla

The CAPTCHA is set as the default in Joomla Global Configuration

The form is visible to everyone (menu item and page access set to "Public")

The site key and secret key are correct

The problem happens with both Google and Cloudflare CAPTCHA options

🔎 Diagnosis:
It seems the Contact Form addon doesn’t correctly send or validate the CAPTCHA token when the user is not logged in. This results in submission failure for guests.

The issue can be tested here:
🔗 https://ponmeunsello.com/index.php/contact-us

Please let me know if there is a fix, patch, or recommended workaround to make the form functional for guest users with CAPTCHA protection.

Thank you very much for your help.

Best regards,
David

9 replies

Atick Eashrak Shuvo Staff

Hi there!

Thank you for bringing this to our attention, and I sincerely apologize for the inconvenience caused.

To assist you more effectively, may I kindly request temporary administrative access to your site? This will allow me to thoroughly investigate and resolve the issue for you.

Before sharing the credentials, I strongly recommend taking a complete backup of your site to ensure all data remains secure.

Looking forward to your response.

Best regards

David Martin Heras Asked this

Hi Atick,

Thank you for your quick response.

I’ve created a temporary Super User account for you as requested
I’ve also made a full backup of the site before sharing access.

Please feel free to check the contact form issue for non-logged-in users here:
https://ponmeunsello.com/index.php/contact-us

Let me know once the issue is resolved so I can safely remove the temporary account.

Thanks again for your help.

Best regards,
David

Atick Eashrak Shuvo Staff

Hello David Martin Heras,

Sorry for the inconvenience you're experiencing with the CAPTCHA.

To help me investigate, would it be possible for me to download a full site backup to check the issue on my local machine? Looking forward to your response.

Best regards

David Martin Heras Asked this

Hello,

Thank you for your response.

Yes, you can download the full site backup, including the database, from the following link to investigate the issue on your local environment:

🔗

Please let me know if you need anything else.

Best regards,
David Martín Heras

Atick Eashrak Shuvo Staff

Hello David Martin,

Sorry for the inconvenience you're experiencing. In addition to the database, could you please also share the associated files?

Looking forward to your response.

Best regards

Atick Eashrak Shuvo Staff

Hello David,

Sorry for the inconvenience this CAPTCHA issue is causing. Could you please check if the problem is resolved now and let me know how it goes?

Best regards

David Martin Heras Asked this

Hello Atick,

Thank you very much.

I’ve tested the CAPTCHA and it seems to be working fine now — both when logged in and when not logged in. It also works correctly with both Google and Cloudflare.

Could you please let me know what the issue was, so I can understand what went wrong and prevent it in the future?

Best regards,
David Martin

Atick Eashrak Shuvo Staff

Hello David,

Sorry for the inconvenience you're experiencing. The CAPTCHA issue appears to have been caused by a setting within the JCH Optimize plugin. I've temporarily disabled the problematic setting, as shown here: https://prnt.sc/5Lvt2481ll0w to resolve the problem.

Best regards

David Martin Heras Asked this

Hello Atick,

Thank you very much for your help and for identifying the issue.

I appreciate you disabling the problematic setting in JCH Optimize. I’ll definitely keep this plugin in mind as a possible cause if similar issues arise in the future.

Best regards,
David Martin

Atick Eashrak Shuvo Staff

Hello David,

You're most welcome — I'm glad I could assist.

It's great to hear that the issue has been resolved. Yes, JCH Optimize can be quite helpful, but certain settings may occasionally conflict with dynamic components, so it's always a good idea to keep an eye on it during troubleshooting.

If you need any further assistance, feel free to reach out.

Please marked the issue as solved

Log in to reply.