Did you remember to make the first column something unique in your call to get_records? Duplicate value '226033' found in column 'id'.
- line 1256 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
- line 203 of /local/emol/pages/sedintaconsiliullocal.php: call to mysqli_native_moodle_database->get_records_sql()