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-12-26 16:15:41' OR `shop_items`.`start_datetime` = '0000-00-00 00:00:00' ) AND ( `shop_items`.`end_datetime` > '2024-12-26 16:15:41' 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-06-26' AND '2024-12-26 16:15:41' 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 (130376, 130377, 130379, 130389, 130390, 130391, 130392, 130394, 130395, 130396, 132830, 130405, 130406, 130407, 130408, 130409, 130416, 130417, 130418, 130419, 130420, 130421, 130422, 130425, 130426, 130432, 130433, 130436, 130437, 130438, 130440, 130441, 130442, 132742, 130445, 130451, 130452, 130453, 130454, 130455, 130456, 130457, 130462, 130463, 130464, 132748, 132751, 132831, 132828, 132829, 132880, 132881, 132882, 133801, 133802, 133803, 133804) 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