Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
- line 1066 of /lib/dml/pgsql_native_moodle_database.php: call to debugging()
- line 1507 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()
- line 1458 of /lib/dml/moodle_database.php: call to moodle_database->get_records_select()
- line 50 of /tag/classes/collection.php: call to moodle_database->get_records()
- line 47 of /tag/classes/area.php: call to core_tag_collection::get_collections()
- line 118 of /tag/classes/area.php: call to core_tag_area::get_areas()
- line 1418 of /tag/classes/tag.php: call to core_tag_area::is_enabled()
- line 3817 of /course/lib.php: call to core_tag_tag::is_enabled()
- line 4824 of /lib/navigationlib.php: call to course_get_user_administration_options()
- line 4553 of /lib/navigationlib.php: call to settings_navigation->load_course_settings()
- line 843 of /lib/pagelib.php: call to settings_navigation->initialise()
- line 965 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
- line 135 of /blocks/settings/block_settings.php: call to moodle_page->__get()
- line 337 of /blocks/moodleblock.class.php: call to block_settings->get_content()
- line 231 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
- line 1263 of /lib/blocklib.php: call to block_base->get_content_for_output()
- line 1321 of /lib/blocklib.php: call to block_manager->create_block_contents()
- line 377 of /lib/blocklib.php: call to block_manager->ensure_content_created()
- line 3823 of /lib/classes/output/core_renderer.php: call to block_manager->region_has_content()
- line 28 of /theme/classic/layout/columns.php: call to core\output\core_renderer->blocks()
- line 959 of /lib/classes/output/core_renderer.php: call to include()
- line 875 of /lib/classes/output/core_renderer.php: call to core\output\core_renderer->render_page_layout()
- line ? of unknownfile: call to core\output\core_renderer->header()
- line 109 of /lib/classes/output/bootstrap_renderer.php: call to call_user_func_array()
- line 65 of /course/info.php: call to core\output\bootstrap_renderer->__call()