Since the last update, I get critical errors when trying to send e-mails via WP Mail SMTP.
I use the most recent version of WordPress and WooCommerce. PHP Version 7.4. WP Mail SMTP is configured with Sendinblue.
I tried the Action Scheduler plugin and WP-DBManager as suggested in https://wordpress.org/support/topic/there-has-been-a-critical-error-on-your-website-65/, this didn’t work.
I set up WordPress Error Logs in WP-Config as per https://www.wpbeginner.com/wp-tutorials/how-to-set-up-wordpress-error-logs-in-wp-config/. However, no debug.log file appears in my wp-content folder.
The following error displays when I am trying to send a test e-mail using WP Mail SMTP:
Deprecated: class-phpmailer.php has been deprecated since version 5.5.0. Instead, use wp-includes / PHPMailer / PHPMailer.php. The PHPMailer class has been moved to wp-includes / PHPMailer subdirectory and now uses the PHPMailer \ PHPMailer namespace. in /mysite.com/public_html/wp-includes/functions.php on line 4963 Deprecated: class-smtp.php has been deprecated since version 5.5.0. Instead, use wp-includes / PHPMailer / SMTP.php. The SMTP class has been moved to the wp-includes / PHPMailer subdirectory and now uses the PHPMailer \ PHPMailer namespace. in /mysite.com/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 /mysite.com/public_html/wp-includes/PHPMailer/SMTP.php on line 30
I don’t have enough knowledge of PHP, how can I resolve these errors?
Thank you in advance for your help!
- The topic ‘Critical Error’ is closed to new replies.