( ! ) 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 | 362360 | {main}( ) | .../profile.php:0 |
2 | 0.0000 | 362904 | require_once( '/var/opt/otlamp/w1/sdo/www/htdocs/config.php' ) | .../profile.php:35 |
3 | 0.0001 | 372264 | require_once( '/var/opt/otlamp/w1/sdo/www/htdocs/lib/setup.php' ) | .../config.php:81 |
4 | 0.0093 | 1757960 | context_system::instance( ) | .../setup.php:752 |
5 | 0.0093 | 1758336 | mysqli_native_moodle_database->get_record( ) | .../accesslib.php:5957 |
6 | 0.0096 | 1838064 | mysqli_native_moodle_database->get_record_select( ) | .../moodle_database.php:1522 |
7 | 0.0096 | 1838192 | mysqli_native_moodle_database->get_record_sql( ) | .../moodle_database.php:1543 |
8 | 0.0096 | 1838192 | mysqli_native_moodle_database->get_records_sql( ) | .../moodle_database.php:1571 |
9 | 0.0097 | 1838728 | 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 | 362360 | {main}( ) | .../profile.php:0 |
2 | 0.0000 | 362904 | require_once( '/var/opt/otlamp/w1/sdo/www/htdocs/config.php' ) | .../profile.php:35 |
3 | 0.0001 | 372264 | require_once( '/var/opt/otlamp/w1/sdo/www/htdocs/lib/setup.php' ) | .../config.php:81 |
4 | 0.0093 | 1757960 | context_system::instance( ) | .../setup.php:752 |
5 | 0.0093 | 1758336 | mysqli_native_moodle_database->get_record( ) | .../accesslib.php:5957 |
6 | 0.0096 | 1838064 | mysqli_native_moodle_database->get_record_select( ) | .../moodle_database.php:1522 |
7 | 0.0096 | 1838192 | mysqli_native_moodle_database->get_record_sql( ) | .../moodle_database.php:1543 |
8 | 0.0096 | 1838192 | mysqli_native_moodle_database->get_records_sql( ) | .../moodle_database.php:1571 |
9 | 0.0097 | 1838728 | query
( ) | .../mysqli_native_moodle_database.php:1244 |
Ошибка
Ошибка чтения из базы данных. Ни в коем случае не выполняйте выключение (перезагрузку) сервера, так как это может привести к необратимой потере данных!
Debug info: MySQL server has gone away
SELECT * FROM mdl_context WHERE contextlevel = ?
[array (
0 => 10,
)]
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 5957 of /lib/accesslib.php: call to moodle_database->get_record()
- line 752 of /lib/setup.php: call to context_system::instance()
- line 81 of /config.php: call to require_once()
- line 35 of /user/profile.php: call to require_once()