Closed mciotti closed 7 months ago
Hello, we released a patch for this problem. A note on the side: on mysqli the problem is not detectable due to Moodle sql_mode settings.
Hi CinecaElearning, I just install the last version but I keep having the problem that the hours are not updated. Do you have any update. And thank you for this pluggin, is excellent!
We are receiving an error when the 'mod_attendanceregister\task\cron_task' Cron Job is running. I think the problem is in cronlib.php's function "get_max_users_registers_logouts". I think the field "id" is not needed in the query. Could you correct the file cronlib.php? Thanks
Here the log: Execute scheduled task: Ricalcolo sessioni registro presenze (mod_attendanceregister\task\cron_task) ... started 03:18:01. Current memory use 5.3 MB. ... used 240 dbqueries ... used 0.6714870929718 seconds Scheduled task failed: Ricalcolo sessioni registro presenze (mod_attendanceregister\task\cron_task),Si è verificato un errore durante la lettura del database Debug info: ERROR: column "mdl_attendanceregister_session.id" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: select id, max(logout) logout, register, userid from mdl_att... ^ select id, max(logout) logout, register, userid from mdl_attendanceregister_session group by register, userid [array ( )] Backtrace: