Exception: Query error 2013: Lost connection to MySQL server during query. Query: SELECT SQL_CALC_FOUND_ROWS `shop_items`.* FROM `shop_items` WHERE `shop_items`.`shop_id` = '1' AND ( `shop_items`.`start_datetime` < '2021-11-30 23:35:58' OR `shop_items`.`start_datetime` = '0000-00-00 00:00:00' ) AND ( `shop_items`.`end_datetime` > '2021-11-30 23:35:58' OR `shop_items`.`end_datetime` = '0000-00-00 00:00:00' ) AND `shop_items`.`siteuser_group_id` IN (0, -1) AND `shop_items`.`active` = 1 AND ( `shop_items`.`shop_group_id` = 1112 AND `shop_items`.`shortcut_id` = 0 AND `shop_items`.`modification_id` = 0 OR `shop_items`.`id` IN (SELECT `shop_items`.`shortcut_id` FROM `shop_items` WHERE `shop_items`.`deleted` = 0 AND `shop_items`.`active` = 1 AND `shop_items`.`shop_group_id` = 1112 AND `shop_items`.`shortcut_id` > 0 AND ( `shop_items`.`start_datetime` < '2021-11-30 23:35:59' OR `shop_items`.`start_datetime` = '0000-00-00 00:00:00' ) AND ( `shop_items`.`end_datetime` > '2021-11-30 23:35:59' OR `shop_items`.`end_datetime` = '0000-00-00 00:00:00' ) AND `shop_items`.`siteuser_group_id` IN (0, -1)) ) AND `shop_items`.`deleted` = 0 ORDER BY `shop_items`.`sorting` DESC, `shop_items`.`name` DESC LIMIT 21 OFFSET 0
36 modules/core/exception.php
655 modules/core/database/mysql.php
61 modules/core/querybuilder/statement.php
491 modules/core/orm.php
470 modules/core/entity.php
780 modules/shop/controller/show.php
475 hostcmsfiles/lib/lib_6/lib_6.php
290 modules/lib/model.php
166 modules/core/page.php
23 templates/template24/template.htm
96 modules/template/model.php
166 modules/core/page.php
314 templates/template22/template.htm
96 modules/template/model.php
166 modules/core/page.php
496 modules/core/command/controller/default.php
194 modules/core/router/route.php
239 index.php