My transactional emails recently stopped sending out. I have AOE Scheduler installed, and all cron jobs are running fine.
I noticed when the system tries to send out an email, I get the following error in my system.log:
2017-07-25T21:35:01+00:00 ERR (3): Recoverable Error: Argument 1 passed to Mage_Core_Model_Store_Group::setWebsite() must be an instance of Mage_Core_Model_Website, null given, called in /home/username/public_html/app/code/core/Mage/Core/Model/App.php on line 665 and defined in /home/username/public_html/app/code/core/Mage/Core/Model/Store/Group.php on line 275
I conclude that the website is not being sent to App.php to let it know which store the email is being sent from.
Has anyone ever run into this?