• Resolved codecoruan

    (@codecoruan)


    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:11

    Deprecated: 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:11

    Because 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Brevo

    (@neeraj_slit)

    Hello,

    thanks for reporting.

    Currently we are working on a fix for this issue and it should be fixed by next week.
    We will update you soon.

    Regards,

    Sendinblue Team

    Plugin Author Brevo

    (@neeraj_slit)

    Hello, @codecoruan,

    last week we made a fix for SMTP and released latest version 3.0.6. Please upgrade the plugin if you still didn’t.

    Regarding the warnings for deprecated Classes, this will be fixed in another release.

    Regards,
    Sendinblue Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP warnings and deprecations in WP 5.5’ is closed to new replies.