Olá Saimon, eu ativei o debug e descobri a linha que estava exibindo a mensagem de erro, no meu caso, eu apenas comentei as linhas no código do arquivo moodle_database.php
Mas 2 dias depois descobri que um dos meus plugins que gera o erro, mas como necessito do plugin, então mantive o comentário da linha.
//segue o resultado da ativação do debug
Debug info: Table 'moodlejud.mdl_messageinbound_handlers' doesn't exist
SELECT * FROM mdl_messageinbound_handlers WHERE component = ?
[array (
0 => 'workshopform_rubric',
)]
Error code: dmlreadexception
Stack trace:
- line 443 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 1019 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1199 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_recordset_sql()
- line 1147 of /lib/dml/moodle_database.php: call to moodle_database->get_recordset_select()
- line 71 of /lib/classes/message/inbound/manager.php: call to moodle_database->get_recordset()
- line 555 of /lib/upgradelib.php: call to core\message\inbound\manager::update_handlers_for_component()
- line 1626 of /lib/upgradelib.php: call to upgrade_plugins()
- line 434 of /admin/index.php: call to upgrade_noncore()
Erro encontrado - linha 486
www/lib/dml/moodle_database.php
switch ($type) {
case SQL_QUERY_SELECT:
case SQL_QUERY_AUX:
//throw new dml_read_exception($error, $sql, $params);
case SQL_QUERY_INSERT:
case SQL_QUERY_UPDATE:
//throw new dml_write_exception($error, $sql, $params);
case SQL_QUERY_STRUCTURE:
$this->get_manager(); // includes ddl exceptions classes ;-)
//throw new ddl_change_structure_exception($error, $sql);
}
solução comentar as linhas //throw new dml
Espero que te ajude...