WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 » [Plugin: Contact Form 7] Not working with WordPress 3.4?

[Plugin: Contact Form 7] Not working with WordPress 3.4?

  • Plugin Author Takayuki Miyoshi

    @takayukister

    There seems to be a lot of users seeing problems with a combination of Contact Form 7 and WordPress 3.4. The problem is that after upgrading WordPress to 3.4, contact forms fail to send mail and show error messages of “Failed to send your message” with red border.

    To investigate this issue closely, we need more information about environments where it happens. We’d like to do a survey. If you see those problems, please answer the questions below as a comment to this topic. Please do not comment here if you have different kind of problems as it’s confusing.

    1. Do you receive other mail (like comment notifications) from WordPress?
    2. What hosting service do you use?
    3. What version of PHP do you use?
    4. What other plugins do you use?
    5. Do you use a SMTP plugin like WP Mail SMTP? Does it solve the issue?
    6. What theme do you use?

    Thank you for your cooperation.

    http://wordpress.org/extend/plugins/contact-form-7/

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

    @takayukister

    One more question. How have you set in the To:, From: and Subject: mail header fields?

    Plugin Author Takayuki Miyoshi

    @takayukister

    The problem has been reported here by sumindmitriy.
    https://core.trac.wordpress.org/ticket/20970

    It was problem of the PHPMailer 5.2.1 bundled with WordPress 3.4 on PHP safe mode environment.

    How does one apply the fix?

    You need to make two minor changes to a specific php script:
    http://core.trac.wordpress.org/attachment/ticket/20970/20970.patch

    Use your php editor and ftp client of choice to accomplish this.

    Worked for me!
    Good luck

    Simple installing “WP Mail SMTP” worked for me.

    Neither class-phpmailer.php fix nor WP Mail SMTP worked for me.

    Where does CF-7 call php-mail function? I searched it in includes and modules directories without success.

    Hey Takayuki!

    Here is my information in response to your survey. None of the solutions I could find (WP Mail SMTP/class-phpmailer patch) worked for me so far.

    1. Yes
    2. Shared Hosting
    3. 5.3.14
    4.
    Add Link to Facebook
    Akismet
    Contact Form 7
    Debug Bar
    kk Star Ratings
    WordPress SEO
    WP-Mail-SMTP
    WP to Twitter
    5. Tried it, doesn’t help. I can send a test message via WP Mail SMTP, however.
    6. Gridly

    To/From/Subject fields are set.

    Best
    Matt

    Had this problem. Applied this patch and it works fine now:

    http://core.trac.wordpress.org/attachment/ticket/20970/20970.patch

    Had this problem. Applied this patch and it works fine now:

    http://core.trac.wordpress.org/attachment/ticket/20970/20970.patch

    I tried it (as said before), not worked

    Arthur Klein

    @pursuitofhappinessyoga

    I am also getting following errors since upgrading to WP 3.4 while uploading images drag and drop to nextgen Any thoughts? Are you going to continue to develop plugin further since jetpack now has there contact form solution?

    Any thoughts about following errors?

    ERROR: IMG_0532.JPG :
    Fatal error: Call to undefined function wpcf7_add_tag_generator() in /home6/movingin/public_html/erichschiffmann/wp-content/plugins/contact-form-7/modules/text.php on line 152
    ERROR: IMG_0537.JPG :
    Fatal error: Call to undefined function wpcf7_add_tag_generator() in /home6/movingin/public_html/erichschiffmann/wp-content/plugins/contact-form-7/modules/text.php on line 152
    ERROR: IMG_0543.JPG :
    Fatal error: Call to undefined function wpcf7_add_tag_generator() in /home6/movingin/public_html/erichschiffmann/wp-content/plugins/contact-form-7/modules/text.php on line 152
    ERROR: IMG_0561.JPG :
    Fatal error: Call to undefined function wpcf7_add_tag_generator() in /home6/movingin/public_html/erichschiffmann/wp-content/plugins/contact-form-7/modules/text.php on line 152
    ERROR: IMG_0588.JPG :
    Fatal error: Call to undefined function wpcf7_add_tag_generator() in /home6/movingin/public_html/erichschiffmann/wp-content/plugins/contact-form-7/modules/text.php on line 152
    ERROR: IMG_0591.JPG :
    Fatal error: Call to undefined function wpcf7_add_tag_generator() in /home6/movingin/public_html/erichschiffmann/wp-content/plugins/contact-form-7/modules/text.php on line 152

    Hey Takayuki Miyoshi,

    here is my information for the survey.

    1. Yes
    2. Shared Hosting
    3. 5.3
    4. 2 Click Social Media Buttons
      Disqus Comment System
      FeedBurner FeedSmith
      Google XML Sitemaps
      NinjaWPass
      Search Everything
      Statify
      WordPress SEO
    5. No, I don’t use a SMTP plugin.
    6. LeetPress 1.2.1
    7. To: kontakt@*****.cc; From: [your-name] <[your-email]>; Subject: [your-subject]

    Best regards,
    KeSch

    Plugin Author Takayuki Miyoshi

    @takayukister

    This issue should have been fixed in WP 3.4.1.

    Hi,

    I just update to WP 3.4.1 then update to CF7 3.2. (because I was running old version of both).
    When testing the form, it says it was send with success, but I never receive the mail on my Google Apps account (event not in spam).

    I run CF 3.2 on several site WP 3.3.x with no problem. But since I update my site to WP 3.4.1, the mail seems to be sent but never reach my inbox.

    Answers to your survey

    1. I suppose Yes (but I don’t need comment on my site so I don’t have notification)
    2. Shared hosting
    3. PHP 5.3.10
    4. Askimet (not active), BackWPup 2.11, FancyBox for WordPress 3.0.1, Google XML Sitemaps 3.2.7
    5. No
    6. Custom theme
    7. To info@mycompany.xx (Google Apps account)
    From: [your-name] <[your-email]>;
    Subject : [your-subject]

    Thanks for your support 😉

    OOOh yes !

    All my test emails have arrived with two hour late !
    So, it’s working

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘[Plugin: Contact Form 7] Not working with WordPress 3.4?’ is closed to new replies.
Skip to toolbar