Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'fid'.
- line 1282 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
- line 185 of /mod/forum/classes/local/vaults/db_table_vault.php: call to mysqli_native_moodle_database->get_records_sql()
- line 170 of /mod/forum/classes/local/vaults/db_table_vault.php: call to mod_forum\local\vaults\db_table_vault->get_from_ids()
- line 5521 of /mod/forum/lib.php: call to mod_forum\local\vaults\db_table_vault->get_from_id()
- line 4709 of /lib/navigationlib.php: call to forum_extend_settings_navigation()
- line 4193 of /lib/navigationlib.php: call to settings_navigation->load_module_settings()
- line 769 of /lib/pagelib.php: call to settings_navigation->initialise()
- line 830 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 341 of /blocks/moodleblock.class.php: call to block_settings->get_content()
- line 235 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
- line 1181 of /lib/blocklib.php: call to block_base->get_content_for_output()
- line 1239 of /lib/blocklib.php: call to block_manager->create_block_contents()
- line 374 of /lib/blocklib.php: call to block_manager->ensure_content_created()
- line 92 of /theme/mb2cg/lib/lib_block.php: call to block_manager->region_has_content()
- line 28 of /theme/mb2cg/layout/incourse.php: call to theme_mb2cg_isblock()
- line 1374 of /lib/outputrenderers.php: call to include()
- line 1304 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
- line 156 of /mod/forum/view.php: call to core_renderer->header()