Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Cannot send email: Undefined property: bbPress_Notify_noSpam::$wp_mail_error

$
0
0

Replies: 0

Hi,

I’m running bbPress + bbPress Notify (No Spam) in conjunction with WP Mail SMTP. Whenever I configure a custom SMTP server in WP Mail SMTP, I get the following errors in my debug.log:

[01-Oct-2018 14:34:57 UTC] PHP Notice: Undefined property: bbPress_Notify_noSpam::$wp_mail_error in /home/.../www/wp-content/plugins/bbpress-notify-nospam/bbpress-notify-nospam.php on line 935

Here is line 935:

do_action( 'bbpnns_email_failed_single_user', $user_info, $filtered_subject, $filtered_body, $recipient_headers, $this->wp_mail_error );

The wp_mail_error property is not available. Unless I’m mistaken, it is supposed to be filled by the capture_wp_mail_failure function. For some reason, it isn’t.

I’m not sure whether I should turn to WP Mail SMTP to solve this error. Since the error log points to bbPress Notify, I thought I would post this message here.

What do you think?


Viewing all articles
Browse latest Browse all 59525

Trending Articles