• Resolved guidotg

    (@guidotg)


    I am using a cookie consent solution that stores preferences with Ajax. Each time I give a consent I get this error: POST https://www.mywebsite.com/wp-admin/admin-ajax.php 400.
    Deactivating SG Optimizer (5.7.10) would solve the issue.
    I’ve tried excluding jQuery.min.js from defer render-blocking js with no luck.
    Any idea on how to fix this?
    Thank you

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    The errors you are getting are most probably caused by staging environment. Are you experiencing the same on production?

    Thread Starter guidotg

    (@guidotg)

    Ok, I haven’t published the staging yet, but most probably you are right. I will re-open this if I still experience the same once on production. Thank you.

    Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Marking as resolved

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ajax bad request 400’ is closed to new replies.