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 166 of /mnt/fyd05_websites/autorecjapancars/public_html/includes/module.inc).

Additional

Exception: theme() may not be called until all modules are loaded. in theme() (line 1017 of /mnt/fyd05_websites/autorecjapancars/public_html/includes/theme.inc).