• Resolved robagkiou72

    (@robagkiou72)


    Hi there

    I’m having a similar issue on a site I’m building bricoin.fr. 

    As I couldn’t get V3 to work, I’ve setup v2 on the form of the contact page. On the Google Cloud Console the keys are good and protection is activated. The WP-Forms settings page shows all ok for v2 Recaptcha and says enabled on the form builder. However the box doesn’t show up on the contact page and form submit fails each time. I’m using WP-Mail SMTP through Brevo to send mails. That is all configured fine too as far as I can tell.

    I’m building the site using DIVI and strangely the recaptcha box shows up if I’m in preview mode after quitting the Visual Builder. Sending from there works and is how I managed to validate the recaptcha. I have Litespeed running and have tried all the different steps to exclude JS on that page etc. Still nothing works. As soon as I check the page outside of being logged into DIVI/Wordpress, no box shows and the form submit fails. The only other interactive element I have on the page is a Google Map.

    And help would be much appreciated as it’s driving me crazy.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @robagkiou72,

    Thanks for reaching out!

    I tried to recreate the issue with Google reCAPTCHA v2 on a Divi page, but I couldn’t seem to reproduce it on my end. I made a quick screencast for you to see what I did.

    The issue might be a conflict with another plugin or some custom code on your site. When you get the chance, could you please try using the steps in WPBeginner’s detailed guide on troubleshooting WordPress to see if it helps resolve the issue?

    I really hope this helps! If you have any questions, please don’t hesitate to let me know.

    Thanks!

    Thread Starter robagkiou72

    (@robagkiou72)

    Thanks Ralden for your reply and for taking the time to do the screencast.

    What you did is what I have already done. I got the Captcha the first time, however as soon as I quit the Divi visual builder where the Captcha is visible and disconnect from the wordpress admin, the Captcha is no longer on there.

    I’ve tried emptying the different caches, tried a different browser etc, but it’s still not showing up. I’ll try the troubleshooting wordpress guide to see if that unblocks something, but having already looked at it briefly, other than a possible plugin conflict, I’m not sure what it could be.

    I’ll let you know how I get on as soon as possible.

    Regards Rob

    Thread Starter robagkiou72

    (@robagkiou72)

    Hello again. I’ve tried the suggestions in the beginners guide. I deactivated plugins, emptied cache etc and still nothing.

    The curious thing is that when Im logged into WP, if I check the page in the Divi visual Builder or the WP Theme Customiser, the Captcha shows up. However, if I check the page on another device or browser where I’m not logged in to WP, it’s not there. I looked in the browser inspector and the div shows up in the html code, but it has a css style/class applied as hidden.

    <div class="g-recaptcha" data-sitekey="6****************C"></div><input type="text" name="g-recaptcha-hidden" class="wpforms-recaptcha-hidden" style="position:absolute!important;clip:rect(0,0,0,0)!important;height:1px!important;width:1px!important;border:0!important;overflow:hidden!important;padding:0!important;margin:0!important;" data-rule-recaptcha="1">

    I’ve hidden the key.

    I thought it might have had something to do with some styling css I’d added to the button, so I removed that, but no joy, still the same result. I don’t know what’s adding the hidden class to the div.

    The only thing I didn’t try was using a different theme. As the site is built around the DIVI theme it defeats the object. It would be easier to change contact form method !

    Any help would be appreciated. I’ll check to see if there are known issues with DIVI/Wp-Forms and recaptcha.

    Regards Rob.

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @robagkiou72,

    Thanks for sharing those details!

    It doesn’t look like the issue is caused by that CSS you shared, since I have a similar CSS on my test page and the Google reCAPTCHA v2 checkbox is displaying just fine — screenshot.

    This might be related to some custom CSS or code on your site. When you get a chance, please check under Divi > Theme Options > Integration to see if there’s any custom code added there. If so, try temporarily disabling the “Enable code” options — screenshot — and see if that helps.

    If the issue persists, could you please share the details from WPForms > Tools > System Info? Here’s a screenshot to help you locate it. That info could give us a better idea of what’s going on.

    Let me know how it goes!

    Thread Starter robagkiou72

    (@robagkiou72)

    Thanks again Ralden for your help.

    Tried your suggestion, but no change sadly. No extra code is being loaded. The recaptcha still shows in DIVI when I’m logged in to DIVI/Wordpress, but not when I’m logged out. Very odd.

    Below is the system info you requested.

                ### Begin System Info ###

    — WPForms Info

    Lite: Jun 17, 2025 at 10:47am (GMT)
    Lite Connect: Backup is not enabled

    — Site Info

    Site URL: https://bricoin.fr
    Home URL: https://bricoin.fr
    Multisite: No

    — WordPress Configuration

    Version: 6.8.1
    Language: fr_FR
    User Language: en_US
    Permalink Structure: /%postname%/
    Active Theme: Divi 4.27.4
    Show On Front: page
    Page On Front: Accueil (#62)
    Page For Posts: Nos Actualités (#54)
    ABSPATH: /home/u660624632/domains/bricoin.fr/public_html/
    Table Prefix: Length: 3 Status: Acceptable
    WP_DEBUG: Disabled
    WPFORMS_DEBUG: Not set
    Memory Limit: 40M
    Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed
    Revisions: Enabled

    — WordPress Uploads/Constants

    WP_CONTENT_DIR: /home/u660624632/domains/bricoin.fr/public_html/wp-content
    WP_CONTENT_URL: https://bricoin.fr/wp-content
    UPLOADS: Not set
    wp_uploads_dir() path: /home/u660624632/domains/bricoin.fr/public_html/wp-content/uploads/2025/06
    wp_uploads_dir() url: https://bricoin.fr/wp-content/uploads/2025/06
    wp_uploads_dir() basedir: /home/u660624632/domains/bricoin.fr/public_html/wp-content/uploads
    wp_uploads_dir() baseurl: https://bricoin.fr/wp-content/uploads

    — Must-Use Plugins

    Hostinger Preview Domain: 1.3.4
    Hostinger Smart Auto Updates: 1.0.7

    — WordPress Active Plugins

    Akismet Anti-spam: Spam Protection: 5.4
    Bloom: 1.3.12
    Carousel Maker for Divi: 2.1.4
    Cookie Notice & Compliance for GDPR / CCPA: 2.5.6
    Custom WP Store Locator: 1.5.1.1
    Divi Carousel Lite: 1.6.3
    Divi Torque: 4.2.1
    Hostinger AI: 2.0.39
    Hostinger Easy Onboarding: 2.0.81
    Hostinger Tools: 3.0.41
    LiteSpeed Cache: 7.2
    Monarch Plugin: 1.4.14
    Post Carousel for DV Builder: 1.3
    Site Kit by Google: 1.155.0
    Wordfence Security: 8.0.5
    WP Armour – Honeypot Anti Spam: 2.2.12
    WP Dummy Content Generator: 4.0.0
    WPForms Lite: 1.9.6.1
    WP Mail SMTP: 4.5.0
    Yoast SEO: 25.3.1

    — WordPress Inactive Plugins

    Divi Coming Soon: 1.0.2

    — Webserver Configuration

    PHP Version: 8.2.28
    MySQL Version: 10.11.10
    Webserver Info: LiteSpeed

    — PHP Configuration

    Memory Limit: 2048M
    Upload Max Size: 2048M
    Post Max Size: 2048M
    Upload Max Filesize: 2048M
    Time Limit: 360
    Max Input Vars: 5000
    Display Errors: N/A

    — PHP Extensions

    cURL: Supported
    fsockopen: Supported
    SOAP Client: Installed
    Suhosin: Not Installed

    — Session Configuration

    Session: Disabled End System Info ###

    I’ve since read online of a possible issue with DIVI continually loading Recaptcha v3 site wide, even if it’s been applied just once on one page. I followed the fixes for that so in theory that shouldn’t be a problem either.

    I’m at a loss as to whether its divi or wp-forms or recaptcha creating the issue. I’d like to use WP-Forms as it’s tried and trusted and I’ve used it on other sites previously, without issue.

    Regards

    Rob

    Plugin Support Rajab Said

    (@snrjosh)

    Hi @robagkiou72,

    Thanks for sharing the System Info.

    The issue of reCAPTCHA v2 checkbox only showing for logged-in users almost always relates to plugin or server caching or script optimization that behaves differently for logged-out visitors versus logged-in users.

    Just to confirm, did you use the Health Check & Troubleshooting plugin to disable the plugins? If so, this may not help since the troubleshooting mode activated by this plugin only applies to the currently logged-in environment, and changes are limited only to that environment.

    That said, I’d recommend you manually deactivate these two plugins and clear all browser and server cache:

    • LiteSpeed Cache Plugin: And since you’re using the LiteSpeed server, I’d also recommend checking with your hosting provider to help clear the server cache.
    • WP Armour – Honeypot Anti Spam: Running two different anti-spam solutions on the site can be a source of conflict. The honeypot plugin might be interfering with the form’s code in a way that prevents the reCAPTCHA script from initializing correctly.

    Please let us know your findings.

    Thread Starter robagkiou72

    (@robagkiou72)

    Hi Rajab

    Thanks for your help. I had already manually deactivated the plugins and not used the Health plugin.

    I’ve followed your instructions, yet still no change. The two plugins are now deactivated and all caches have been cleared.

    I think I will cut my losses with this, unless you have any other solutions.

    Kind regards.

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @robagkiou72,

    Thanks so much for all the information!

    I used the details from your System Info to set up a similar environment, but I wasn’t able to reproduce the issue. For your reference, here’s a screencast of my test.

    Here are some suggestions to help troubleshoot and resolve the issue:

    1. The problem might be related to custom code on your contact page. Try adding the form to a blank page and see if the issue still happens. If it doesn’t, please review any custom code or CSS snippets on your original contact page.
    2. Go to WPForms > Settings > CAPTCHA, enable No-Conflict Mode (screenshot), clear the LiteSpeed Cache, and test your contact page in an incognito/private window.
    3. Adjust your LiteSpeed Cache plugin settings by following our guide. Be sure to purge the cache after making the changes.
    4. There might be a conflict with the Cookie Notice & Compliance for GDPR / CCPA plugin. To check this, go to the “Privacy” section, open the “Privacy Content” tab, and uncheck WPForms (screenshot).
    5. According to your System Info, the Akismet Anti-spam plugin is active on your site. If the issue persists after the steps above, you can try disabling Google reCAPTCHA and use Akismet to protect your form from spam instead. We have a helpful guide to walk you through this setup.
    6. Alternatively, you might consider using other CAPTCHA options, like hCaptcha or Cloudflare Turnstile. Here’s a guide with details on how to set those up.

    I hope this helps! If you have any questions or need further assistance, please don’t hesitate to let me know.

    Thread Starter robagkiou72

    (@robagkiou72)

    Hi Ralden

    Plenty to go through there, so thankyou very much. I seem to remember already trying some of the things you suggest (new page, deactivating and running without plug-ins, no conflict mode…), but I’m happy to try again. I’ll keep you updated. If none of that works, I’ll try without recaptcha on the form or I’ll revert to the DIVI contact form with the Math validation solution.

    May take a couple of weeks as I’m on vacation from tomorrow.

    Thanks again. Rob

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @robagkiou72,

    Thanks for the update!

    I hope the steps I shared help resolve the issue so you can get Google reCAPTCHA working smoothly on your site.

    If the problem continues, it’s likely due to a custom code conflict or something else specific to your setup, since I wasn’t able to reproduce it on my end. In that case, switching to a different CAPTCHA option might be the best workaround to keep your form protected.

    If you have any questions or need help at any point, feel free to reach out.

    Thanks, and enjoy your vacation!

    Thread Starter robagkiou72

    (@robagkiou72)

    Hi Ralden

    Thanks for those suggestions. Thanks to you the problem has been fixed. I removed Google Captcha and replaced it with Cloudflare. All is working perfectly now.

    I have read that there is a problem with DIVI 4 storing Google Captcha v3 and not purging it. This was possibly the cause and creating a conflict of some sort. Anyway the change of authentication method fixed it.

    I think we can close the ticket now.

    Best regards to you and the team for your help.

    Rob

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @robagkiou72,

    I’m really glad to hear the issue was resolved by using the Cloudflare Turnstile option!

    If you need any further help with WPForms Lite, feel free to reach out anytime.

    Thanks!

    butoru5

    (@butoru5)

    Hi @rsouzaam and all readers. I am Alexander aka butoru5 and I have an issue similar to @robagkiou72 ‘s issue discussed above. That is why I didn’t start new topic but decided to continue this one instead.
    My website https://diy-electronic.ru uses WPForms Lite and contains a couple of very simple feedback forms. Each form contains Google reCaptcha v2 and for several years everything worked fine, reCaptcha protected my forms against malicious spammers (not 100% but it is another story).

    Recently I found out that reCaptcha is not being displayed in my forms any more. Presumably it happened after one of the latest WPForms updates but I am not sure. As a result I had to disable reCaptcha everywhere on my website to give visitors a chance to submit forms. I created test page at https://diy-electronic.ru/recaptcha/ in order to understand what is going wrong. This page contains a test form and more detailed explanations of the problem.

    I googled a lot trying to find a solution, I made many experiments – disabled all other plugins, disabled other javascripts working on the same page, changed website theme to eliminate possible conflicts with other pieces of code living on the same page. Also I investigated css hierarchy as deep as I could to understand what exactly prevents reCaptcha from showing. Despite of all my efforts I still didn’t find any solution. Could you please take a look at my test page at https://diy-electronic.ru/recaptcha/ and provide me with any ideas? Your advice will be highly appreciated.

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @butoru5,

    Thanks for reaching out!

    I was unable to access the page you shared because of to permissions (screenshot).

    As indicated in the Forum FAQ (here), please create a new post on our WPForms Lite support forum. Also, confirm that we can access the page you shared.

    Once you create a new topic, I will be notified and try to access your page again to perform tests and provide further assistance.

    Thanks!

    Hi @rsouzaam,

    Thank you for your reply and for your readyness to help. I will create new post later today as you suggested. For now I disabled IP address restrictions which caused 403 error so hopefully you will be able to access my test page.

Viewing 15 replies - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.