• Resolved htrev

    (@htrev)


    Hi guys

    Been using this plugin for 5+ years, works like a dream, thanks!

    Hit a problem with the latest release 3.9.2 though. I migrated – it took a couple of repeated attempts but all OK eventually and the two new tables look fine, with all subscriptions and queued items there. The problem is that now only the first 25(ish) daily digest emails are getting sent out, to the users with the lowest IDs. The rest don’t appear in the summary page (?sum=1), and aren’t ever actually sent (or at least, the affected users report that they aren’t received).

    Weirdly, there are send records in the mail server logs for all the emails including the missing ones. And as I say, the subscriptions and queued items in the DB are all present and correct. My guess is there’s some kind of memory error which means that nothing gets written into the summary page / emails.

    Any suggestions?

    Harry

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Boone Gorges

    (@boonebgorges)

    Hi Harry – Thanks for the report, and sorry for the troubles.

    3.9+ changed the behavior of the ?sum=1 page, so that only 25 items are shown by default. This helps to avoid timeouts and other problems on large installations. You can adjust this by using the user_count param: example.com?sum=1&user_count=100. Alternatively, you can check the digest for specific users with the user_ids parameter: ?sum=1&user_ids=3,52,1010

    If the mail logs indicate that the emails are going out, then they are going out ??

    My guess is that, because you only saw 25 items in ?sum=1, you assumed that the missing emails belong to the first 25 users. But my guess is that this is a red herring – there may indeed be a problem with outgoing mail, but it’s unlikely to be related to ?sum=1 behavior.

    As a starting place, you might consider enabling BPGES logging. Put the following in wp-config.php:

    
    define( 'BPGES_DEBUG', true );
    

    By default, the debug log should be in wp-content/uploads/bpges-debug.log. It’ll give you an overview of digest emails, which are now sent in batches, and this may be a starting point for debugging. Since you say that your server log indicates that the emails are going out, I’m guessing that bpges-debug.log will show the same thing. At least, this could eliminate some possibilities.

    Thread Starter htrev

    (@htrev)

    Thanks for the detailed response Boone. Using user_count I can see all the messages now in the summary page. Also my users report getting emails again this morning – no idea why, but I’ll keep monitoring and try debugging if they disappear again. Will resolve this issue for now. Thanks again!

    Plugin Author Boone Gorges

    (@boonebgorges)

    Excellent! Thanks for circling back.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Daily digests not being sent’ is closed to new replies.