UNIMOODLE / moodle-mod_hybridteaching

P1
Other
2 stars 0 forks source link

Query error in sessions_in_progress #132

Open juacas opened 4 months ago

juacas commented 4 months ago

Did you remember to make the first column something unique in your call to get_records? Duplicate value '34' found in column 'id'. line 1407 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 953 of /mod/hybridteaching/classes/controller/sessions_controller.php: call to mysqli_native_moodle_database->get_records_sql() line 88 of /mod/hybridteaching/attendance.php: call to mod_hybridteaching\controller\sessions_controller::get_sessions_in_progress() Did you remember to make the first column something unique in your call to get_records? Duplicate value '34' found in column 'id'. line 1407 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 953 of /mod/hybridteaching/classes/controller/sessions_controller.php: call to mysqli_native_moodle_database->get_records_sql() line 88 of /mod/hybridteaching/attendance.php: call to mod_hybridteaching\controller\sessions_controller::get_sessions_in_progress() Did you remember to make the first column something unique in your call to get_records? Duplicate value '34' found in column 'id'. line 1407 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 953 of /mod/hybridteaching/classes/controller/sessions_controller.php: call to mysqli_native_moodle_database->get_records_sql() line 88 of /mod/hybridteaching/attendance.php: call to mod_hybridteaching\controller\sessions_controller::get_sessions_in_progress() Did you remember to make the first column something unique in your call to get_records? Duplicate value '34' found in column 'id'. line 1407 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 953 of /mod/hybridteaching/classes/controller/sessions_controller.php: call to mysqli_native_moodle_database->get_records_sql() line 88 of /mod/hybridteaching/attendance.php: call to mod_hybridteaching\controller\sessions_controller::get_sessions_in_progress() Did you remember to make the first column something unique in your call to get_records? Duplicate value '34' found in column 'id'. line 1407 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 953 of /mod/hybridteaching/classes/controller/sessions_controller.php: call to mysqli_native_moodle_database->get_records_sql() line 88 of /mod/hybridteaching/attendance.php: call to mod_hybridteaching\controller\sessions_controller::get_sessions_in_progress() Did you remember to make the first column something unique in your call to get_records? Duplicate value '34' found in column 'id'. line 1407 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 953 of /mod/hybridteaching/classes/controller/sessions_controller.php: call to mysqli_native_moodle_database->get_records_sql() line 88 of /mod/hybridteaching/attendance.php: call to mod_hybridteaching\controller\sessions_controller::get_sessions_in_progress() Did you remember to make the first column something unique in your call to get_records? Duplicate value '34' found in column 'id'. line 1407 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 953 of /mod/hybridteaching/classes/controller/sessions_controller.php: call to mysqli_native_moodle_database->get_records_sql() line 88 of /mod/hybridteaching/attendance.php: call to mod_hybridteaching\controller\sessions_controller::get_sessions_in_progress() Did you remember to make the first column something unique in your call to get_records? Duplicate value '34' found in column 'id'. line 1407 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 953 of /mod/hybridteaching/classes/controller/sessions_controller.php: call to mysqli_native_moodle_database->get_records_sql() line 88 of /mod/hybridteaching/attendance.php: call to mod_hybridteaching\controller\sessions_controller::get_sessions_in_progress()

mcalvoisyccom commented 2 months ago

Hola @juacas , no podemos replicarlo, ¿nos puedes enviar más info de las acciones realizadas? Posiblemente en esa actividad se hayan duplicado ids de registros de session por alguna acción ya solventada.