Hi,
I am getting this below error while switch on debugging in moodle 4, please advise what could be the reason and how to resolve ti
Did you remember to make the first column something unique in your call to get_records? Duplicate value 'student' found in column 'shortname'.
- line 1287 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
- line 38 of /theme/abc/layout/drawers.php: call to mysqli_native_moodle_database->get_records_sql()
- line 1477 of /lib/outputrenderers.php: call to include()
- line 1403 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
- line 179 of /my/index.php: call to core_renderer->header()
Did you remember to make the first column something unique in your call to get_records? Duplicate value 'editingteacher' found in column 'shortname'.
- line 1287 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
- line 38 of /theme/abc/layout/drawers.php: call to mysqli_native_moodle_database->get_records_sql()
- line 1477 of /lib/outputrenderers.php: call to include()
- line 1403 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
- line 179 of /my/index.php: call to core_renderer->header()
Regards