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] => 123342120462fa3de7eb0837.14129664 ) in lock_release_all() (line 269 of /home/ancparliament/public_html/includes/lock.inc).