Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query: SELECT td.tid AS tid, td.name AS name, COUNT(ti.nid) AS nodes FROM {taxonomy_term_data} td INNER JOIN {taxonomy_index} ti WHERE (td.vid = :db_condition_placeholder_0) GROUP BY td.tid, td.name, td.description ORDER BY LENGTH(td.name) DESC; Array ( [:db_condition_placeholder_0] => 13 ) in _glossary_get_terms() (line 1166 of /home/transfor/public_html/sites/all/modules/glossary/glossary.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:378:"SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query: SELECT td.tid AS tid, td.name AS name, COUNT(ti.nid) AS nodes FROM {taxonomy_term_data} td INNER JOIN {taxonomy_index} ti WHERE (td.vid = :db_condition_placeholder_0) GROUP BY td.tid, td.name, td.description ORDER BY LENGTH(td.name) DESC; Array ( [:db_condition_placeholder_0] => 13 ) ";s:9:"%function";s:21:"_glossary_get_terms()";s:5:"%file";s:69:"/home/transfor/public_html/sites/all/modules/glossary/glossary.module";s:5:"%line";i:1166;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://transformativeworks.org/zh-hans/links-roundup-27-august-2012 [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 54.226.133.245 [:db_insert_placeholder_9] => 1455125997 ) in dblog_watchdog() (line 160 of /home/transfor/public_html/modules/dblog/dblog.module).