[Bitrix\Main\DB\SqlQueryException] Mysql query error: (2006) MySQL server has gone away (400) SELECT `catalog_catalog_viewed_product`.`PRODUCT_ID` AS `PRODUCT_ID`, `catalog_catalog_viewed_product`.`ELEMENT_ID` AS `ELEMENT_ID`, `catalog_catalog_viewed_product`.`DATE_VISIT` AS `DATE_VISIT`, `catalog_catalog_viewed_product`.`ID` AS `UALIAS_0`, `catalog_catalog_viewed_product_parent_element`.`ID` AS `UALIAS_1` FROM `b_catalog_viewed_product` `catalog_catalog_viewed_product` INNER JOIN `b_iblock_element` `catalog_catalog_viewed_product_parent_element` ON `catalog_catalog_viewed_product`.`ELEMENT_ID` = `catalog_catalog_viewed_product_parent_element`.`ID` WHERE `catalog_catalog_viewed_product`.`FUSER_ID` = 15027445 AND `catalog_catalog_viewed_product`.`SITE_ID` = 's1' AND `catalog_catalog_viewed_product_parent_element`.`IBLOCK_ID` = 142 AND `catalog_catalog_viewed_product_parent_element`.`WF_STATUS_ID` = 1 AND (`catalog_catalog_viewed_product_parent_element`.`WF_PARENT_ELEMENT_ID` IS NULL OR `catalog_catalog_viewed_product_parent_element`.`WF_PARENT_ELEMENT_ID` = 0) AND `catalog_catalog_viewed_product_parent_element`.`ID` <> 109673 ORDER BY `DATE_VISIT` DESC LIMIT 0, 4 /var/www/new_kontakt/bitrix/modules/main/lib/db/mysqliconnection.php:137 #0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL) /var/www/new_kontakt/bitrix/modules/main/lib/db/connection.php:330 #1: Bitrix\Main\DB\Connection->query(string) /var/www/new_kontakt/bitrix/modules/main/lib/orm/query/query.php:3304 #2: Bitrix\Main\ORM\Query\Query->query(string) /var/www/new_kontakt/bitrix/modules/main/lib/orm/query/query.php:816 #3: Bitrix\Main\ORM\Query\Query->exec() /var/www/new_kontakt/bitrix/modules/main/lib/orm/data/datamanager.php:500 #4: Bitrix\Main\ORM\Data\DataManager::getList(array) /var/www/new_kontakt/bitrix/modules/catalog/lib/catalogviewedproduct.php:324 #5: Bitrix\Catalog\CatalogViewedProductTable::getProductSkuMap(integer, integer, integer, integer, integer, integer) /var/www/new_kontakt/bitrix/components/bitrix/catalog.products.viewed/class.php:86 #6: CatalogProductsViewedComponent->getProductIds() /var/www/new_kontakt/bitrix/modules/iblock/lib/component/base.php:4440 #7: Bitrix\Iblock\Component\Base->initialLoadAction() #8: call_user_func(array) /var/www/new_kontakt/bitrix/modules/iblock/lib/component/base.php:4627 #9: Bitrix\Iblock\Component\Base->doAction() /var/www/new_kontakt/bitrix/modules/iblock/lib/component/base.php:4645 #10: Bitrix\Iblock\Component\Base->executeComponent() /var/www/new_kontakt/bitrix/modules/main/classes/general/component.php:649 #11: CBitrixComponent->includeComponent(string, array, object) /var/www/new_kontakt/bitrix/modules/main/classes/general/main.php:1039 #12: CAllMain->IncludeComponent(string, string, array, object) /var/www/new_kontakt/bitrix/templates/.default/components/bitrix/catalog/two_side_template_1308/element.php:240 #13: include(string) /var/www/new_kontakt/bitrix/modules/main/classes/general/component_template.php:725 #14: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /var/www/new_kontakt/bitrix/modules/main/classes/general/component_template.php:820 #15: CBitrixComponentTemplate->IncludeTemplate(array) /var/www/new_kontakt/bitrix/modules/main/classes/general/component.php:746 #16: CBitrixComponent->showComponentTemplate() /var/www/new_kontakt/bitrix/modules/main/classes/general/component.php:694 #17: CBitrixComponent->includeComponentTemplate(string) /var/www/new_kontakt/bitrix/components/bitrix/catalog/component.php:171 #18: include(string) /var/www/new_kontakt/bitrix/modules/main/classes/general/component.php:605 #19: CBitrixComponent->__includeComponent() /var/www/new_kontakt/bitrix/modules/main/classes/general/component.php:664 #20: CBitrixComponent->includeComponent(string, array, boolean) /var/www/new_kontakt/bitrix/modules/main/classes/general/main.php:1039 #21: CAllMain->IncludeComponent(string, string, array, boolean) /var/www/new_kontakt/ua/catalog/index.php:932 #22: include_once(string) /var/www/new_kontakt/bitrix/modules/main/include/urlrewrite.php:159 #23: include_once(string) /var/www/new_kontakt/bitrix/urlrewrite.php:2