Forums
Home / Plugin: WP Mail Logging / function set_error
(@alissonpierre)
7 years, 11 months ago
function problem:
Fatal error: Call to a member function set_error() on boolean in ../wp-content/plugins/wp-mail-logging/WPML_Plugin.php on line 189
please, how fix?
file WPML_Plugin.php:
$failed_mail = Mail::find_one($wpml_current_mail_id); $failed_mail->set_error($wperror->get_error_message())->save();
(@no3x)
Hi @alissonpierre,
I don’t understand under what condition the failed mail could not be found in the database. But I will add a check to prevent this error. This can lead to logging failed mails without the actual error message.
7 years, 9 months ago
This is fixed in 1.8.1