Fatal error: Uncaught Exception: Request execution error SELECT `pa`.*, `a`.`name`, `a`.`name_show`, `a`.`text_action`, `a`.`type` FROM `product_action_item` as `pa` INNER JOIN `product_action` as `a` ON `pa`.`action_id` = `a`.`id` WHERE `pa`.`product_id` IN () AND `a`.`show_on_product`=1 AND (`a`.`time_begin` = 0 AND `a`.`time_end` = 0 OR `a`.`time_begin` < 1743642868 AND `a`.`time_end` > 1743642868 OR `a`.`time_begin` < 1743642868 AND `a`.`time_end` = 0 OR `a`.`time_begin` = 0 AND `a`.`time_end` > 1743642868) AND ( `a`.`id_sites` = "" OR `a`.`id_sites` LIKE "%$1$%" ) AND `id` IN ( SELECT `id` FROM `product_action_city` WHERE `city_id` IN (0, 18126,18127,18178,166) ) AND `a`.`show` = 1 [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`.`show_on_product`=1 AND (`a`.`time_begin` = 0 AND `a`.`time_end` = 0 ' at line 2] in /home/web/foto-man.ru/www/admin/library/class/bd.class.php:237 Stack trace: #0 /home/web/foto-man.ru/www/admin/library/class/bd.class.php(293): BD->query('SELECT `pa`.*, ...') #1 /home/web/foto-man.ru/www/admin/modules/catalog/show/catalog.function.php(1040): BD->getRows('SELECT `pa`.*, ...', 'action_id', 'product_id') #2 /home/web/foto-man.ru/www/admin/modules/catalog/show/catalog.function.php(849): Catalog::GetActionListProduct(Array) #3 /home/web/foto-man.ru/www/admin/modules/catalog/show/catalog.function.php(887): Catalog::GetItemsSearchProduct(Array, Array, 64, '32') #4 /home/web/foto-man.ru/www/admin/modules/catalog/show/catalog.php(100): Catalog::ListSearchProduct(Array) #5 /home/web/foto-man.ru/www/admin/core/pages/pages.php(135): require('/home/web/foto-...') #6 /home/web/foto-man.ru/www/index.php(18): include('/home/web/foto-...') #7 {main} thrown in /home/web/foto-man.ru/www/admin/library/class/bd.class.php on line 237