SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELEsCT nd.id AS ARRAY_KEY, nd.id, nd.*, i.*, CONCAT("node/",i.node_id) as url, ' at line 1 at /home/www/lispo.com.ua/app/modules/catalogue/catalogue.php line 3518
Array
(
    [code] => 1064
    [message] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELEsCT nd.id AS ARRAY_KEY, nd.id, nd.*, i.*, CONCAT("node/",i.node_id) as url, ' at line 1
    [query] => SELEsCT nd.id AS ARRAY_KEY, nd.id, nd.*, i.*, CONCAT("node/",i.node_id) as url, g.ua_title as group_title, nd.ua_title AS title, nd.ua_body AS body,
                                                nd.ua_teaser AS teaser, nd.ua_meta_description AS meta_description, nd.ua_meta_html AS meta_html,
                                                nd.ua_meta_keywords AS meta_keywords,
                                                nd.ua_logtext AS logtext,
                                                nd.ua_title AS ru_title FROM inventory i, node nd, groups g WHERE i.node_id = nd.id  AND i.group_id  = g.id  
                     AND i.brand_id = 212    AND i.id IN ('-1')  AND nd.is_moderated = 1   AND i.weight > 0    AND i.is_visible = 1  AND nd.time_post < 1719406266 ORDER BY i.weight DESC, nd.time_post DESC LIMIT 0, 12
    [context] => /home/www/lispo.com.ua/app/modules/catalogue/catalogue.php line 3518
)