• Resolved Majux

    (@majuxdev)


    Hi,

    I’m having a problem on this page with a RecaptchaV2 (https://www.orissal.com/contact/).

    At the end of this form (Gravity Forms Plugin), in the backend while logged in I am able to see the Recaptcha, but on the front-end it’s not displaying. I’ve narrowed down the issue to an Asset Cleanup conflict, and none of the Gform/Recaptcha scripts are unloaded from what I can see. I’ve been going through Asset Cleanup settings and I can’t find anything that would be affecting this. It’s definitely this plugin, though, as deactivating it fixes the issue.

    Grateful for any insight if possible.

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

Viewing 1 replies (of 1 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @majuxdev if you load the page as https://www.orissal.com/contact/?randomstr (which prevents page caching, but still loads Asset CleanUp) or https://www.orissal.com/contact/?wpacu_no_load (which also prevents page caching, but does not load Asset CleanUp), you will notice that the reCAPTCHA does show up fine.

    Based on my experience, it’s very likely that something in the page caching (including minifying HTML) is interfering with the JavaScript files or the HTML code, making the reCAPTCHA inoperational. You’re using WP Rocket. Make sure not to mix minify/combine features with the ones from Asset CleanUp. I would deactivate minify HTML as it’s obviously turned on and remove any defer JS (at least for now), then see how it goes.

    It’s obvious that something is funny there since it works fine when the HTML is not minified and other options from WP Rocket are deactivated. It’s a good caching plugin, don’t get me wrong, but it’s not always a one-click solution. You still need to tweak it, especially if you combined it with Asset CleanUp.

    Let me know how the testing goes! My debugging clearly shows that it’s not an Asset CleanUp issue! Happy winter holidays!

Viewing 1 replies (of 1 total)
  • The topic ‘Recaptcha Not Displaying When Asset Cleanup Activated’ is closed to new replies.