Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[57P01]: Admin shutdown: 7 FATAL: terminating connection due to administrator command CONTEXT: SQL statement "SELECT ( select count(*) from node n --inner join field_data_body b on b.entity_id=n.nid and b.language='und' and b.deleted=0 and b.bundle=n.type and b.delta=0 left join field_data_field_rubric r on r.entity_id=n.nid and r.language='und' and r.deleted=0 and r.bundle=n.type and r.delta=0 left join taxonomy_term_data td on td.tid=r.field_rubric_tid left join taxonomy_term_hierarchy h on h.tid=td.tid where n.type='article' and created<=extract('epoch' from current_timestamp) and n.language=p_language and n.status>0 and (v_rubric is null or h.tid=v_rubric or h.parent=v_rubric) and (p_date is null or (n.created between v_d1 and v_d2)) and nid not in ( select entity_id from field_data_body where substr(body_value,1,1)='' ) --and b.body_value<>'' -- coalesce(trim(b.body_value),'')<>'' )" PL/pgSQL function api.get_rubric_news(integer,integer,character varying,character varying,date) line 82 at assignment SSL connection has been closed unexpectedly: select *,:lang as language from api.get_rubric_news(:page,:per_page, :lang, :path, :date); Array ( [:page] => 1 [:per_page] => 30 [:lang] => tg [:path] => tajikistan/incidents [:date] => ) in ap_utils_get_rubric_data() (line 149 of /var/www/asia-dev/sites/all/modules/asiaplus/asiaplus_utils/lists.inc.php).

Additional

PDOException: SQLSTATE[HY000]: General error: 7 no connection to the server: SELECT column_name, data_type, column_default FROM information_schema.columns WHERE table_schema = :schema AND table_name = :table AND (data_type = 'bytea' OR (numeric_precision IS NOT NULL AND column_default LIKE :default)); Array ( [:schema] => public [:table] => watchdog [:default] => %nextval% ) in dblog_watchdog() (line 163 of /var/www/asia-dev/modules/dblog/dblog.module).