Закрыть
Exception: Query error 1525: Incorrect DATETIME value: '0000-00-00 00:00:00'. Query: SELECT
`shop_items`.`shop_group_id` AS `shop_groups_id`, COUNT(shop_items.id) as count
FROM `shop_items`
WHERE `shop_items`.`shop_id` = 3 AND `shop_items`.`modification_id` = 0 AND `shop_items`.`deleted` = 0 AND `shop_items`.`active` = 1 AND ( `shop_items`.`end_datetime` >= '2024-12-08 19:46:38' OR `shop_items`.`end_datetime` = '0000-00-00 00:00:00' ) AND `shop_items`.`start_datetime` <= '2024-12-08 19:46:38'
GROUP BY `shop_group_id`
34 modules/core/exception.php
641 modules/core/database/mysql.php
60 modules/core/querybuilder/statement.php
19854 modules/hostcms5/shop/shop.class.php
19990 modules/hostcms5/shop/shop.class.php
494 templates/template7/template.htm
86 modules/template/model.php
138 modules/core/page.php
379 modules/core/command/controller/default.php
108 modules/core/command/controller/hostcms5/default.php
190 modules/core/router/route.php
217 index.php