• Resolved terminalmancer

    (@terminalmancer)


    In Contact Form 7 version 4.8.0, everything worked fine for us (pittpfs.com). With the upgrade to 4.8.1, we instantly started seeing some of the problems that others have seen on 4.8.0. Namely, the form spins silently, forever. The form makes a network request to the API. The API responds:

    {“code”:”rest_no_route”,”message”:”No route was found matching the URL and request method”,”data”:{“status”:404}}

    Rolling back to 4.8.0 solved the problem for us. (So we are very sure this is not a server/DNS configuration thing.) Disabling and re-enabling the 4.8.1 plugin did not do anything.

    Any help/advice? We’d also be fine if 4.8.2 solved the problem…

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme.

    Thread Starter terminalmancer

    (@terminalmancer)

    So, the plugin works in the default theme. That’s interesting. But why? And how do I fix it? I’d prefer not to change themes. That’s a ton of work.

    • This reply was modified 7 years, 4 months ago by terminalmancer. Reason: Tone!
    Thread Starter terminalmancer

    (@terminalmancer)

    Hmmm. Going to poke the Thesis team to see if they have any idea what’s going on on their end, too.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    This is Twenty Seventeen’s output:

    <script type='text/javascript' src='https://example.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=4.8.1'></script>

    This is your theme’s output:

    <script type='text/javascript' src='https://example.com/wp-content/plugins/contact-form-7/includes/js/scripts.js'></script>

    Thread Starter terminalmancer

    (@terminalmancer)

    Oho, a caching problem! scripts.js was being cached browser-side. Clearing the cache (or in this case, all I needed to do was run a hard refresh) solved the problem. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Version 4.8.1 generates API error, will not submit form’ is closed to new replies.