Skip site news

Site news

Error reading from database

More information about this error

Debug info: Got error 28 from storage engine
SELECT p.*, d.name, d.timemodified, d.usermodified, d.groupid, d.timestart, d.timeend, u.firstnamephonetic,u.lastnamephonetic,u.middlename,u.alternatename,u.firstname,u.lastname,
u.email, u.picture, u.imagealt
FROM mdl_forum_discussions d
JOIN mdl_forum_posts p ON p.discussion = d.id
JOIN mdl_user u ON p.userid = u.id

WHERE d.forum = ? AND p.parent = 0

ORDER BY p.modified DESC LIMIT 0, 1
[array (
0 => '1',
)]
Error code: dmlreadexception
Stack trace:
  • line 441 of /lib/dml/moodle_database.php: dml_read_exception thrown
  • line 996 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 2721 of /mod/forum/lib.php: call to mysqli_native_moodle_database->get_records_sql()
  • line 5594 of /mod/forum/lib.php: call to forum_get_discussions()
  • line 201 of /index.php: call to forum_print_latest_discussions()