Hi @kadisaes
You might want to check your Fatal Error logs first.
Go to WooCommerce → Status → Logs and look for the most recent logfile starting with “fatal-errors-2020-11….”, to see if that gives any more details about what could be causing this.
Ok thank you, this is the fatal error log that comes up but i doný know what it means
2020-11-11T11:09:22+00:00 CRITICAL Uncaught Error: Class ‘PHPMailer\PHPMailer\SMTP’ not found in /var/www/vhosts/27/195309/webspace/siteapps/WordPress-199590/htdocs/wp-includes/PHPMailer/PHPMailer.php:1821
Stack trace:
#0 /var/www/vhosts/27/195309/webspace/siteapps/WordPress-199590/htdocs/wp-includes/PHPMailer/PHPMailer.php(1942): PHPMailer\PHPMailer\PHPMailer->getSMTPInstance()
#1 /var/www/vhosts/27/195309/webspace/siteapps/WordPress-199590/htdocs/wp-includes/PHPMailer/PHPMailer.php(1858): PHPMailer\PHPMailer\PHPMailer->smtpConnect(Array)
#2 /var/www/vhosts/27/195309/webspace/siteapps/WordPress-199590/htdocs/wp-includes/PHPMailer/PHPMailer.php(1601): PHPMailer\PHPMailer\PHPMailer->smtpSend(‘Date: Wed, 11 N…’, ‘<!DOCTYPE html>…’)
#3 /var/www/vhosts/27/195309/webspace/siteapps/WordPress-199590/htdocs/wp-includes/PHPMailer/PHPMailer.php(1437): PHPMailer\PHPMailer\PHPMailer->postSend()
#4 /var/www/vhosts/27/195309/webspace/siteapps/WordPress-199590/htdocs/wp-content/plugins/wp-mail-smtp/src/MailCatcher.php(80): PHPMailer\PHPMailer\PHPMailer->
Hey @kadisaes
It looks like there may be an issue with your site’s email sending functionality — as soon as your site is trying to send an email, it will show the error screen (you can test this by going to this page and request a new password email for your account).
You may want to check if you have any SMTP plugins that take care of sending emails, that need to be updated or reconfigured. If you don’t have that, you will need to check this with your hosting provider, who can look into why your site crashes as soon as an email is being sent.
Ok thank you, it seems to be a problem with a plugin I have for sending confirmation emails for online orders called WP Mail SMTP, I updated it and contacted my hosting company and they say the checked that the data entered was correct but it´s strange that it worked fine up until now… at the minute I have disabled the plugin so that the error doesn´t show when people are placing orders but they aren´t receiving confirmation emails, can you reccommend any other similar plugin that would do the same job. Thanks
Hey @kadisaes
Sending emails from your site is something that should be included with your hosting package and in a lot of cases, you won’t need an additional plugin for that. Since that is different for every hosting provider, I’m not really able to help with that — your host should be able to help you set that up.
If you do need to use a third party SMTP service, then WP Mail SMTP should work well, but it depends on which service you connect it to.
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.