Title: PHP 8.0
Last modified: December 18, 2020

---

# PHP 8.0

 *  Resolved [Camilo](https://wordpress.org/support/users/camilo517/)
 * (@camilo517)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-8-0-2/)
 * I think the plugin does not work well with php 8.0

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

 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-8-0-2/#post-13821068)
 * Hi [@camilo517](https://wordpress.org/support/users/camilo517/),
 * When you get a chance, could you please share why do you think so? Are you getting
   any issues or errors with PHP 8.0 and using any specific mailer? I just tested
   the plugin with PHP 8 and worked fine for me.
 * Thanks!
 *  [Zorem](https://wordpress.org/support/users/zorem/)
 * (@zorem)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-8-0-2/#post-13821206)
 * Hi, we get errors with PHP 8 as well, this is the error:
    Fatal error: Uncaught
   Error: Failed opening required ‘/public_html/wp-content/plugins/wp-mail-smtp/
   vendor_prefixed/symfony/polyfill-mbstring/Resources/mb_convert_variables.php8
 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-8-0-2/#post-13825873)
 * Hi [@zorem](https://wordpress.org/support/users/zorem/),
 * When you get a chance, could you please share how you’re upgrading the PHP and
   the version of WP Mail SMTP plugin you’re using. The file in question was [removed](https://github.com/symfony/polyfill-mbstring/commit/39d483bdf39be819deabf04ec872eb0b2410b531)
   from the library symfony/polyfill-mbstring itself and should not be required.
   In case it’s relevant, here’s some [discussion](https://github.com/composer/composer/issues/9331)
   on this.
 * I hope this helps!
 *  [Zorem](https://wordpress.org/support/users/zorem/)
 * (@zorem)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-8-0-2/#post-13825946)
 * Hi [@sanzeeb3](https://wordpress.org/support/users/sanzeeb3/)
    We are using latest
   version of WP Mail SMTP. We updated the PHP version by enabling Remi-repo-PHP8.0,
   then we update our server by “yum update” command.
 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-8-0-2/#post-13827284)
 * Hi [@zorem](https://wordpress.org/support/users/zorem/) and [@camilo517](https://wordpress.org/support/users/camilo517/),
 * thank you for reporting this issue!
 * We are working on adding support for PHP 8. It will be available in one of the
   next plugin updates.
 * For now, we suggest sticking to PHP v7.4.x if possible.
 * If you have to use PHP 8, then [please add this file](https://gist.github.com/capuderg/dba3d09654281bb326ec6ef95fbf9c0a)
   to `.../wp-content/plugins/wp-mail-smtp/vendor_prefixed/symfony/polyfill-mbstring/
   Resources/` folder. So the file path will be `.../wp-content/plugins/wp-mail-
   smtp/vendor_prefixed/symfony/polyfill-mbstring/Resources/mb_convert_variables.
   php8`.
 * Thanks again and let us know if you uncover any other issues with PHP 8.
 * Have a nice day!
 *  Thread Starter [Camilo](https://wordpress.org/support/users/camilo517/)
 * (@camilo517)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-8-0-2/#post-13827553)
 * I think the update should come out as soon as possible, there are many hostings
   that when hiring a plan already have php 8.0 activated by default.
    Php 8.0 was
   out almost a month ago
 *  [Zorem](https://wordpress.org/support/users/zorem/)
 * (@zorem)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-8-0-2/#post-13829268)
 * [@capuderg](https://wordpress.org/support/users/capuderg/) Thanks!

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

The topic ‘PHP 8.0’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Zorem](https://wordpress.org/support/users/zorem/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/php-8-0-2/#post-13829268)
 * Status: resolved