-
Bug
-
Resolution: Fixed
-
Critical
-
3.7
-
MOODLE_37_STABLE
-
MOODLE_37_STABLE
-
MDL-66049-master-workshopnamespace -
As noticed by marycooch at learn.moodle.net, the site cron has stopped processing. It turned out to be a bug in the workshop cron code that made the whole cron fail.
Execute scheduled task: Background processing for workshop module (mod_workshop\task\cron_task)
|
processing workshop subplugins ...
|
Processing automatic assessment phase switch in 1 workshop(s) ... Default exception handler: Exception - Class 'mod_workshop\task\workshop' not found Debug:
|
Error code: generalexceptionmessage
|
* line 68 of /mod/workshop/classes/task/cron_task.php: Error thrown
|
* line 157 of /admin/tool/task/cli/schedule_task.php: call to mod_workshop\task\cron_task->execute()
|
On the line
$workshop->switch_phase(workshop::PHASE_ASSESSMENT);
|
the workshop class cannot be referenced like this.
- is a regression caused by
-
MDL-64881 Workshop uses legacy cron
- Closed