Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT af.* FROM {advagg_files} af WHERE (filename_hash IN (:db_condition_placeholder_0, :db_condition_placeholder_1, :db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4, :db_condition_placeholder_5, :db_condition_placeholder_6)) ; Array ( [:db_condition_placeholder_0] => vNguyKT44qzCV0N-b6VsRqkKDuhES_FNB5ugGBriTwg [:db_condition_placeholder_1] => x8PgrxCbaLgfo-8ZT8UEB8muQrso7qduUUoXklAvvvo [:db_condition_placeholder_2] => 9LcmovGG6jrOJH7cREym7ZHQRpixpXjR2NJypdTIBjg [:db_condition_placeholder_3] => JTUZMjGi5QBMtdy5S7Bonuo9E1qezkYQpCtWPx9MQJY [:db_condition_placeholder_4] => 5qw6q7xLi0zMVM4vMpJ6JOUVfkXo4IsunkhfoxOaUFM [:db_condition_placeholder_5] => P1vSm_L4pncKQcNNcRQcuA2OfHDQ6UmgEzF0wT3jW-I [:db_condition_placeholder_6] => d2b-ZidA1utVuLSNMPwQUJ2LYg5MrnCcKxXACnHNayI ) in advagg_insert_update_files() (line 172 of /var/www/vhosts/adrex.com/httpdocs/adrex.com/sites/all/modules/advagg/advagg.inc).

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:932:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT af.* FROM {advagg_files} af WHERE (filename_hash IN (:db_condition_placeholder_0, :db_condition_placeholder_1, :db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4, :db_condition_placeholder_5, :db_condition_placeholder_6)) ; Array ( [:db_condition_placeholder_0] => vNguyKT44qzCV0N-b6VsRqkKDuhES_FNB5ugGBriTwg [:db_condition_placeholder_1] => x8PgrxCbaLgfo-8ZT8UEB8muQrso7qduUUoXklAvvvo [:db_condition_placeholder_2] => 9LcmovGG6jrOJH7cREym7ZHQRpixpXjR2NJypdTIBjg [:db_condition_placeholder_3] => JTUZMjGi5QBMtdy5S7Bonuo9E1qezkYQpCtWPx9MQJY [:db_condition_placeholder_4] => 5qw6q7xLi0zMVM4vMpJ6JOUVfkXo4IsunkhfoxOaUFM [:db_condition_placeholder_5] => P1vSm_L4pncKQcNNcRQcuA2OfHDQ6UmgEzF0wT3jW-I [:db_condition_placeholder_6] => d2b-ZidA1utVuLSNMPwQUJ2LYg5MrnCcKxXACnHNayI ) ";s:9:"%function";s:28:"advagg_insert_update_files()";s:5:"%file";s:80:"/var/www/vhosts/adrex.com/httpdocs/adrex.com/sites/all/modules/advagg/advagg.inc";s:5:"%line";i:172;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://adrex.com/eiei [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 172.68.65.164 [:db_insert_placeholder_9] => 1516087987 ) in dblog_watchdog() (line 163 of /var/www/vhosts/adrex.com/httpdocs/adrex.com/modules/dblog/dblog.module).