Please some idea about could be the problem?. When i try to read some messages i get a "dmlreadexception"
debugging info for this message is:
File: /lib/dml/moodle_database.php
Line: 486
SELECT mdl_context.id AS ctxid, mdl_context.path AS ctxpath, mdl_context.depth AS ctxdepth, mdl_context.contextlevel AS ctxlevel, mdl_context.instanceid AS ctxinstance, mdl_context.locked AS ctxlocked FROM mdl_context WHERE id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-- line 1500 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
-- line 663 of /message/classes/api.php: call to context_helper::preload_contexts_by_id()
-- line 1348 of /message/externallib.php: call to core_message\api::get_conversations()
-- line 261 of /lib/externallib.php: call to core_message_external::get_conversations()
-- line 81 of /lib/ajax/service.php: call to external_api::call_external_function()
[array (
0 => NULL,
1 => NULL,
2 => NULL,
3 => NULL,
4 => NULL,
5 => NULL,
6 => NULL,
7 => NULL,
8 => NULL,
9 => NULL,
10 => NULL,
11 => NULL,
12 => NULL,
13 => NULL,
14 => NULL,
15 => NULL,
16 => NULL,
17 => NULL,
18 => NULL,
19 => NULL,
20 => NULL,
21 => NULL,
22 => NULL,
)]
Error code: dmlreadexception
* line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
* line 1273 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
* line 1500 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
* line 6123 of /lib/accesslib.php: call to moodle_database->get_records_select()
* line 663 of /message/classes/api.php: call to context_helper::preload_contexts_by_id()
* line 1348 of /message/externallib.php: call to core_message\api::get_conversations()
* line 261 of /lib/externallib.php: call to core_message_external::get_conversations()
* line 81 of /lib/ajax/service.php: call to external_api::call_external_function()
Variables in the database are:
+--------------------+---------+
| Variable_name | Value |
+--------------------+---------+
| max_allowed_packet | 67108864|
| net_read_timeout | 30 |
| net_write_timeout | 60 |
| wait_timeout | 28800 |
+--------------------+---------+
Moodle configuration
Server checks
Name | Information | Report | Plugin | Status |
---|---|---|---|---|
moodle | OK | |||
unicode | OK | |||
database | mysql (8.0.15) | OK | ||
php | OK | |||
pcreunicode | OK | |||
php_extension | iconv | OK | ||
php_extension | mbstring | OK | ||
php_extension | curl | OK | ||
php_extension | openssl | OK | ||
php_extension | tokenizer | OK | ||
php_extension | xmlrpc | OK | ||
php_extension | soap | OK | ||
php_extension | ctype | OK | ||
php_extension | zip | OK | ||
php_extension | zlib | OK | ||
php_extension | gd | OK | ||
php_extension | simplexml | OK | ||
php_extension | spl | OK | ||
php_extension | pcre | OK | ||
php_extension | dom | OK | ||
php_extension | xml | OK | ||
php_extension | xmlreader | OK | ||
php_extension | intl | OK | ||
php_extension | json | OK | ||
php_extension | hash | OK | ||
php_extension | fileinfo | OK | ||
php_setting | memory_limit | OK | ||
php_setting | file_uploads | OK | ||
php_setting | opcache.enable | OK |
Other checks
Information | Report | Plugin | Status |
---|---|---|---|
mysql_full_unicode_support | The current setup of MySQL or MariaDB is using 'utf8'. This character set does not support four byte characters which include some emoji. Trying to use these characters will result in an error when updating a record, and any information being sent to the database will be lost. Please consider changing your settings to 'utf8mb4'. See the documentation for full details. |