Fatal error: Uncaught exception 'Exception' with message 'Error: Lost connection to MySQL server during query<br />Error No: 2013<br />CREATE TEMPORARY TABLE oc_bf_tmp_product (PRIMARY KEY (`product_id`)) SELECT p.product_id, p.sort_order, if (SUM(if((f.filter_group = "m0" AND filter_id IN (64)), 1, 0)) > 0, 1, 0) AS match_filters, (IF(MIN(ps.price) IS NOT NULL, MIN(ps.price), IF(MIN(pd2.price) IS NOT NULL, MIN(pd2.price), p.price))) AS actual_price FROM `oc_product` AS p INNER JOIN `oc_product_to_store` AS p2s ON (p2s.product_id = p.product_id) INNER JOIN `oc_bf_filter` AS f ON (p.product_id = f.product_id) LEFT JOIN `oc_product_discount` AS pd2 ON (pd2.product_id = p.product_id AND pd2.quantity = '1' AND (pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()) AND pd2.customer_group_id = '1') LEFT JOIN `oc_product_special` AS ps ON (ps.product_id = p.product_id in /var/www/www-root/data/www/transagregat.ru/system/library/db/mysqli.php on line 40

Fatal error: Uncaught exception 'Exception' with message 'Error: MySQL server has gone away<br />Error No: 2006<br />REPLACE INTO `oc_session` SET session_id = '6e3ee984ebb0f71a54b6f9101d', `data` = '{\"language\":\"ru-ru\",\"currency\":\"RUB\"}', expire = '2024-05-03 01:44:40'' in /var/www/www-root/data/www/transagregat.ru/system/library/db/mysqli.php:40 Stack trace: #0 /var/www/www-root/data/www/transagregat.ru/system/library/db.php(45): DB\MySQLi->query('REPLACE INTO `o...') #1 /var/www/www-root/data/www/transagregat.ru/system/library/session/db.php(32): DB->query('REPLACE INTO `o...') #2 /var/www/www-root/data/www/transagregat.ru/system/library/session.php(81): Session\DB->write('6e3ee984ebb0f71...', Array) #3 [internal function]: Session->close() #4 {main} thrown in /var/www/www-root/data/www/transagregat.ru/system/library/db/mysqli.php on line 40