CRON is working fine according to the Scheduler and all mails were working fine as of monday. Yesterday I noticed that no emails were going out. Is the normal return value from core_email_queue_send_all
supposed to be Mage_Core_Model_Email_Quenue
?
Nonetheless I can see transactional emails being generated in the database under mage_core_email_queue
.
My problem being that they are not sent, either to the recipient or being delivered to the bcc.
Changes I did since monday were installing and uninstalling 2 extensions, Algolia Search and Instant Search+.
I've tried editing cron.php and have added $isShellDisabled = true;
beneath
$isShellDisabled = (stripos(PHP_OS, 'win') === false) ? $isShellDisabled : true;
and changed
$cronPath = escapeshellarg(dirname(__FILE__) . '/cron.sh');
to
$cronPath = escapeshellarg(dirname(__FILE__) . '/scheduler_cron.sh');
Any other tricks I should try to get emails functioning again?
Or is my best bet to roll the database back a few days?
When I manually try to fire cron.php from the browser it doesn't show up in the scheduler.
[10-Dec-2015 11:00:15 UTC] PHP Notice: Trying to get property of non-object in /home/u13g8j8/www/app/code/community/Wyomind/Watchlog/Model/Observer.php on line 112 [10-Dec-2015 11:00:15 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/u13g8j8/www/app/code/community/Wyomind/Watchlog/Model/Observer.php on line 112
mage_cron_schedule
is filled with 125 rows. Some pending and the rest have a status ofsuccess
. The same I can find by looking at the scheduler underList View