Phorum Database Error

Sorry, a Phorum database error occurred.
Please try again later!

Error:

MySQL server has gone away (2006): INSERT INTO phorum5_event_logging (message, details, loglevel, source, category, datestamp, ip, vroot) VALUES ('Database error: MySQL server has gone away (2006): SELECT author, datestamp, email, message_id, foru... (see event details for the full message)\n', 'Message:\n\nDatabase error: MySQL server has gone away (2006): SELECT author, datestamp, email, message_id, forum_id, meta,\n moderator_post, modifystamp, parent_id, msgid, sort, moved, status,\n subject, thread, thread_count, user_id, viewcount, threadviewcount,\n closed, ip, recent_message_id, recent_user_id, recent_author\n FROM phorum5_messages\n USE INDEX (list_page_flat)\n WHERE thread > 0 AND\n forum_id = 9 AND\n status = 2 AND\n parent_id = 0 AND\n sort > 1\n ORDER BY thread DESC\n LIMIT 22020, 30\n\n\nBack trace:\n\nFunction phorum_db_interact called at\n{path to Phorum}/include/db/mysql.php:579\n----\nFunction phorum_db_get_thread_list called at\n{path to Phorum}/list.php:193\n----\n', 4, 'list', 0, 1660603651, '3.238.225.8', 0)

Backtrace:

Function phorum_database_error called at
{path to Phorum}/include/db/mysql/mysqli.php:212
----
Function phorum_db_interact called at
{path to Phorum}/mods/event_logging/db.php:248
----
Function event_logging_writelog called at
{path to Phorum}/mods/event_logging/event_logging.php:561
----
Function phorum_mod_event_logging_database_error called at
{path to Phorum}/common.php:1907
----
Function phorum_hook called at
{path to Phorum}/common.php:2272
----
Function phorum_database_error called at
{path to Phorum}/include/db/mysql/mysqli.php:212
----
Function phorum_db_interact called at
{path to Phorum}/include/db/mysql.php:579
----
Function phorum_db_get_thread_list called at
{path to Phorum}/list.php:193
----