Error reading from database
Debug info: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
SELECT * FROM mdl_enrol WHERE courseid = $1 AND status = $2 ORDER BY sortorder,id
[array (
0 => '1391',
1 => 0,
)]
Error code: dmlreadexception
Stack trace:
- line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 248 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
- line 859 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
- line 1400 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()
- line 1351 of /lib/dml/moodle_database.php: call to moodle_database->get_records_select()
- line 181 of /lib/enrollib.php: call to moodle_database->get_records()
- line 71 of /enrol/index.php: call to enrol_get_instances()
Error reading from database
Debug info: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
SELECT f.filter, fc.name, fc.value
FROM mdl_filter_active f
LEFT JOIN mdl_filter_config fc
ON fc.filter = f.filter
AND fc.contextid = f.contextid
WHERE f.contextid = $1
AND f.active != $2
ORDER BY f.sortorder
[array (
0 => 1,
1 => -9999,
)]
Error code: dmlreadexception
Stack trace:
- line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 248 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
- line 764 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
- line 772 of /lib/filterlib.php: call to pgsql_native_moodle_database->get_recordset_sql()
- line 281 of /lib/filterlib.php: call to filter_get_globally_enabled_filters_with_config()
- line 1571 of /lib/pagelib.php: call to filter_manager->setup_page_for_globally_available_filters()
- line 1960 of /lib/setuplib.php: call to moodle_page->initialise_theme_and_output()
- line 386 of /lib/setuplib.php: call to bootstrap_renderer->__call()
- line ? of unknownfile: call to default_exception_handler()