Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT r.filename AS filename FROM {registry} r WHERE (r.name LIKE :db_condition_placeholder_0 ESCAPE '\\') AND (r.type = :db_condition_placeholder_1) ; Array ( [:db_condition_placeholder_0] => DrupalDefaultEntityController [:db_condition_placeholder_1] => class ) in _registry_check_code() (line 3505 of /var/www/www-root/data/www/museum.by/includes/bootstrap.inc).

Additional

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT rid, permission FROM {role_permission} WHERE rid IN (:fetch_0); Array ( [:fetch_0] => 1 ) in user_role_permissions() (line 768 of /var/www/www-root/data/www/museum.by/modules/user/user.module).