Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT MIN( IF(((ps.`date_start` = '0000-00-00' OR ps.`date_start` <= '2024-10-31') AND (ps.`date_end` = '0000-00-00' OR ps.`date_end` > '2024-10-31') AND (ps.`customer_group_id` = 1)), ps.`price`, p.`price`) ) AS price_min, MAX( IF(((ps.`date_start` = '0000-00-00' OR ps.`date_start` <= '2024-10-31') AND (ps.`date_end` = '0000-00-00' OR ps.`date_end` > '2024-10-31') AND (ps.`customer_group_id` = 1)), ps.`price`, p.`price`) ) AS price_max FROM `oc_product` p JOIN `oc_product_to_category` p2c ON (p.`product_id` = p2c.`product_id`) LEFT JOIN `oc_product_special` AS ps ON (p.`product_id` = ps.`product_id` AND ps.`customer_group_id` = 1) JOIN `oc_attribute_filter_vier` afv ON (p.`product_id` = afv.`product_id`) WHERE p2c.`category_id` IN (668,669,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,688,690,691,692,693,694,695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,711,713,714,715,716,717,718,719,720 in /var/www/annacosm/data/www/annacosmetics.ru/system/library/db/mysqli.php on line 40
Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />REPLACE INTO `oc_session` SET session_id = '2eeda4d0a64fdc0294c7049eba', `data` = '{\"language\":\"ru-ru\",\"currency\":\"RUB\"}', expire = '2024-10-31 23:20:01' in /var/www/annacosm/data/www/annacosmetics.ru/system/library/db/mysqli.php:40
Stack trace:
#0 /var/www/annacosm/data/www/annacosmetics.ru/system/library/db.php(45): DB\MySQLi->query('REPLACE INTO `o...')
#1 /var/www/annacosm/data/www/annacosmetics.ru/system/library/session/db.php(32): DB->query('REPLACE INTO `o...')
#2 /var/www/annacosm/data/www/annacosmetics.ru/system/library/session.php(81): Session\DB->write('2eeda4d0a64fdc0...', Array)
#3 [internal function]: Session->close()
#4 {main}
thrown in /var/www/annacosm/data/www/annacosmetics.ru/system/library/db/mysqli.php on line 40