Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT * FROM {system} WHERE type = 'theme' OR (type = 'module' AND status = 1) ORDER BY weight ASC, name ASC; Array ( ) in system_list() (line 165 of /var/www/www-root/data/www/museum.by/includes/module.inc).

Additional

Exception: theme() may not be called until all modules are loaded. in theme() (line 1017 of /var/www/www-root/data/www/museum.by/includes/theme.inc).


Uncaught exception thrown in shutdown function.

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 6190987706606bb17a979d2.57011320 ) in lock_release_all() (line 269 of /var/www/www-root/data/www/museum.by/includes/lock.inc).