Exception: Query error 42000: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ') AND ( `property_value_ints`.`property_id` = 60 AND `property_value_ints`.`val' at line 7. Query: SELECT `shop_items`.`id` AS `shop_items`, `property_value_ints`.`property_id` AS `property_id`, `property_value_ints`.`value` AS `value` FROM `property_value_ints` INNER JOIN `properties` ON `properties`.`id` = `property_value_ints`.`property_id` INNER JOIN `shop_items` ON `shop_items`.`id` = `property_value_ints`.`entity_id` INNER JOIN `shop_producers` ON `shop_producers`.`id` = `shop_items`.`shop_producer_id` WHERE `shop_items`.`shortcut_id` = 0 AND `shop_items`.`modification_id` = 0 AND `shop_items`.`active` = 1 AND `shop_items`.`deleted` = 0 AND `shop_items`.`shop_group_id` NOT IN () AND ( `property_value_ints`.`property_id` = 60 AND `property_value_ints`.`value` = '1234' OR `property_value_ints`.`property_id` = 63 AND `property_value_ints`.`value` = '0' ) ORDER BY RAND() ASC
36 modules/core/exception.php
606 modules/core/database/pdo.php
80 modules/core/querybuilder/statement.php
494 hostcmsfiles/lib/lib_100/lib_100.php
278 modules/lib/model.php
166 modules/core/page.php
110 templates/template152/template.htm
103 modules/template/model.php
166 modules/core/page.php
16 templates/template147/template.htm
103 modules/template/model.php
166 modules/core/page.php
264 templates/template145/template.htm
103 modules/template/model.php
166 modules/core/page.php
543 modules/core/command/controller/default.php
195 modules/core/router/route.php
240 index.php