• Resolved alexbosch

    (@alexbosch)


    Hi;

    I’m very happy with your plugin, but I have a problem. I tried to add a domain to a denylist on a formularie. It worked, until I purged the cache.

    I replicated the same error many times and on different formularies. Every time I purged the cache, the formularie with a denylist stops working completely… it doesn’t accept any submitions (it’s like the submit button doesn’t work).

    If I remove the denylist, the formularie works perfectly, purging or not the cache.

    Any ideas on how to solve this?

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @alexbosch,

    We don’t have any issues noted at this time matching what you’ve described, so the issue is likely limited to your site and it’s configuration specifically.

    I’ve taken a look at the page and form found at https://www.daggas.life/registro-profesionales/ and noticed that your site is using the Autoptimize plugin.

    The Autoptimize plugin’s optimization features if not properly configured for the site specifically will often cause functional issues. This is especially the case for any JavaScript (JS) optimization features.

    Please try disabling those features and then testing if the issue still persists. Please purge your caches before testing ??

    You can also find further troubleshooting steps in this article.

    Hope this helps ?? Please let us know if you have any further questions.

    Thread Starter alexbosch

    (@alexbosch)

    Hi @henrycee

    No, it was not a problem with Autoptimize or JavaScript optimization neither. I tried disabling JavasScript optimization from Autoptimize and Cloudflare and nothing changed.

    And except for the Disallow list, the vallidation messages from your plugin are working fine with the JavaScript optimization that I was using on my site. The only problem is when I actaivate the disallowed list of emails.

    What it should be?

    Hi @alexbosch,

    The next steps would be to disable all of your site’s plugins except for WPForms, and to switch your site’s theme to a WordPress default theme (such as Twenty Twenty One), in order to confirm and rule out any code conflicts on your site.

    After disabling all other plugins and switching the theme, please do a test to see if the issue still persists by having the Denylist active and doing a test submission.

    If the issue still occurs, then it could be that there is something added in your Denylist that is breaking the code. You can test this by (temporarily) removing all of the options, and only using one absolute and known email in the Denylist (such as your own personal Gmail address).

    If these steps help to resolve the issue, you’ll need to re-activate everything (plugins, theme, denylist options) individually and testing between each activation in order to locate the issue.

    Please also see our troubleshooting guide for further details here.

    I hope this helps!

    Thread Starter alexbosch

    (@alexbosch)

    Hi @henrycee

    I already tried all your suggestions, and none worked.

    I disabled all the plugins and set the default wordpress theme. The behaviour was exactly the same.

    Then I tried to add only my own gmail address on the denylist and it stopped working again. When I left the denylist completely blank or I disable it, then the form works.

    Taking a look on the Google Console appears this message when I try to submit the form with the denylist enabled and with any mail added on it:

    [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
    send @ jquery.min.js?ver=3.6.0:2

    I wish this could help to solve that.

    Thank you

    Hi @alexbosch,

    Does your site have any server side caching that may need to be cleared after you had deactivated the plugins and theme?

    I’ve run some tests to check whether or not we have a bug, but I wasn’t able to replicate this issue, which indicates that the issue is specific to your site. The steps provided in the troubleshooting guide will normally be able to pinpoint the issue.

    If after you’ve followed those steps and were unable to locate the issue, it would require a more extensive troubleshooting where login access to your site will be needed which does not conform to the rules of the www.ads-software.com support forums.

    Please consider upgrading to a paid version of WPForms, as it includes a dedicated email support channel where our support team will be able to take a closer look at issues of this nature.

    In case it helps to know, we have a refund policy where if over the first 14 days decide WPForms isn’t a good fit, then we’ll happily refund 100% of your money. No questions asked.

    Kindly,

    Thread Starter alexbosch

    (@alexbosch)

    Hi @henrycee

    I already found it! It was a problem with .htaccess Permssions-Policy. The item “sync-xhr” have to be set as “self”

    Thank you so much for your help

    Hi @alexbosch!

    I’m glad to hear that you were able to get it sorted out and thank you very much for sharing this information, it will be quite helpful to our team and other users.

    I apologize for not being of more assistance this time. Please don’t hesitate to reach out to us again in the future.

    Kindly,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problems with denylist and cache’ is closed to new replies.