• Since updating WordPress to the latest version and some other (seemingly unrelated) plugin updates BBPress notify is not sending notifications.

    I have made no other changes. The email log shows shows other emails being sent (e.g. users changing passwords) but no notifications of new topics nor replies.

    Any suggestions?

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter bobjgarrett

    (@bobjgarrett)

    Correction, to my post, I now see that replies are being sent out but notifications of new topics are not.

    Plugin Author useStrict

    (@usestrict)

    Hi Bob,

    Thanks for reaching out. What do you get when you use the Dry Run tool on a topic?

    Cheers,
    Vinny

    Thread Starter bobjgarrett

    (@bobjgarrett)

    Dry Run, I think shows no problem. Lots of numbers into arrays then… lots of …

    [2024-02-02 14:32:10] [23852] [bbPress_Notify_noSpam]: Entering mailout loop for 483 users. [2024-02-02 14:32:10] [23852] [bbPress_Notify_noSpam]: Processing user: 267:xxx@xxxxx [2024-02-02 14:32:10] [23852] [bbPress_Notify_noSpam]: Skipping mailout due to dry-run in effect. [2024-02-02 14:32:10] [23852] [bbPress_Notify_noSpam]: Processing user: 326:xxx@xxxxx [2024-02-02 14:32:10] [23852] [bbPress_Notify_noSpam]: Skipping mailout due to dry-run in effect. [2024-02-02 14:32:10] [23852] [bbPress_Notify_noSpam]: Processing user: 641:xxx@xxxxx [2024-02-02 14:32:10] [23852] [bbPress_Notify_noSpam]: Skipping mailout due to dry-run in effect.

    where I have replaced email addresses with xxxxx.

    So is that suggesting it should be working? But if it isn’t what might the problem be?

    Plugin Author useStrict

    (@usestrict)

    483 users is quite a lot. Please check that you have background notifications enabled. I also recommend installing WP Email Logging to see if any notifications are going out (maybe it’s not reaching your test email address before the host kills the process).

    Let me know what you find.

    Thread Starter bobjgarrett

    (@bobjgarrett)

    Background notification is enabled and we have had that sort of number of users for a long time with no issues and used your plugin for maybe a year.

    We use the plugin “post SMTP” to manage and log emails and it shows various emails (password resets, replies, messages etc.) being sent before and after this one failed. The last new topic which goes to all was just before the WP update and there have been no other new topics since.

    I am going to try to check the server logs…

    Thread Starter bobjgarrett

    (@bobjgarrett)

    Wish I hadn’t looked at server logs!

    But key maybe the following as this happened at the time the email should have been triggered. Does this help?

    [31-Jan-2024 17:38:11 UTC] PHP Deprecated: Function get_option was called with an argument that is deprecated since version 5.5.0! The “blacklist_keys” option key has been renamed to “disallowed_keys”. in /home/dufour/P4ML4XO9/htdocs/wp-includes/functions.php on line 6031

    Thread Starter bobjgarrett

    (@bobjgarrett)

    Also today…

    [02-Feb-2024 09:42:42 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in /home/dufour/P4ML4XO9/htdocs/wp-content/plugins/swpm-bbpress/classes/class.swpm-bbpress.php on line 105
    [02-Feb-2024 09:42:42 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in /home/dufour/P4ML4XO9/htdocs/wp-content/plugins/swpm-bbpress/classes/class.swpm-bbpress.php on line 105

    Thread Starter bobjgarrett

    (@bobjgarrett)

    repeated

    • This reply was modified 9 months, 3 weeks ago by bobjgarrett. Reason: error
    Thread Starter bobjgarrett

    (@bobjgarrett)

    Is there anyway to retrigger a notification for a post?

    Plugin Author useStrict

    (@usestrict)

    Those notifications are not from my plugin and I can’t tell for sure if they’re conflicting – I don’t think they are.

    Is there anyway to retrigger a notification for a post?

    Yes, to to the Admin area, open the editor for the post, check the Send Notifications checkbox if it’s not already checked, and click Update.

    Use WP Crontrol plugin to see if you have any cron jobs called bbpress_notify_bg_* (can be topic or reply) after creating a topic in the front end. If you do see it, trigger the run and check the email logs.

    Thread Starter bobjgarrett

    (@bobjgarrett)

    Thanks for the quick reply.

    That checkbox was not ticked so I set it and updated. It is now sending.

    Hope this was a one-off!

    Thread Starter bobjgarrett

    (@bobjgarrett)

    It seems it was not a one-off as it has happened again.

    Under Wp-CronControl in Cron Events I cannot see any event with a name starting bbpress_notify_bg_*

    Does that suggest a problem, or better still a solution?

    Plugin Author useStrict

    (@usestrict)

    The bg jobs are transient. You’ll only see one after a topic/reply has been created in the front end. It will go away once it’s been run by WP.

    Try creating a test post in the front end and immediately check for the cron job again. It should be there.

    Cheers,
    Vinny

    Thread Starter bobjgarrett

    (@bobjgarrett)

    This is weird! I triggered it to send the notifications for the new post which it did. I also noticed some notifications of replies to a topic had been sent out, but replies for another topic had not. I then triggered it to send those and watched the cron Event list. I never saw a bbpress cron job appear but maybe it was too transient.

    So it seems to be sending for some and not others. Might this be because of the numbers to be sent? In which case is there another way to achieve this?

    Plugin Author useStrict

    (@usestrict)

    You can log outgoing emails with the WP Email Logging plugin. This will confirm if some notifications are going out or not. If this is indeed the case, then I recommend the Bulk Mailer Premium add-on. It uses Mailgun or Sendgrid API to send up to 1000 emails in the time that it normally takes to send one.

    https://usestrict.net/product/bbpress-notify-no-spam-bulk-mailer/

    Cheers,
    Vinny

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Upgraded WP, now no notifications’ is closed to new replies.