Scheduler crashes after update on cleanup
After updating TYPO3 4.7 to latest bugfix version, the scheduler crashes all the time with the following error message:
Fatal error: Call to a member function getExecutionTime() on a non-object in /var/www/bph/typo3_src-4.7.16/typo3/sysext/scheduler/class.tx_scheduler.php on line 113
The bug was introduced with that commit:
The $task variable in that case is in fact an integer and not an object, so just reverting would be fine (I guess that changed in the 6.x branch and the commit somehow made it into 4.x?).