• Resolved kdcpelt

    (@kdcpelt)


    I’m getting the error “attempt to submit corrupted post data” on a contact form. In the console, I see this:

    Uncaught ReferenceError: wpforms_settings is not defined
    loadValidation https://www.mywebsite.com/wp-content/plugins/wpforms-lite/assets/js/frontend/wpforms.min.js?ver=1.9.8.2:5
    ready https://www.mywebsite.com/wp-content/plugins/wpforms-lite/assets/js/frontend/wpforms.min.js?ver=1.9.8.2:1
    jQuery 5
    init https://www.mywebsite.com/wp-content/plugins/wpforms-lite/assets/js/frontend/wpforms.min.js?ver=1.9.8.2:1
    <anonymous> https://www.mywebsite.com/wp-content/plugins/wpforms-lite/assets/js/frontend/wpforms.min.js?ver=1.9.8.2:5

    In Litespeed: JS Minify, Combine, and Deferral are all OFF. I also tried excluding this path in the cache settings:

    /wp-content/plugins/wpforms/assets/js/wpforms.min.js

    I also tried deactivating Litespeed entirely, but no change. I tried setting up a staging site and deactivating plugins, but was unable to make any changes to the form settings on the staging site to test options (ReCaptcha on/off, etc.). Any assistance would be much appreciated.

    Also, WP Forms Lite, WP Core are all up to date. PHP 7.4.33

    • This topic was modified 7 months, 2 weeks ago by kdcpelt.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @kdcpelt,

    Thanks for reaching out!

    Please follow the recommendations in our guide regarding the “Attempt to Submit Corrupted Post Data” error.

    If the issue persists, please share the URL to access your form. That will allow me to run some tests and provide further assistance to solve the issue.

    Please let me know if you have any questions.

    Thanks!

    Thread Starter kdcpelt

    (@kdcpelt)

    Hi Ralden, I am still having issues. Is there a way I can send the URL privately?

    Since I posted my message above. I’ve tried using reCaptcha v2, and it gives the same error. I reset my Google reCaptcha ID and secret key, and it worked the first time, but subsequent attempts fail.

    I’ve turned on logging, but not sure I’m getting any additional information from that…other than it’s logging the error. I have WP Mail Logging enabled, and so i can see when the attempts have been successful.

    As I mentioned before, JS minify, deferral and combine is not turned on in LiteSpeed.

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @kdcpelt,

    Thanks for the information.

    If you are not comfortable sharing the URL of your form here, please drop us a line through our contact page. Ask to assign the ticket to Ralden Souza, and I would appreciate it if you included a link to this post.

    Once I access your form, I can run some tests and provide more information about the issue.

    Thanks!

    Thread Starter kdcpelt

    (@kdcpelt)

    This is the error I see in the console:

    https://drive.google.com/file/d/10ehcv4yBK7jKB3P7XL-ENNBA4XZExgz8/view?usp=sharing

    • This reply was modified 7 months, 2 weeks ago by kdcpelt.
    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @kdcpelt,

    Thanks for sharing the error and creating ticket #56528 to share the form URL.

    I’m copying the details I sent in my reply to your ticket.

    Looking at the page, I see that you have Google reCAPTCHA v3 in the form. However, the Google reCAPTCHA badge is not appearing in the bottom right corner

    Please note that displaying the reCAPTCHA badge is required by Google. You can see this requirement here: https://developers.google.com/recaptcha/docs/faq#id-like-to-hide-the-recaptcha-badge.-what-is-allowed.

    You should display the badge, and after doing so, your form should submit without the “Attempt to Submit Corrupted Post Data” error.

    Accessing the form in an incognito window, I see that you’re using a Cookiebot Consent solution. We’ve noticed that some cookie consent solutions remove the resources required to properly load Google reCAPTCHA and its badge if the user clicks “Deny” or only allows essential cookies.

    If you don’t know why the badge isn’t loading, it might be a conflict with the cookie consent plugin. I recommend deactivating it and checking if the issue continues.

    Alternatively, you could replace Google reCAPTCHA with another CAPTCHA solution, such as hCaptcha or Cloudflare Turnstile. This should solve the issue.

    I hope this helps!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @kdcpelt,

    We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Attempt to submit corrupted post data’ is closed to new replies.