-
Bug
-
Resolution: Fixed
-
Minor
-
3.11, 4.0
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_311_STABLE
-
MDL-71569-master_Summarydata -
In MDL-71546 it was detected that the update_summarydata scheduled task was failing in a site without courses:
Scheduled task failed: Update site summarydata (tool_brickfield\task\update_summarydata),Argument 1 passed to tool_brickfield\accessibility::get_summary_data() must be of the type int, null given, called in /home/ferran/moodles/MDL-integration/moodle/admin/tool/brickfield/classes/brickfieldconnect.php on line 89
|
Backtrace:
|
* line 89 of /admin/tool/brickfield/classes/brickfieldconnect.php: call to tool_brickfield\accessibility::get_summary_data()
|
* line 48 of /admin/tool/brickfield/classes/task/update_summarydata.php: call to tool_brickfield\brickfieldconnect->send_summary()
|
* line 253 of /lib/cronlib.php: call to tool_brickfield\task\update_summarydata->execute()
|
* line 167 of /admin/cli/scheduled_task.php: call to cron_run_inner_scheduled_task()
|
This issue is about to review, in a site without courses, that both the scheduled task above (and others), plus the block, the tool in general... are all working ok without sites.