• Resolved MDC2957

    (@mdc2957)


    I installed and activated your plugin. Decided to test some forms to make sure they still work. I went to an Elementor contact form on one of my websites that has a name, email and message field, filled out the three fields, hit submit and received this: Spamming or your Javascript is disabled !! right below the name field. Any suggestions?

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Dnesscarkey

    (@dnesscarkey)

    Hi MDC2957,

    Can you please make sure that our JavaScript files are loaded in the frontend forms? If you are using any cache or minification plugins, they might be serving the old cached JavaScript files. Can you please clear the cache and see if that helps?

    If this still doesn’t work, please kindly send me your site URL, and I will investigate it from here.

    Thanks!

    Thread Starter MDC2957

    (@mdc2957)

    I am using wp rocket, and followed the instructions in the other thread that I saw. Did another test this morning. When I load the site while logged in as admin, I see the act as spam bot window below the form. I submit the form and it goes through. Then I load the site in a private browsing window, I view the page source and I see the wpa.js is there. I submit the same form and I get the spamming message. So it works while logged in as admin, but it doesn’t work while logged out, which is of course a problem because everyone who visits my website is logged out. I sent my URL to you via your contact form on your website..

    Plugin Author Dnesscarkey

    (@dnesscarkey)

    Hi MDC2957,

    Thank you for your email. I checked your site and found that there is a JavaScript error:

    Uncaught ReferenceError: jQuery is not defined.

    This means the jQuery, which is needed for our plugin to work, is not available. jQuery comes by default with WordPress. Have you disabled or removed jQuery on your site?

    Thread Starter MDC2957

    (@mdc2957)

    No, not that I know of. If it was disabled, a lot of stuff would not work such as elementor itself?? Also, what about the fact that it worked when I was signed in as the administrator?

    • This reply was modified 2 months, 2 weeks ago by MDC2957.
    Plugin Author Dnesscarkey

    (@dnesscarkey)

    If this works while logged in, it might be cached, as when logged in as an administrator, cached files are not served.

    Can you please try clearing the cache and see if it resolves the issue?

    Thread Starter MDC2957

    (@mdc2957)

    which cache? Browser? WP Rocket? Cloudflare? Web server? Whether it’s cached or not, shouldn’t it work? Cached just means it doesn’t need to be downloaded right?

    Plugin Author Dnesscarkey

    (@dnesscarkey)

    Hi MDC2957,

    Try clearing the cache for WP Rocket and Cloudflare.

    Clearing these caches can help ensure that the most up-to-date scripts and resources are being used, which might resolve the issue.

    Thread Starter MDC2957

    (@mdc2957)

    ok, will do that first thing tomorrow morning. I tend to think that it’s not WP rocket because that cache gets cleared pretty frequently such as when updating plugins, e.g. installing your plugin, deactivating and reactivating it. So maybe it’s cloudflare then. I will let you know, thanks.

    Thread Starter MDC2957

    (@mdc2957)

    I noticed I still had Turnstile activated, so I deactivated that, and I cleared WP rocket cache, and purged cloudflare cache. Tried to submit the form in a private browsing window and still got the spam message. I checked the console and I do see this error:

    Uncaught ReferenceError: jQuery is not defined at wpa.js?ver=1735662989:1:64

    Thread Starter MDC2957

    (@mdc2957)

    I finally discovered the cause of the problem. I’m using Brave browser and the shields were activated and they were causing some issue, not entirely sure what, but after I turned the shields off on the site, I was able to submit the elementor form with your plugin active. Sorry about that, maybe you can add that tip to your instructions in case others run into the issue…

    Thread Starter MDC2957

    (@mdc2957)

    I have to revive this thread because I was just testing a new Elementor form, Brave shields are disabled and I’m getting the Spamming or your Javascript is disabled !! when I submit the form. Now I don’t know what to do as I thought the Brave shields are what was causing the problem before…? I tried clearing wp rocket, cloudflare and cloudways hosting caches, still getting the error =(

    • This reply was modified 1 month, 4 weeks ago by MDC2957. Reason: added that I cleared all caches
    Plugin Author Dnesscarkey

    (@dnesscarkey)

    @mdc2957,

    Could you please share the URL of the page where the form is located?

    Thanks

    Thread Starter MDC2957

    (@mdc2957)

    I sent it to you via your contact form again

    Plugin Author Dnesscarkey

    (@dnesscarkey)

    Dear MDC2957,

    Thank you for providing the details and the URL for your Elementor form.

    Upon checking, we noticed the following error message:

    wpa.js:3 Uncaught ReferenceError: jQuery is not defined at wpa.js:3:1

    This error suggests that jQuery is not being loaded on your website. WP Armour requires jQuery to function properly. Could you please check if jQuery is being blocked from loading or if it has been disabled on your site?

    Once jQuery is loaded correctly, the plugin should work as expected. Let us know if you need further assistance!

    Best regards,
    Dinesh Karki

    Thread Starter MDC2957

    (@mdc2957)

    For anyone else who runs into this, and is using WP Rocket, the cause for me was using the “load javascript deferred” option in WP Rocket. To fix it, you need to add this line to the exclusions box:

    \/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\?(.*))?( |'|"|>|$)

Viewing 15 replies - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.