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] => 160075834761e50be8c35295.03089914 ) in lock_release_all() (line 269 of /home/taqaddom/public_html/includes/lock.inc).



Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /home/taqaddom/public_html/includes/database/database.inc:2278 Stack trace: #0 /home/taqaddom/public_html/includes/database/database.inc(2278): PDOStatement->execute(Array) #1 /home/taqaddom/public_html/includes/database/database.inc(744): DatabaseStatementBase->execute(Array, Array) #2 /home/taqaddom/public_html/includes/database/database.inc(2457): DatabaseConnection->query('SELECT expire, ...', Array, Array) #3 /home/taqaddom/public_html/includes/lock.inc(167): db_query('SELECT expire, ...', Array) #4 /home/taqaddom/public_html/includes/lock.inc(146): lock_may_be_available('theme_registry:...') #5 /home/taqaddom/public_html/includes/theme.inc(449): lock_acquire('theme_registry:...') #6 /home/taqaddom/public_html/includes/bootstrap.inc(460): ThemeRegistry->set(Array) #7 [internal function]: DrupalCacheArray->__destruct() #8 {main} thrown in /home/taqaddom/public_html/includes/database/database.inc on line 2278