correliatt
Forum Replies Created
-
@threadi so it seems like depending on action I’m taking, I get different error messages all connected to the PHPMailer function. Just tried to add another user and then I get the following error:
Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in…/PHPMailer.php:874 Stack trace: #0 …/PHPMailer.php(1961): PHPMailer\PHPMailer\PHPMailer->mailPassthru() #1 …/PHPMailer.php(1682): PHPMailer\PHPMailer\PHPMailer->mailSend() #2 …/PHPMailer.php(1518): PHPMailer\PHPMailer\PHPMailer->postSend() #3 …/pluggable.php(546): PHPMailer\PHPMailer\PHPMailer->send() #4 …/pluggable.php(2194): wp_mail() #5 …/user.php(3457): wp_new_user_notification() #6 …/class-wp-hook.php(310): wp_send_new_user_notifications() #7 …/class-wp-hook.php(334): WP_Hook->apply_filters() #8 …/plugin.php(517): WP_Hook->do_action() #9 …/user.php(247): do_action() #10 …/user-new.php(195): edit_user() #11 {main} thrown in …/PHPMailer.php on line 874
Do you have any clues what could be wrong?
Thanks for your reply, @threadi ! So now I have the debugging on and the error has something to do with a clinch between Wordfence and PHPMailer.php. When I inactivated the Wordfence plugin everything works without any error codes.
Don’t see why Wordfence has anything to do with PHPMailer tho. Tried to google it as well but can’t really find anything.. any clues?