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 td.tid, p.tid as ptid, coalesce(t.translation,td.name)::varchar "name", coalesce(t.language,'ru')::varchar "language", td.weight, p.weight pweight, rt.field_rubric_type_value, mn.field_menu_name_value --,'---',td.* from taxonomy_term_data td --left join locales_source s on s.location ~ '^taxonomy:term:\d+:name$' and (string_to_array(s.location,':'))[3]=td.tid::text --left join locales_source s on s.location like 'taxonomy:term:%' and substring(s.location from 'taxonomy:term:(\d+):name')=td.tid::text left join locales_source s on s.textgroup='taxonomy' and s.location=format('taxonomy:term:%s:name',td.tid) left join locales_target t on t.lid=s.lid and t.language=p_lang left join taxonomy_term_hierarchy h on h.tid=td.tid left join taxonomy_term_data p on p.tid=h.parent left join field_data_field_rubric_type rt on rt.entity_id=td.tid and rt.language='und' and rt.deleted=0 and rt.bundle='rubrics' and rt.delta=0 left join field_data_field_menu_name mn on mn.entity_id=td.tid and mn.language='und' and mn.deleted=0 and mn.bundle='rubrics' and mn.delta=0 left join field_data_field_allowed_langs alp on alp.entity_id=p.tid and alp.language='und' and alp.deleted=0 and alp.bundle='rubrics' and alp.delta=0 left join field_data_field_allowed_langs al on al.entity_id=td.tid and al.language='und' and al.deleted=0 and al.bundle='rubrics' and al.delta=0 where td.vid=p_vid and (select z ~ p_lang or z='' from (select trim(coalesce(alp.field_allowed_langs_value,al.field_allowed_langs_value,'')) z) als) and td.name not like '!%' and coalesce(p.name,'') not like '!%' order by --case when p.tid is null then 0 else 1 end, p.tid nulls first, p.weight nulls first, td.weight" PL/pgSQL function api.get_taxonomy_i18n(bigint,character varying) line 6 at RETURN QUERY PL/pgSQL function api.get_article_info(bigint,integer) line 9 at RETURN QUERY SSL connection has been closed unexpectedly: select :nid p_nid, ai.*,api.get_likes_stat(:uid,:nid) p_liked from api.get_article_info(:nid,:uuid) ai; Array ( [:nid] => 317064 [:uid] => 0 [:uuid] => ) in ap_utils_get_article_info() (line 227 of /var/www/asia-dev/sites/all/modules/asiaplus/asiaplus_utils/asiaplus_utils.module).

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).