Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid AND t.language = :language WHERE s.source = :source AND s.context = :context AND s.textgroup = 'default'; Array ( [:language] => fr [:source] => Attachments added to other displays to achieve multiple views in the same view. [:context] => ) in locale() (line 720 of /var/www/html/modules/locale/locale.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:447:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid AND t.language = :language WHERE s.source = :source AND s.context = :context AND s.textgroup = 'default'; Array ( [:language] => fr [:source] => Attachments added to other displays to achieve multiple views in the same view. [:context] => ) ";s:9:"%function";s:8:"locale()";s:5:"%file";s:42:"/var/www/html/modules/locale/locale.module";s:5:"%line";i:720;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://www.ingerop.fr/fr/activite/industrie/industrie-manufacturiere-automobile [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 54.225.56.78 [:db_insert_placeholder_9] => 1464139490 ) in dblog_watchdog() (line 160 of /var/www/html/modules/dblog/dblog.module).



Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /var/www/html/includes/database/database.inc:2171 Stack trace: #0 /var/www/html/includes/database/database.inc(2171): PDOStatement->execute(Array) #1 /var/www/html/includes/database/database.inc(683): DatabaseStatementBase->execute(Array, Array) #2 /var/www/html/includes/database/database.inc(2350): DatabaseConnection->query('SELECT expire, ...', Array, Array) #3 /var/www/html/includes/lock.inc(167): db_query('SELECT expire, ...', Array) #4 /var/www/html/includes/lock.inc(146): lock_may_be_available('schema:runtime:...') #5 /var/www/html/includes/bootstrap.inc(433): lock_acquire('schema:runtime:...') #6 /var/www/html/includes/bootstrap.inc(455): DrupalCacheArray->set(Array) #7 [internal function]: DrupalCacheArray->__destruct() #8 {main} thrown in /var/www/html/includes/database/database.inc on line 2171