Manually ran cron job getting stuck - Moodle 3.1.11

Manually ran cron job getting stuck - Moodle 3.1.11

by Ray Perales -
Number of replies: 0

Hello

For some reason, in my Moodle installation, cron is refusing to run entirely. It does not go beyond the overdue quiz attempts (see screenshot below). I set debug mode at the developer level and it did not show any errors. I restored some courses I had on Moodle version two of Moodle to this version 3. The courses load fine and I do not get any error messages. Any ideas on how I can make cron, go beyond the Quiz attempts? 

 

PHP version: 5.4.45

Linux Server

Moodle 3.1.11+ (Build: 20180329)

Thanks


Execute scheduled task: Procesamiento heredado de extensiones (core\task\legacy_plugin_cron_task)
... started 22:46:21. Current memory use 19.1MB.
Running auth crons if required...
Running enrol crons if required...
Starting activity modules
Processing module function assign_cron ...
... used 4 dbqueries
... used 0.14632201194763 seconds
done.
Processing module function quiz_cron ...

  Looking for quiz overdue quiz attempts...

Notice: Undefined property: stdClass::$section in /mod/quiz/attemptlib.php on line 668
.
.
.
Fatal error: Call to undefined method question_null_step::get_qt_data() in /question/behaviour/adaptive/behaviour.php on line 180

Average of ratings: -