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