Support » Plugin: Contact Form 7 » [Plugin: Contact Form 7] Ajax doesn't work, form doesn't send emails

  • Hi,

    I have been tinkering few days in a row to make Contact Form 7 work on my website. I have major problems with it, Ajax doesn’t work and form doesn’t even send emails. I noticed that if I change my theme Ajax does work, but still no success with sending emails. I would love to get any tip on how to get it solved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have same situation.

    On test host all worked fine, but now on submit firebug throws errors that data is null.

    var ro = $(data.into).find('div.wpcf7-response-output');

    Odd error. Seems that it can’t retrieve data via form post.

    With regards,

    @srumjant – Well I am not an php expert but did you move the database from test server (which contain Contact Form’s records) to a new one?

    I managed to make Contact Form send emails. What I did was, downloaded header.php of my theme, removed <?php wp_head(); ?> then uploaded it back, and then uploaded it once again but with <?php wp_head(); ?>. Have no idea why it did help.

    Unfortunately it didn’t help with Ajax. My page is reloading after submitting and because the form is in a Lightbox it screws my template :<

    Plugin Author Takayuki Miyoshi


    Ninetou, maybe you are having two different problems. For Ajax issue, please check this doc:

    Why isn’t My AJAX Contact Form Working Correctly?

    For issue of no sending, there are some topics relating to it on FAQ.

    Thanks for quick answer. However it didn’t help me.

    Still same error:

    data is null
    [Break on this error] var ro = $(data.into).find('div.wpcf7-response-output');

    Removed plugin and then added it again back. Still same problem.

    Takayuki Miyoshi thank you for you reply. I read this article and I think its the most likely because of conflicting JS on my page. As I said whenever I change theme to some simple one, without built-in JS features, form works as it should. The problem is I have not clue which scripts are conflicting. My website

    Odd things happen. I copied all files from test server(
    to working server (

    Even this didn’t solve the problem. :S

    It works on test server. How is it possible.

    Srumjant, maybe there is a problem with absolute patches in database. Basing on my experience with Joomla! patches need to be up-to-date with the sever to avoid problems with plug-ins. You can find some patches in your WordPress database in wp_options table. Try to give it a shot.

    Still didn’t succeed in making Ajax work :<

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Contact Form 7] Ajax doesn't work, form doesn't send emails’ is closed to new replies.