Debug Log when I enable the WP Mail SMTP plug-in and send a test email from it.
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 /home/userfolder/public_html/wp-includes/functions.php on line 4963
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 /home/userfolder/public_html/wp-includes/functions.php on line 4963
Fatal error: Cannot declare class PHPMailer\PHPMailer\SMTP, because the name is already in use in /home/userfolder/public_html/wp-includes/PHPMailer/SMTP.php on line 30
There has been a critical error on your website. Please check your site admin email inbox for instructions.
Learn more about debugging in WordPress.
Hi @ajtek,
The error message appears if your plugins or theme is not compatible with WordPress 5.5. Please share the full error log after sending a test email and share your list of activated plugins or follow this troubleshooting documentation to find out the incompatible plugin.
Thanks.
Hi @ajtek – We haven’t heard from you in about a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.
Sorry, been really busy.
The full error log is what I had already posted. If there’s a different log, please let me know where it is, or how to generate it.
As mentioned, that’s from the debug log.
Found another log file:
[26-Sep-2020 12:55:43 UTC] PHP Fatal error: Cannot declare class PHPMailer\PHPMailer\SMTP, because the name is already in use in /home/userfolder/public_html/wp-includes/PHPMailer/SMTP.php on line 30
Again, they all reference the same file.
Active Plugins list:
Advanced noCaptcha & invisible Captcha PRO
AutomateWoo
Autoptimize
Classic Editor
Code Snippets
Contact Form 7
Envato Market
Envision Core Plugin
EWWW Image Optimizer
Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue
Official Facebook Pixel
Redirection
Slider Revolution
Safe SVG
SupportCandy
WooCommerce Stripe Gateway
WooCommerce Google Analytics Integration
WooCommerce Multi-currency
WooCommerce PDF Invoices & Packing Slips
WooCommerce Sendinblue Newsletter Subscription
WooCommerce Subscriptions
WooCommerce
Wordfence Assistant
Wordfence Security
Yoast SEO
WP Mail Logging
SupportCandy – Automatic Close Ticket
SupportCandy – Canned Reply
SupportCandy – Email Piping
SupportCandy – Reports
SupportCandy – Usergroup
SupportCandy Woocommerce Add-On
Enabled debugging mode again, activated your plugin, then went to Settings > Send Test email
Got this erorr:
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 /home/userfolder/public_html/wp-includes/functions.php on line 4963
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 /home/userfolder/public_html/wp-includes/functions.php on line 4963
Fatal error: Cannot declare class PHPMailer\PHPMailer\SMTP, because the name is already in use in /home/userfolder/public_html/wp-includes/PHPMailer/SMTP.php on line 30
There has been a critical error on your website. Please check your site admin email inbox for instructions.
This doesn’t really give much detail as to what is calling it, but rather that it is being called by something which looks like the main WordPress functions file.
I’m using Envision Theme.
Hi @ajtek,
Thanks for the details. The potential conflict is with the “WooCommerce Sendinblue Newsletter Subscription” plugin and this option within that plugin. Please disable this option or temporarily deactivate this plugin. “Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue” might also create the conflict.
I hope this helps!
Disabling both:
WooCommerce Sendinblue Newsletter Subscription
Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue
Allowed me to use the plugin successfully. Disabling only 1 still exhibited the same symptom, however leaving “WooCommerce Sendinblue Newsletter Subscription” active, while keeping the other deactivated, DID send the testing email before throwing the error.
I’ve written to SendInBlue’s support team on the matter.
Hi @ajtek – Thanks for your testing. Please note that you can only disable this option within that plugin.
Have a good one!