Hi @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!
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
Hi @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 from the library symfony/polyfill-mbstring itself and should not be required. In case it’s relevant, here’s some discussion on this.
I hope this helps!
Hi @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.
Hi @zorem and @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 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
(@camilo517)
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