SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY nd.time_post DESC ' at line 10 at /home/www/kamin.lutsk.ua/htdocs/modules-new/catalogue/catalogue.php line 1884
Array
(
    [code] => 1064
    [message] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')
                                    ORDER BY nd.time_post DESC
               ' at line 10
    [query] => SELECT nd.id AS ARRAY_KEY, nd.id, nr.node_id, nr.time_created, nr.member_id, nr.logtext, nr.ua_title AS title, nr.ua_body AS body, nr.ua_teaser AS teaser,
                                    nr.ua_meta_title AS meta_title, nr.ua_meta_description AS meta_description,
                                    nr.ua_meta_html AS meta_html, nr.ua_meta_keywords AS meta_keywords, i.*, CONCAT("node/",i.node_id) as url, g.ua_title as group_title, g.ua_h1_title AS h1_title, g.ua_inv_title AS inv_title, nd.time_changed, nd.time_created, nd.time_post
                                    FROM inventory i, node_revisions nr, node nd, groups g
                                    WHERE i.node_id = nd.id
                                    AND nr.node_id = nd.id
                                    AND i.group_id  = g.id
                                    AND nd.is_moderated = 1
                                    AND nd.time_post < 1558828178
                                    AND i.node_id IN ()
                                    ORDER BY nd.time_post DESC
                                    LIMIT 0, 1000000
    [context] => /home/www/kamin.lutsk.ua/htdocs/modules-new/catalogue/catalogue.php line 1884
)