Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT n.id AS id, n.platform AS platform, n.url AS url, n.headline AS headline, n.slogan AS slogan, n.id_app AS id_app FROM {mobile_app} n WHERE (n.id = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 1 ) in include() (line 11 of /var/www/vhosts/adrex.com/httpdocs/adrex.com/sites/all/themes/Adrex/html.tpl.php).

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:304:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT n.id AS id, n.platform AS platform, n.url AS url, n.headline AS headline, n.slogan AS slogan, n.id_app AS id_app FROM {mobile_app} n WHERE (n.id = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 1 ) ";s:9:"%function";s:9:"include()";s:5:"%file";s:80:"/var/www/vhosts/adrex.com/httpdocs/adrex.com/sites/all/themes/Adrex/html.tpl.php";s:5:"%line";i:11;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://adrex.com/ [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 162.158.78.210 [:db_insert_placeholder_9] => 1516158828 ) in dblog_watchdog() (line 163 of /var/www/vhosts/adrex.com/httpdocs/adrex.com/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] => 17824413415a5ebf6c9190a3.68692277 ) in lock_release_all() (line 269 of /var/www/vhosts/adrex.com/httpdocs/adrex.com/includes/lock.inc).