Title: Form error using PHP 7.4
Last modified: February 7, 2020

---

# Form error using PHP 7.4

 *  Resolved [vespino](https://wordpress.org/support/users/vespino/)
 * (@vespino)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/form-error-using-php-7-4/)
 * My server runs php 7.4 and form submissions are saved in flamingo but mails are
   not sent and an error is shown. Are there known issues with php 7.4 and if yes
   is there a solution?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fform-error-using-php-7-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/form-error-using-php-7-4/#post-12412153)
 * > Are there known issues with php 7.4
 * No.
 *  Thread Starter [vespino](https://wordpress.org/support/users/vespino/)
 * (@vespino)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/form-error-using-php-7-4/#post-12412243)
 * Then why am I not able to send any forms? Could you test the form on the contact
   page of the website I sent? I have more examples.
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/form-error-using-php-7-4/#post-12412333)
 * FAQ > [After submitting the form, I get an error message stating “There was an error trying to send your message.” What is wrong?](https://contactform7.com/faq/after-submitting-the-form-i-get-an-error-message/)
 *  Thread Starter [vespino](https://wordpress.org/support/users/vespino/)
 * (@vespino)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/form-error-using-php-7-4/#post-12412438)
 * I wonder if that is true. This is the error I’m getting using PHP 7.4:
 * `{"into":"#wpcf7-f824-p16-o1","status":"mail_failed","message":"Failed to send
   your message. Please try later or contact the administrator by another method."}`
 * Same server using PHP 7.3, no problems.
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/form-error-using-php-7-4/#post-12412579)
 * FAQ > [I get an error message with a red border. So, how can I solve this?](https://contactform7.com/faq/i-get-an-error-message-with-a-red-border-so-how-can-i-solve-this/)
 *  Thread Starter [vespino](https://wordpress.org/support/users/vespino/)
 * (@vespino)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/form-error-using-php-7-4/#post-12416267)
 * It’s not CF7 that has problems, but apparently there is a problem with PHP 7.4.1
   and wp_mail() which CF7 uses. This should be solved with PHP 7.4.2.
 *  [pca2014](https://wordpress.org/support/users/pca2014/)
 * (@pca2014)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/form-error-using-php-7-4/#post-12941333)
 * I didn’t have any luck with PHP 7.4.2 (bad build I assume) but all is well using
   PHP 7.4.5 with the latest version of WordPress 5.4.1 on three different websites
   all using different themes. Clearly not a Contact 7 problem.

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

The topic ‘Form error using PHP 7.4’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [pca2014](https://wordpress.org/support/users/pca2014/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/form-error-using-php-7-4/#post-12941333)
 * Status: resolved