Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query: SELECT base.id AS id, base.label AS label, base.filefield_name AS filefield_name, base.settings AS settings FROM {node_gallery_relationship_type} base WHERE (base.id IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => 1 ) in EntityAPIController->query() (line 187 of /var/www/vhosts/arabwestreport.info/httpdocs/sites/all/modules/entity/includes/entity.controller.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:340:"SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query: SELECT base.id AS id, base.label AS label, base.filefield_name AS filefield_name, base.settings AS settings FROM {node_gallery_relationship_type} base WHERE (base.id IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => 1 ) ";s:9:"%function";s:28:"EntityAPIController->query()";s:5:"%file";s:100:"/var/www/vhosts/arabwestreport.info/httpdocs/sites/all/modules/entity/includes/entity.controller.inc";s:5:"%line";i:187;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://www.arabwestreport.info/year-2012/week-12/28-cornelis-hulsman-presenting-arab-west-report-zamalik-meeting-no-116 [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 54.196.206.17 [:db_insert_placeholder_9] => 1408729279 ) in dblog_watchdog() (line 160 of /var/www/vhosts/arabwestreport.info/httpdocs/modules/dblog/dblog.module).