• Dear sir/madam,

    Since the most recent WordPress 5.5.1 update I am getting a critical error when sending transactional e-mails in Woocommerce.

    I have the following set-up:
    – WordPress 5.5.1
    – Woocommerce 4.4.1
    – PHP 7.4
    – Theme: Hestia Pro 3.0.4

    – WP-Mail-SMTP 2.3.1 configured with Sendinblue

    After debugging I found out that the following plugins result in a critical error when trying to send transactional e-mails:

    – Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue 3.0.6
    – WooCommerce Sendinblue Newsletter Subscription 2.0.0

    My theme and all other plugins do not cause the critical error.

    According to WP-Mail-SMTP support, the Sendinblue plugins should be updated with WordPress 5.5 PHPmailer changes.

    However, both plugins have been updated 2 weeks and 20 hrs ago respectively according to the plugin page.

    Is there a way to resolve the issue?

    Thank you in advance!

Viewing 8 replies - 1 through 8 (of 8 total)
  • I have the same issue since updating won’t work at all need to downgrade

    Amy news on this? I’m using divi woocommerce and a few security plugins as soon as I update the website doesn’t send any notifications at all. 2 websites same issue.

    Plugin Author Brevo

    (@neeraj_slit)

    Hello @vincentdonker,

    thanks for reaching us.

    We are currently working on a fix for that and this will be solved in next version.

    @tl22 We will need more information about your system. Would you please use our contact page to reach us?

    Regards,
    Sendinblue Team

    Hi The latest update is still not working and stop emails being sent via the website as soon as I update this plugin.

    Website 1:
    ## System Status ##
    :: 2020-10-06 @ 05:39:10 UTC

    Writable wp-content Directory
    1

    PHP Version
    7.3

    memory_limit
    512M

    post_max_size
    512M

    max_execution_time
    300

    upload_max_filesize
    512M

    max_input_time
    300

    max_input_vars
    1000

    display_errors
    0

    hi @neeraj_slit Do you have a ETA when the next release will be deployed with the fix, seems to be a error with the PHPMailer class being defined already.

    
    2020-10-09T06:32:04+00:00 CRITICAL Cannot declare class PHPMailer\PHPMailer\SMTP, because the name is already in use in /var/www/vhosts/********************.co.uk/wp-includes/PHPMailer/SMTP.php on line 30
    2020-10-09T06:32:08+00:00 CRITICAL Cannot declare class PHPMailer\PHPMailer\SMTP, because the name is already in use in /var/www/vhosts/********************.co.uk/wp-includes/PHPMailer/SMTP.php on line 30
    2020-10-09T07:03:52+00:00 CRITICAL Cannot declare class PHPMailer\PHPMailer\SMTP, because the name is already in use in /var/www/vhosts/********************.co.uk/wp-includes/PHPMailer/SMTP.php on line 30
    

    Think it’s to do with lines 10-15 in function.wp_mail.php

    
    	// (Re)create it, if it's gone missing
    	if ( !is_object( $phpmailer ) || !is_a( $phpmailer, 'PHPMailer' ) ) {
    		require_once ABSPATH . WPINC . '/class-phpmailer.php';
    		require_once ABSPATH . WPINC . '/class-smtp.php';
    		$phpmailer = new PHPMailer( true );
    	}
    
    
    Plugin Author Brevo

    (@neeraj_slit)

    Hi @llgreg

    Thank you for your message. We hope to deploy the fix for this issue by the end of the month of October.

    We appreciate your patience and understanding while this is implemented.

    Best regards,

    Sendinblue Team

    Hi @neeraj_slit

    I see that there is a v2.0.3 can you confirm if this issue has been resolved in this version please?

    From the changelog it looks like this is the fix?

    Fixed critical errors for PHP Mailer triggered for WordPress version 5.5 and beyond

    Hi I just updated to the latest version and this issue is still happening Just FYI needed to rollback to v1.2.28

    ## System Status ##
    :: 2021-01-22 @ 04:24:57 UTC

    Writable wp-content Directory
    1

    PHP Version
    7.3

    memory_limit
    512M

    post_max_size
    512M

    max_execution_time
    120

    upload_max_filesize
    512M

    max_input_time
    300

    max_input_vars
    1000

    display_errors
    0

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

The topic ‘Sendinblue critical error WP 5.5 PHPmailer’ is closed to new replies.