Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT page_callback FROM {menu_router} WHERE path = :path LIMIT 0, 1; Array ( [:path] => search/node/% ) in custom_search_theme() (line 595 of /home/sglive/public_html/sites/all/modules/custom_search/custom_search.module).

Additional

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => php [:db_insert_placeholder_2] => %type: !message in %function (line %line of %file). [:db_insert_placeholder_3] => a:6:{s:5:"%type";s:12:"PDOException";s:8:"!message";s:178:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT page_callback FROM {menu_router} WHERE path = :path LIMIT 0, 1; Array ( [:path] => search/node/% ) ";s:9:"%function";s:21:"custom_search_theme()";s:5:"%file";s:77:"/home/sglive/public_html/sites/all/modules/custom_search/custom_search.module";s:5:"%line";i:595;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://shimshockgroup.com/case-study/library-district-revolutionizes-community-interaction-and-connection-new-website?maxWidth=80%25&maxHeight=80%25&inline=true&title=Home%20Page [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 54.159.113.182 [:db_insert_placeholder_9] => 1505944682 ) in dblog_watchdog() (line 160 of /home/sglive/public_html/modules/dblog/dblog.module).


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] => 34384664659c2e46589ae85.66584135 ) in lock_release_all() (line 269 of /home/sglive/public_html/includes/lock.inc).



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