Warning: pg_query(): Query failed: ОШИБКА: ошибка синтаксиса (примерное положение: ",") LINE 1: ...1) and n."sid" in (37) and n."nid" not in (Array,Array,Arr... ^ in /var/www/sovsport.ru/system/core/etc/_db_postgres.php on line 39
error sql: select n."nid" id, n."timeStart", n."timeEnd" from ( select * from "dfa_node_access" where "timeCreate" > 1420059600 ) n where ((n."timeStart" is NULL) or (n."timeStart"<=1539810000)) and n."access" is not NULL and ((n."timeEnd" is NULL) or (n."timeEnd">=1539810000)) and n."enid"=2 and n."epid"=1 and n."pid" in (2,3,4,7,8,11,13,19,26) and n.nid not in (476791) and n."sid" in (37) and n."nid" not in (Array,Array,Array,Array,Array,Array,Array,Array,Array,Array,Array) group by n."nid", n."timeStart", n."timeEnd" order by n."timeStart" desc limit 2000