Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.8.5, 2.9.3, 3.0
-
MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
MDL-49758-master -
Description
When running cron from browser, received the following fatal error:
Processing module function quiz_cron ...
Looking for quiz overdue quiz attempts...
Fatal error: Class 'completion_info' not found
in mod/quiz/locallib.php on line 1639
Workaround was to add the following lines to
function quiz_attempt_submitted_handler($event)
in "mod/quiz/locallib.php" (around line 1624),
global $CFG
require_once($CFG->dirroot.'/lib/completionlib.php');