Warning: pg_query(): Query failed: ОШИБКА: ошибка синтаксиса (примерное положение: "диай") LINE 1: ...( select "id" from "dfa_tags" where "tag" in ('н\'диай ласса... ^ in /html/sovsport.ru/system/core/etc/_db_postgres.php on line 50
error sql: select n."nid" id, n."timeStart", n."timeEnd" from ( select * from "dfa_node_access" where "timeCreate" > 1483218000 ) n inner join "dfa_tags_conn" t on t."nid"=n."nid" and n."enid"=2 and t."tid" in ( select "id" from "dfa_tags" where "tag" in ('н\'диай лассана','фк цска','Свершившиеся трансферы','Футбол-Россия','рпл')) where ((n."timeStart" is NULL) or (n."timeStart"<=1558818000)) and n."access" is not NULL and ((n."timeEnd" is NULL) or (n."timeEnd">=1558818000)) and n."enid"=2 and n."epid"=1 and n."pid" in (2) group by n."nid", n."timeStart", n."timeEnd" order by n."timeStart" desc limit 4