by Fernando Delva Cerpa.
Several copies of the same course were made on the site (one at a time), and the task errors are the same; only the ID changes. In the previous records, the IDs are 117, 116, 115.... It seems odd to me that the query is being made to the mdl_course table with that ID, as mdl_course has only reached auto-increment 54 🤯