Fatal error: Uncaught Error: PHPMailer
-
I’m using WPForms Lite for contact form on most of the pages on my website. However, lately I’ve encountered this problem where after filling out and submitting the form, the website shows the error message: “There has been a critical error on this website. Learn more about troubleshooting WordPress.”
I tried running the site in debug mode and got this error message after hitting the submit button:
Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/htsol196/public_html/wp-includes/PHPMailer/PHPMailer.php:874 Stack trace: #0 /home/htsol196/public_html/wp-includes/PHPMailer/PHPMailer.php(1930): PHPMailer\PHPMailer\PHPMailer->mailPassthru() #1 /home/htsol196/public_html/wp-includes/PHPMailer/PHPMailer.php(1658): PHPMailer\PHPMailer\PHPMailer->mailSend() #2 /home/htsol196/public_html/wp-includes/PHPMailer/PHPMailer.php(1494): PHPMailer\PHPMailer\PHPMailer->postSend() #3 /home/htsol196/public_html/wp-includes/pluggable.php(548): PHPMailer\PHPMailer\PHPMailer->send() #4 /home/htsol196/public_html/wp-content/plugins/wpforms-lite/includes/emails/class-emails.php(408): wp_mail() #5 /home/htsol196/public_html/wp-content/plugins/wpforms-lite/includes/class-process.php(832): WPForms_WP_Emails->send() #6 /home/htsol196/public_html/wp-content/plugins/wpforms-lite/includes/class-process.php(430): WPForms_Process->entry_email() #7 /home/htsol196/public_html/wp-content/plugins/wpforms-lite/includes/class-process.php(109): WPForms_Process->process() #8 /home/htsol196/public_html/wp-includes/class-wp-hook.php(307): WPForms_Process->listen() #9 /home/htsol196/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #10 /home/htsol196/public_html/wp-includes/plugin.php(524): WP_Hook->do_action() #11 /home/htsol196/public_html/wp-includes/class-wp.php(787): do_action_ref_array() #12 /home/htsol196/public_html/wp-includes/functions.php(1330): WP->main() #13 /home/htsol196/public_html/wp-blog-header.php(16): wp() #14 /home/htsol196/public_html/index.php(17): require('/home/htsol196/...') #15 {main} thrown in /home/htsol196/public_html/wp-includes/PHPMailer/PHPMailer.php on line 874
Both WordPress and WPForms on my site are in their latest version.
Any help would be appreciated. Thanks in advanced.
The page I need help with: [log in to see the link]
- The topic ‘Fatal error: Uncaught Error: PHPMailer’ is closed to new replies.