Warning: pg_query(): Query failed: ОШИБКА: ошибка синтаксиса (примерное положение: "о") LINE 1: ...ag" 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"<=1556312400)) and n."access" is not NULL and ((n."timeEnd" is NULL) or (n."timeEnd">=1556312400)) 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