Issue Bug Closed

#54120Scheduler crashes after update on cleanup

Christian no-lastname-given 12/01/13, 12:17 updated 10/02/18, 12:09

Description

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:

https://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff/d361b2999c8ba8d1cdb218ead4f60ef1de9fe458

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?).

Reviews 2