Exception: Query error 42S22: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status.value' 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-10-09 16:16:04' OR `shop_items`.`start_datetime` = '0000-00-00 00:00:00' ) AND ( `shop_items`.`end_datetime` > '2024-10-09 16:16:04' 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-04-09' AND '2024-10-09 16:16:04' AND `status`.`value` = 1974 AND `pvdd`.`value` IS NOT NULL AND `hide_item`.`value` = 0 ) OR ( `pvdd`.`value` IS NULL AND `status`.`value` = 1972 AND `hide_item`.`value` = 0 ) ) AND `shop_items`.`shop_group_id` IN (131152, 132755, 131160, 132907, 132908, 131153, 131156, 131164, 131165, 131173, 131174, 131187, 132909, 131211, 131212, 131214, 132756, 131161, 132757, 131162, 132758, 131163, 132813, 131170, 131171, 132814, 131169, 132815, 131172, 132816, 131168, 132817, 131167, 132818, 131178, 131179, 132819, 131180, 131181, 132820, 131182, 132821, 131183) 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