[X]
Тип ошибки: 0 Ошибка: 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 'AND `a`.`rgt` <= )' at line 16
SELECT COUNT(*) FROM `mp_catalog_items` `i` WHERE `i`.`active` = 1 AND `i`.`path_id` = 158 AND i.`brand` IN (2720,2722) AND i.`form` IN (7177) AND i.`type_size` IN (6520) AND `i`.`parent` in (SELECT `a`.`id` FROM `mp_catalog_articles` `a` WHERE `a`.`path_id` = 158 AND `a`.`visible` = 1 AND `a`.`parents_visible` = 1 AND `a`.`lft` >= AND `a`.`rgt` <= ) Класс: Exception Файл: /home/u22416/omega-ekb.ru/www/CORE/classes/system/DBEngine.php Строка: 169 Стек вызовов: #0 /home/u22416/omega-ekb.ru/www/CORE/classes/system/DBEngine.php(321): operation #1 /home/u22416/omega-ekb.ru/www/CORE/classes/system/MSTable.php(508): getOne #2 /home/u22416/omega-ekb.ru/www/CORE/classes/models/ModelCatalog.php(503): getCount #3 /home/u22416/omega-ekb.ru/www/DESIGN/SITE/blocks/catalog/catalog.php(139): getItems #4 /home/u22416/omega-ekb.ru/www/CORE/core.php(87): include #5 /home/u22416/omega-ekb.ru/www/index.php(49): require_once #6 {run}