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, :db_condition_placeholder_7, :db_condition_placeholder_8, :db_condition_placeholder_9, :db_condition_placeholder_10, :db_condition_placeholder_11, :db_condition_placeholder_12, :db_condition_placeholder_13, :db_condition_placeholder_14)) ; 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 [:db_condition_placeholder_7] => kGJvWQ1Qdwrh1Wng3oQ5KlCbPryE_OtnSD-vB7G5USE [:db_condition_placeholder_8] => o56IIqheUwcVqXJphxxx7iPKRzPSdVP2oGcwZt-XHr0 [:db_condition_placeholder_9] => J1c4S7yjwt5aU7q6YiL0136TFXNts_bbdQKe8-ykiNU [:db_condition_placeholder_10] => cwo5wSokqsNg8Xi1gMXVbpdYfKRLBLVClBL7_kJeqfE [:db_condition_placeholder_11] => p4THTI3jz4x7Sd9tKn2jYnmig3tOMY7rK9oUZ3WV60s [:db_condition_placeholder_12] => QZIxjidCvDWyyUIXS_S6LvZnqcZ0-_Wg9nshyv5oLj0 [:db_condition_placeholder_13] => KyM8A1lAciQEUNqsghADR4OxfzEqlOjs3zM8WMIbrSk [:db_condition_placeholder_14] => Gv9QBwlCYC5mW8Env7xoJGLdAZimhU9KpEIUHa8YGK4 ) 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:1846:"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, :db_condition_placeholder_7, :db_condition_placeholder_8, :db_condition_placeholder_9, :db_condition_placeholder_10, :db_condition_placeholder_11, :db_condition_placeholder_12, :db_condition_placeholder_13, :db_condition_placeholder_14)) ; 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 [:db_condition_placeholder_7] => kGJvWQ1Qdwrh1Wng3oQ5KlCbPryE_OtnSD-vB7G5USE [:db_condition_placeholder_8] => o56IIqheUwcVqXJphxxx7iPKRzPSdVP2oGcwZt-XHr0 [:db_condition_placeholder_9] => J1c4S7yjwt5aU7q6YiL0136TFXNts_bbdQKe8-ykiNU [:db_condition_placeholder_10] => cwo5wSokqsNg8Xi1gMXVbpdYfKRLBLVClBL7_kJeqfE [:db_condition_placeholder_11] => p4THTI3jz4x7Sd9tKn2jYnmig3tOMY7rK9oUZ3WV60s [:db_condition_placeholder_12] => QZIxjidCvDWyyUIXS_S6LvZnqcZ0-_Wg9nshyv5oLj0 [:db_condition_placeholder_13] => KyM8A1lAciQEUNqsghADR4OxfzEqlOjs3zM8WMIbrSk [:db_condition_placeholder_14] => Gv9QBwlCYC5mW8Env7xoJGLdAZimhU9KpEIUHa8YGK4 ) ";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/cn/user/login [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 172.68.65.164 [:db_insert_placeholder_9] => 1516088199 ) in dblog_watchdog() (line 163 of /var/www/vhosts/adrex.com/httpdocs/adrex.com/modules/dblog/dblog.module).