Fatal PHP Error – PHPMailer exception on empty author meta
-
When an author has been deleted completely from the system or empty
AddReplyTo()
params passed, a fatal error is triggered on post save. Stack trace below.NOTICE: PHP message: PHP Fatal error: Uncaught PHPMailer\PHPMailer\Exception: Invalid address: (Reply-To): in /var/www/html/wp/wp-includes/PHPMailer/PHPMailer.php:1092 Stack trace: #0 /var/www/html/wp/wp-includes/PHPMailer/PHPMailer.php(1059): PHPMailer\PHPMailer\PHPMailer->addOrEnqueueAnAddress('Reply-To', '', '') #1 /var/www/html/wp-content/plugins/email-post-changes/class.email-post-changes.php(262): PHPMailer\PHPMailer\PHPMailer->addReplyTo('', '') #2 /var/www/html/wp/wp-includes/class-wp-hook.php(307): Email_Post_Changes->phpmailer_init(Object(PHPMailer\PHPMailer\PHPMailer)) #3 /var/www/html/wp/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #4 /var/www/html/wp/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #5 /var/www/html/wp/wp-includes/pluggable.php(538): do_action_ref_array('phpmailer_init', Array) #6 /var/www/html/wp-content/plugins/email-post-changes/class.email-post-changes.php(234): wp_mail(Array, '[SITE] Page c...', '<h2>Page change...') #7 /var/www/html/wp/wp-includes/class-wp-hook.php(307): Emai in /var/www/html/wp/wp-includes/PHPMailer/PHPMailer.php on line 1092
- The topic ‘Fatal PHP Error – PHPMailer exception on empty author meta’ is closed to new replies.