In admin/cron.php there is a reference to invalid $CFG attribute:
if (!empty($CFG->showcrondebugging))
Instead of:
$CFG->displaydebug
should be:
$CFG->debugdisplay
displaydebug is only used in that file (admin/cron.php), it's not referenced anywhere else in the code.