Moodle function get_records_sql throws warning when duplicated records are returned
HP message: PHP Notice: Did you remember to make the first column something unique in your call to get_records? Duplicate value '\tool_testtasks\task\timed_adhoc_task' found in column 'classname'.
line 885 of /lib/dml/pgsql_native_moodle_database.php: call to debugging()
line 136 of /admin/tool/lockstats/classes/table/adhoc_tasks.php: call to pgsql_native_moodle_database->get_records_sql()
line 41 of /admin/tool/lockstats/index.php: call to tool_lockstats\table\adhoc_tasks->__construct()
Moodle function get_records_sql throws warning when duplicated records are returned
HP message: PHP Notice: Did you remember to make the first column something unique in your call to get_records? Duplicate value '\tool_testtasks\task\timed_adhoc_task' found in column 'classname'.
- line 885 of /lib/dml/pgsql_native_moodle_database.php: call to debugging()
- line 136 of /admin/tool/lockstats/classes/table/adhoc_tasks.php: call to pgsql_native_moodle_database->get_records_sql()
- line 41 of /admin/tool/lockstats/index.php: call to tool_lockstats\table\adhoc_tasks->__construct()
in /var/www/moodle/lib/weblib.php on line 3234