Penjelasan Prosedur KP, Jumat 22 Februari 2019
Debug info: ERROR: column "visibility" does not exist
LINE 1: ...OUNT('x') FROM mdl_groups WHERE courseid = $1 AND visibility...
^
SELECT COUNT('x') FROM mdl_groups WHERE courseid = $1 AND visibility != $2
[array (
0 => 1,
1 => 0,
)]
Error code: dmlreadexception
LINE 1: ...OUNT('x') FROM mdl_groups WHERE courseid = $1 AND visibility...
^
SELECT COUNT('x') FROM mdl_groups WHERE courseid = $1 AND visibility != $2
[array (
0 => 1,
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 341 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->read_slave_query_end()
- line 1027 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
- line 1679 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()
- line 1752 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
- line 1963 of /lib/dml/moodle_database.php: call to moodle_database->get_field_sql()
- line 1946 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 276 of /lib/grouplib.php: call to core_group\visibility::can_view_all_groups()
- line 132 of /mod/forum/classes/local/builders/exported_discussion.php: call to groups_get_all_groups()
- line 115 of /mod/forum/classes/local/builders/exported_discussion.php: call to mod_forum\local\builders\exported_discussion->get_groups_available_in_forum()
- line 148 of /mod/forum/classes/local/factories/renderer.php: call to mod_forum\local\builders\exported_discussion->build()
- line 198 of /mod/forum/classes/local/renderers/discussion.php: call to mod_forum\local\factories\renderer->mod_forum\local\factories\{closure}()
- line 343 of /mod/forum/discuss.php: call to mod_forum\local\renderers\discussion->render()