Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT DISTINCT registry.name AS name, registry.filename AS filename FROM {registry} registry WHERE (type=:type AND ( filename like :filename OR name like :name )) ; Array ( [:type] => class [:name] => %MailSystem [:filename] => %.mail.% ) in mailsystem_get_classes() (line 282 of /home/qatarisb/public_html/sites/all/modules/mailsystem/mailsystem.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:328:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT DISTINCT registry.name AS name, registry.filename AS filename FROM {registry} registry WHERE (type=:type AND ( filename like :filename OR name like :name )) ; Array ( [:type] => class [:name] => %MailSystem [:filename] => %.mail.% ) ";s:9:"%function";s:24:"mailsystem_get_classes()";s:5:"%file";s:73:"/home/qatarisb/public_html/sites/all/modules/mailsystem/mailsystem.module";s:5:"%line";i:282;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://qatarisbooming.com/2012/02/13/qna-to-launch-sports-journalism-program/index.php?p=28333&more=1&c=1 [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 54.237.151.188 [:db_insert_placeholder_9] => 1419830408 ) in dblog_watchdog() (line 160 of /home/qatarisb/public_html/modules/dblog/dblog.module).