user_digest_send_hour_gmt
outside the valid values of 0 - 23 in certain casesget_subscribers_for_hour
function. The second parameter for the function is supposed to be an offset in hours from UTC.includes/html_messenger.php
, which overrides the messenger class, was updated to include new code added in /includes/functions_messenger.php
since the html_messenger class was first createdYes I have done all those stepsMarkDHamill wrote: ↑Tue Dec 26, 2017 4:59 pm That's odd. I assume you disabled the extension, removed the old files, uploaded the new files and enabled the extension again. If you did all that, try refreshing the cache.
"version": "3.2.5-RC12",
MarkDHamill wrote: ↑Tue Dec 26, 2017 8:02 pm Check the composer.json file for the extension. It should show on line 6:
"version": "3.2.5-RC12",
If it does it suggests you have the right software, if not perhaps you download the wrong software.
Code: Select all
"name": "phpbbservices/digests",
"type": "phpbb-extension",
"description": "Sends daily, weekly or monthly digests of posts or bookmarked topics to subscribers via email.",
"homepage": "https://phpbbservices.com/digests_wp",
"version": "3.2.4-RC11",
"license": "GPL-2.0",
"authors": [
MarkDHamill wrote: ↑Sat Dec 23, 2017 3:15 am Digests version 3.2.5-RC12 is released! In addition, it's been submitted for extension team review. With luck it may finally get approved. Given its complexity I expect they will reject it again. I expect it will take a few months to get a review, based on past experience.
link or download the archive from my site.
email_package_size > 0
), digests won't go out (or more specifically, be placed in the queue) unless the messenger object's save_queue()
function is called. So after line 1181 of version 3.2.5 in /cron/task/digests.php
add:Code: Select all
// save queue for later delivery (if applicable)
$html_messenger->save_queue();
email_package_size = 0
. I assumed this was something about how my web server email interface was configured. I also assumed that when $html_messenger->send()
was called it placed it into the queue unless email_package_size = 0
. It's counter-intuitive to call $html_messenger->send()
and then have to call $html_messenger->save_queue()
afterward to ensure it gets in the queue.