Exception: Query error 42S22: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'sli.id' in 'where clause'. Query: SELECT
DISTINCT
SQL_CALC_FOUND_ROWS
`shop_items`.*
FROM `shop_items`
LEFT OUTER JOIN `property_value_datetimes` AS `pvdd` ON `shop_items`.`id` = `pvdd`.`entity_id` AND `pvdd`.`property_id` = 207
INNER JOIN `shop_items` AS `m` ON `shop_items`.`id` = `m`.`modification_id`
LEFT OUTER JOIN `property_value_ints` AS `hide_item` ON `hide_item`.`entity_id` = `shop_items`.`id` AND `hide_item`.`property_id` = 252
LEFT OUTER JOIN `shop_groups` AS `sg` ON `sg`.`id` = `shop_items`.`shop_group_id`
WHERE `shop_items`.`shop_id` = '7' AND ( `shop_items`.`start_datetime` < '2024-09-01 07:12:33' OR `shop_items`.`start_datetime` = '0000-00-00 00:00:00' ) AND ( `shop_items`.`end_datetime` > '2024-09-01 07:12:33' OR `shop_items`.`end_datetime` = '0000-00-00 00:00:00' ) AND `shop_items`.`siteuser_group_id` IN (0, -1) AND ( `pvdd`.`value` BETWEEN '2024-08-01' AND '2024-09-01 07:12:33' AND `pvdd`.`value` IS NOT NULL ) AND `hide_item`.`value` = 0 OR `sli`.`id` IN (1972) AND `shop_items`.`shop_group_id` IN (131421, 131422, 131423, 131424, 131425, 131426, 131427, 131428, 131429, 131430, 131431, 131432, 131433, 131434, 131435, 131436, 131437, 131438, 131439, 131440, 131441) AND `hide_item`.`value` = 0 AND `shop_items`.`active` = 1 AND `shop_items`.`shortcut_id` = 0 AND ( `sg`.`active` = 1 AND `sg`.`deleted` = 0 AND `sg`.`siteuser_group_id` IN (0, -1) OR `sg`.`id` IS NULL ) AND `shop_items`.`deleted` = 0
ORDER BY `sli`.`sorting` ASC, `shop_items`.`datetime` DESC, `shop_items`.`name` ASC
LIMIT 20
OFFSET 0
modules/core/database/pdo.php:675 Core_Exception->__construct
modules/core/querybuilder/statement.php:78 Core_DataBase_Pdo->query
modules/core/orm.php:522 Core_QueryBuilder_Statement->execute
modules/core/entity.php:581 Core_ORM->findAll
modules/shop/controller/show.php:1178 Core_Entity->findAll
libs/modules/pezhon/module/shop/controller/show.php:443 Shop_Controller_Show->show
hostcmsfiles/lib/lib_103/lib_103.php:501 Pezhon_Shop_Controller_Show->show
modules/lib/model.php:284 include
modules/core/page.php:166 Lib_Model->execute
templates/template31/template.htm:75 Core_Page->execute
modules/template/model.php:103 include
modules/core/page.php:166 Template_Model->execute
templates/template13/template.htm:198 Core_Page->execute
modules/template/model.php:103 include
modules/core/page.php:166 Template_Model->execute
modules/core/command/controller/default.php:580 Core_Page->execute
modules/core/router/route.php:195 Core_Command_Controller_Default->showAction
index.php:236 Core_Router_Route->execute