Exception: Query error HY000: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away. Query: SELECT
COUNT(*) AS `count`
FROM `shop_purchase_discounts`
WHERE `shop_purchase_discounts`.`shop_id` = '3' AND `active` = 1 AND `position` > 0 AND `start_datetime` <= '2024-12-22 06:54:42' AND `end_datetime` >= '2024-12-22 06:54:42' AND `shop_purchase_discounts`.`deleted` = 0
modules/core/database/pdo.php:679 Core_Exception->__construct
modules/core/querybuilder/statement.php:87 Core_DataBase_Pdo->query
modules/core/orm.php:648 Core_QueryBuilder_Statement->execute
modules/core/entity.php:633 Core_ORM->getCount
modules/shop/purchase/discount/model.php:169 Core_Entity->getCount
modules/shop/cart/controller/default.php:73 Shop_Purchase_Discount_Model->checkAvailableWithPosition
modules/shop/cart/controller/show.php:331 Shop_Cart_Controller_Default->getAll
templates/template13/template.htm:147 Shop_Cart_Controller_Show->show
modules/template/model.php:107 include
modules/core/page.php:176 Template_Model->execute
modules/core/command/controller/default.php:621 Core_Page->execute
modules/core/router/route.php:195 Core_Command_Controller_Default->showAction
index.php:383 Core_Router_Route->execute