I have a issue on a Moodle 3.9.2+ (Build: 20201002) installation in Administration>Server>Tasks:
"Server->Task-> tool_cohortroles\task\cohort_role_sync after 'Run now':
"Synchronize the role assignments of the cohort
Execute scheduled task: Synchronize the role assignments of the cohort
... started 15:36:22. Current memory use 13.4MB.
Sync cohort roles...
... used 4 dbqueries
... used 0.012479066848755 seconds
Scheduled task failed: Synchronize the role assignments of the cohort
(tool_cohortroles\task\cohort_role_sync) An encoding error has been detected, needs to be reviewed by a programmer
scheduled: User ID does not exist or is deleted!""
In Administration>Server>Tasks this task has been run daily whit result: "Error" from a month!
Please help me to troubleshoot this situation. I don't know if any user is affected and how.
Someone know a workaround for this?
I appreciate a step-by-step explanation.
Thank you in advance.