• Resolved udidol

    (@udidol)


    Hi,
    I started getting an orange error message when submitting contact forms in my website.
    On first click on the “Send” button, I see the circling arrows for one second next to the “Send” button, then nothing happens. I get no confirmation message, and the contact form fields don’t become empty – they stay full.

    If I click the “send” button again, it gives me the orange error message:
    “There was an error trying to send your message. Please try again later.”

    I don’t know if it has anything to do with it, but I recently installed a plugin called “Contact Form 7 Honeypot”. I disabled it once I say the error but the problem persists.

    I read the FAQ on colored error messages – I don’t use Akismet.

    Any idea what the problem could be?

    • This topic was modified 9 years, 7 months ago by udidol.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme and deactivating all other plugins.

    Thread Starter udidol

    (@udidol)

    Problem Solved. For other people facing such a problem, maybe this could help:
    I had Adwords Conversion Tracking added to the “Send” button via “Additional Settings”.
    I did what Takayuki advised – deactivated all plugins.

    Turns out the problem with the form was something to do with Analytics and Adwords tracking.

    I use the “W3 Total Cache” and “Autoptimize” plugins.

    After some testing, I found that the HTML minification in both plugins causes problems with CDATA comments in the Adwords Conversion Tracking code, which causes it not to work properly.

    It also causes problems with CF7 form submission.

    Anyway, I disabled HTML minification in both W3 Total Cache and Autoptimize and CF7 is working properly again.

    Thanks Miyoshi San.

    happy it works, but allow me (autoptimize developer) to add my 2c:
    * I strongly advice against having 2 plugins do minificatoin concurrently, this can lead to … unexpected results (including “internal server errors”)
    * Although in theory needed for some (ancient) browsers, the CDATA comments are in reality really superfluous and removing them should never cause a form not to work any more

    but if it works, feel free to leave as is, HTML minification only has a small impact on performance 🙂

    frank

    Thread Starter udidol

    (@udidol)

    Hey Frank,
    Thanks for providing developer input :).
    You are definitely right, however even when one of the two plugins was active and the other deactivated, this specific problem persisted. So it wasn’t the clash between the plugins, but HTML minification in general, done with either plugin.

    It’s not the form that had the problem, it’s the Adwords Conversion Tracking tag. Since a conversion onclick was added to the form’s submit button, it interfered with the form.

    Thanks again for clarification 🙂

    Cheers
    Udi

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

The topic ‘Orange error message but message gets sent’ is closed to new replies.