Task '\tool_analytics\task\predict_models' is failing with upcoming mod_groupselect events.
Steps to replicate:
Create Moodle 3.7 instance.
Install mod_groupselect plugin.
Create user1.
Create course1.
Enrol user1 to course1 as a student.
Create Group self-selection activity with open until tomorrow.
Run task
php admin/tool/task/cli/schedule_task.php --execute='\tool_analytics\task\predict_models'
Confirm, that scheduled task is failing with error:
Scheduled task failed: Predict models (tool_analytics\task\predict_models),Function mod_groupselect_core_calendar_provide_event_action() does not exist
groupselect_core_calendar_provide_event_action() should be renamed to mod_groupselect_core_calendar_provide_event_action to meet MDL-64783 requirements.
Also this method should have 3 arguments since MDL-58768 has been integrated.
Hi here,
Task '\tool_analytics\task\predict_models' is failing with upcoming mod_groupselect events.
Steps to replicate:
php admin/tool/task/cli/schedule_task.php --execute='\tool_analytics\task\predict_models'
Scheduled task failed: Predict models (tool_analytics\task\predict_models),Function mod_groupselect_core_calendar_provide_event_action() does not exist
groupselect_core_calendar_provide_event_action()
should be renamed tomod_groupselect_core_calendar_provide_event_action
to meet MDL-64783 requirements.Also this method should have 3 arguments since MDL-58768 has been integrated.
Thanks, Mikhail