PHP warnings and deprecations in WP 5.5
-
We recently updated to the latest WordPress 5.5 and updated to version 3.0.5 of the plugin and I’m getting these PHP messages:
Warning: preg_split() expects parameter 2 to be string, array given in \wp-content\plugins\mailin\inc\sib-api-manager.php on line 248
Warning: Invalid argument supplied for foreach() in \wp-content\plugins\mailin\inc\sib-api-manager.php on line 251
Deprecated: class-phpmailer.php is deprecated since version 5.5.0! Use wp-includes/PHPMailer/PHPMailer.php instead. The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. in \wp-includes\functions.php on line 4963
– wp_mail()
– SIB_Manager::wp_mail_native( ) – sendinblue.php:242
– require( ‘C:\wamp64\www\new-pethero\wp-content\plugins\mailin\inc\function.wp_mail.php’ ) – sendinblue.php:805
– require_once( ‘C:\wamp64\www\new-pethero\wp-includes\class-phpmailer.php’ ) – function.wp_mail.php:13
– _deprecated_file( ) – class-phpmailer.php:11Deprecated: class-smtp.php is deprecated since version 5.5.0! Use wp-includes/PHPMailer/SMTP.php instead. The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. in C:\wamp64\www\new-pethero\wp-includes\functions.php on line 4963
– wp_mail()
– SIB_Manager::wp_mail_native( ) – sendinblue.php:242
– require( ‘C:\wamp64\www\new-pethero\wp-content\plugins\mailin\inc\function.wp_mail.php’ ) – sendinblue.php:805
– require_once( ‘C:\wamp64\www\new-pethero\wp-includes\class-phpmailer.php’ ) – function.wp_mail.php:13
– _deprecated_file( ) – class-phpmailer.php:11Because of this, I’m not receiving any of the transactional emails from the website. We have a few custom plugins that utilize the wp_mail() function to send mails. Is there something that needs to change?
- The topic ‘PHP warnings and deprecations in WP 5.5’ is closed to new replies.