( ! ) Warning: mysqli::query(): MySQL server has gone away in /var/opt/otlamp/w1/sdo/www/htdocs/lib/dml/mysqli_native_moodle_database.php on line 1244 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 362184 | {main}( ) | .../course.php:0 |
2 | 0.0748 | 4993376 | enrol_self_plugin->enrol_page_hook( ) | .../course.php:170 |
3 | 0.1262 | 5251728 | enrol_self_enrol_form->__construct( ) | .../lib.php:228 |
4 | 0.2799 | 5440424 | enrol_self_enrol_form->definition( ) | .../formslib.php:204 |
5 | 0.2799 | 5440520 | enrol_self_plugin->get_instance_name( ) | .../locallib.php:77 |
6 | 0.2799 | 5440896 | mysqli_native_moodle_database->get_record( ) | .../lib.php:84 |
7 | 0.3300 | 5453056 | mysqli_native_moodle_database->get_record_select( ) | .../moodle_database.php:1522 |
8 | 0.3300 | 5453160 | mysqli_native_moodle_database->get_record_sql( ) | .../moodle_database.php:1543 |
9 | 0.3300 | 5453160 | mysqli_native_moodle_database->get_records_sql( ) | .../moodle_database.php:1571 |
10 | 0.3301 | 5453680 | query
( ) | .../mysqli_native_moodle_database.php:1244 |
( ! ) Warning: mysqli::query(): Error reading result set's header in /var/opt/otlamp/w1/sdo/www/htdocs/lib/dml/mysqli_native_moodle_database.php on line 1244 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 362184 | {main}( ) | .../course.php:0 |
2 | 0.0748 | 4993376 | enrol_self_plugin->enrol_page_hook( ) | .../course.php:170 |
3 | 0.1262 | 5251728 | enrol_self_enrol_form->__construct( ) | .../lib.php:228 |
4 | 0.2799 | 5440424 | enrol_self_enrol_form->definition( ) | .../formslib.php:204 |
5 | 0.2799 | 5440520 | enrol_self_plugin->get_instance_name( ) | .../locallib.php:77 |
6 | 0.2799 | 5440896 | mysqli_native_moodle_database->get_record( ) | .../lib.php:84 |
7 | 0.3300 | 5453056 | mysqli_native_moodle_database->get_record_select( ) | .../moodle_database.php:1522 |
8 | 0.3300 | 5453160 | mysqli_native_moodle_database->get_record_sql( ) | .../moodle_database.php:1543 |
9 | 0.3300 | 5453160 | mysqli_native_moodle_database->get_records_sql( ) | .../moodle_database.php:1571 |
10 | 0.3301 | 5453680 | query
( ) | .../mysqli_native_moodle_database.php:1244 |
Error reading from database
Debug info: MySQL server has gone away
SELECT * FROM mdl_role WHERE id = ?
[array (
0 => '5',
)]
Error code: dmlreadexception
Stack trace:
- line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 1245 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1571 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
- line 1543 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
- line 1522 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
- line 84 of /enrol/self/lib.php: call to moodle_database->get_record()
- line 77 of /enrol/self/locallib.php: call to enrol_self_plugin->get_instance_name()
- line 204 of /lib/formslib.php: call to enrol_self_enrol_form->definition()
- line 228 of /enrol/self/lib.php: call to moodleform->__construct()
- line 170 of /local/crw/course.php: call to enrol_self_plugin->enrol_page_hook()
Error reading from database
Debug info: MySQL server has gone away
SELECT * FROM mdl_llhistory_properties WHERE courseid = ? AND name = ?
[array (
0 => '2270',
1 => 'activetime',
)]
Error code: dmlreadexception
Stack trace:
- line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 1245 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1571 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
- line 1543 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
- line 1522 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
- line 206 of /local/learninghistory/lib.php: call to moodle_database->get_record()
- line 48 of /local/learninghistory/lib.php: call to local_learninghistory_get_course_config()
- line 1190 of /lib/outputrenderers.php: call to local_learninghistory_before_http_headers()
- line 2828 of /lib/outputrenderers.php: call to core_renderer->header()
- line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
- line ? of unknownfile: call to default_exception_handler()