• Resolved meganotto

    (@meganotto)


    We’ve been getting reports from our users that our contact form is sending them to an error on /admin-ajax.php.

    On that page, it says “Error: Please try again by clicking the back button on your browser.”

    Do you know why it would be doing this? It doesn’t happen each time and I’m unable to replicate it, but we’ve gotten multiple reports.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author pipdig

    (@pipdig)

    Hi @meganotto,

    A generic “Error: Please try again by clicking the back button on your browser” message is displayed when a 200 response code is not received back from Zendesk after submitting a ticket. This could be caused by a few different things:

    1. Your server is unable to connect to the Zendesk API. This could be caused by a plugin or server setting, such as cURL or the server’s firewall.

    2. There is some malformed text/data in the form which cannot be processed by Zendesk. So the ticket is being received by Zendesk, however it is not responding with a 200 “ok” message for some reason.

    Please try submitting the form under 3 different circumstances:

    A. Logged in as a WordPress admin
    B. Logged in as a normal user/subscriber
    C. Not logged in to WordPress

    Let me know if the ticket is created each time or if one of those circumstances shows an error.

    Thread Starter meganotto

    (@meganotto)

    I don’t seem to get the error for any of those instances. It doesn’t seem to be every user that it happens to, just a few occasionally.

    Plugin Author pipdig

    (@pipdig)

    Hi @meganotto,

    Thanks for checking that. Unfortunately it is going to be very difficult to troubleshoot until you can replicate the issue. There are many things which could impact the connection, such as plugins or server settings.

    Are there many plugins active on the site? Are you using any plugins which impact security such as iThemes Security or Wordfence?

    Thread Starter meganotto

    (@meganotto)

    Yeah, it’s a tough one. We do have quite a few plugins, but not iThemes Security or Wordfence. I’ll keep digging. Thanks for your help!

    pfbarnet

    (@pfbarnet)

    Getting a 307 redirect every time user submits form. Leads user to a site login page. API appears to be correct.

    Why is this set to resolved when there’s no solution?

    We’re having the same problem… It’s not happening to everyone, only some users.

    I have disabled all other plugins and the error “Error: Please try again by clicking the back button on your browser” still appears.

    What else can we check?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Form redirects to admin-ajax’ is closed to new replies.