• Resolved Alisson SaN

    (@alissonpierre)


    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?

    • This topic was modified 7 years, 11 months ago by Alisson SaN.
    • This topic was modified 7 years, 11 months ago by Alisson SaN.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Alisson SaN

    (@alissonpierre)

    file WPML_Plugin.php:

    $failed_mail = Mail::find_one($wpml_current_mail_id);
    $failed_mail->set_error($wperror->get_error_message())->save();
    • This reply was modified 7 years, 11 months ago by Alisson SaN.

    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.

    This is fixed in 1.8.1

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘function set_error’ is closed to new replies.