HideThis is a minor problem that happens with version 2.2.17 only. If there are no digests going out for an hour, a Starting mail_digests.php will appear but an Ending mail_digests.php message will not. Apparently it's not a good idea to try to save the message queue if there is nothing in it, and that keeps the program from closing normally.
To fix around line 651 of mail_digests.php find:
- Code: Select all
$messenger->queue->save(); // Writes the queue to disk. Seems to be necessary
$messenger->queue->process(true); // Send everything in the queue, even if it is over the limit.
and replace with:
- Code: Select all
if (sizeof($rowset) > 0)
{
$messenger->queue->save(); // Writes the queue to disk. Seems to be necessary
$messenger->queue->process(true); // Send everything in the queue, even if it is over the limit.
}
I went to do this and found the code to find had already been commented out. Do I then add the second code?
-Christi
eTA I am indeed running 2.2.17