Error
Error reading from database
Debug info: Unknown column 'visibility' in 'where clause'
SELECT COUNT('x') FROM mdlim_groups WHERE courseid = ? AND visibility != ?
[array (
0 => 15,
1 => 0,
)]
Error code: dmlreadexception
Stack trace:
- line 494 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 293 of /lib/dml/moodle_read_slave_trait.php: call to moodle_database->query_end()
- line 1398 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->query_end()
- line 1683 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
- line 1756 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
- line 1967 of /lib/dml/moodle_database.php: call to moodle_database->get_field_sql()
- line 1950 of /lib/dml/moodle_database.php: call to moodle_database->count_records_sql()
- line 47 of /group/classes/visibility.php: call to moodle_database->count_records_select()
- line 66 of /group/classes/visibility.php: call to core_group\visibility::update_hiddengroups_cache()
- line 86 of /group/classes/visibility.php: call to core_group\visibility::course_has_hidden_groups()
- line 475 of /lib/grouplib.php: call to core_group\visibility::can_view_all_groups()
- line 2175 of /mod/quiz/lib.php: call to groups_get_user_groups()
- line 2536 of /lib/modinfolib.php: call to mod_quiz_cm_info_dynamic()
- line 2353 of /lib/modinfolib.php: call to cm_info->call_mod_function()
- line 1728 of /lib/modinfolib.php: call to cm_info->obtain_dynamic_data()
- line 1573 of /lib/modinfolib.php: call to cm_info->get_name()
- line 2234 of /lib/navigationlib.php: call to cm_info->__get()
- line 2273 of /lib/navigationlib.php: call to global_navigation->generate_sections_and_activities()
- line 810 of /course/format/classes/base.php: call to global_navigation->load_generic_course_sections()
- line 189 of /course/format/topics/lib.php: call to core_courseformat\base->extend_course_navigation()
- line 2188 of /lib/navigationlib.php: call to format_topics->extend_course_navigation()
- line 1596 of /lib/navigationlib.php: call to global_navigation->load_course_sections()
- line 4848 of /lib/outputrenderers.php: call to global_navigation->initialise()
- line 55 of /theme/enlightlite/classes/header_block.php: call to core_renderer->region_main_settings_menu()
- line 89 of /theme/enlightlite/classes/header_block.php: call to header_contents()
- line 28 of /theme/enlightlite/layout/columns2.php: call to require_once()
- line 1486 of /lib/outputrenderers.php: call to include()
- line 1412 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
- line 171 of /mod/url/locallib.php: call to core_renderer->header()
- line 258 of /mod/url/locallib.php: call to url_print_header()
- line 104 of /mod/url/view.php: call to url_print_workaround()