[Bitrix\Main\DB\SqlQueryException]
Mysql query error: (2006) MySQL server has gone away (400)
SELECT
`catalog_price`.`ID` AS `ID`,
`catalog_price`.`CATALOG_GROUP_ID` AS `CATALOG_GROUP_ID`,
`catalog_price`.`PRICE` AS `PRICE`,
`catalog_price`.`CURRENCY` AS `CURRENCY`
FROM `b_catalog_price` `catalog_price`
WHERE `catalog_price`.`PRODUCT_ID` = 41721
AND `catalog_price`.`CATALOG_GROUP_ID` IN (1)
AND (
`catalog_price`.`QUANTITY_FROM` <= 1
OR (`catalog_price`.`QUANTITY_FROM` IS NULL OR `catalog_price`.`QUANTITY_FROM` = 0)
)
AND (
`catalog_price`.`QUANTITY_TO` >= 1
OR (`catalog_price`.`QUANTITY_TO` IS NULL OR `catalog_price`.`QUANTITY_TO` = 0)
)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/orm/query/query.php:3190
#2: Bitrix\Main\ORM\Query\Query->query(string)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/orm/data/datamanager.php:457
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
/var/www/kssmarket.ru/htdocs/bitrix/modules/catalog/general/product.php:1029
#5: CAllCatalogProduct::GetOptimalPrice(integer)
/var/www/kssmarket.ru/htdocs/local/templates/letsrock/components/bitrix/catalog.item/product_card/result_modifier.php:39
#6: include(string)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component_template.php:877
#7: CBitrixComponentTemplate->__IncludeMutatorFile(array, array)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component_template.php:784
#8: CBitrixComponentTemplate->IncludeTemplate(array)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component.php:735
#9: CBitrixComponent->showComponentTemplate()
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component.php:683
#10: CBitrixComponent->includeComponentTemplate()
/var/www/kssmarket.ru/htdocs/bitrix/components/bitrix/catalog.item/class.php:25
#11: CatalogItemComponent->executeComponent()
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component.php:638
#12: CBitrixComponent->includeComponent(string, array, NULL)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/main.php:1037
#13: CAllMain->IncludeComponent(string, string, array)
/var/www/kssmarket.ru/htdocs/local/templates/letsrock/components/bitrix/catalog.products.viewed/.default/template.php:40
#14: include(string)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component_template.php:720
#15: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component_template.php:815
#16: CBitrixComponentTemplate->IncludeTemplate(array)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component.php:735
#17: CBitrixComponent->showComponentTemplate()
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component.php:683
#18: CBitrixComponent->includeComponentTemplate()
/var/www/kssmarket.ru/htdocs/bitrix/modules/iblock/lib/component/base.php:4042
#19: Bitrix\Iblock\Component\Base->loadData()
/var/www/kssmarket.ru/htdocs/bitrix/modules/iblock/lib/component/elementlist.php:1096
#20: Bitrix\Iblock\Component\ElementList->loadData()
/var/www/kssmarket.ru/htdocs/bitrix/modules/iblock/lib/component/base.php:4021
#21: Bitrix\Iblock\Component\Base->initialLoadAction()
#22: call_user_func(array)
/var/www/kssmarket.ru/htdocs/bitrix/modules/iblock/lib/component/base.php:4206
#23: Bitrix\Iblock\Component\Base->doAction()
/var/www/kssmarket.ru/htdocs/bitrix/modules/iblock/lib/component/base.php:4224
#24: Bitrix\Iblock\Component\Base->executeComponent()
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component.php:638
#25: CBitrixComponent->includeComponent(string, array, NULL)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/main.php:1037
#26: CAllMain->IncludeComponent(string, string, array)
/var/www/kssmarket.ru/htdocs/local/templates/letsrock/components/freematiq/main.include/catalog_item/products_viewed.php:90
#27: include(string)
/var/www/kssmarket.ru/htdocs/local/templates/letsrock/components/freematiq/main.include/catalog_item/template.php:47
#28: include(string)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component_template.php:720
#29: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component_template.php:815
#30: CBitrixComponentTemplate->IncludeTemplate(array)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component.php:735
#31: CBitrixComponent->showComponentTemplate()
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component.php:683
#32: CBitrixComponent->includeComponentTemplate()
/var/www/kssmarket.ru/htdocs/local/components/freematiq/main.include/class.php:7
#33: VariableSet->executeComponent()
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/component.php:638
#34: CBitrixComponent->includeComponent(string, array, NULL)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/classes/general/main.php:1037
#35: CAllMain->IncludeComponent(string, string, array)
/var/www/kssmarket.ru/htdocs/item/index.php:138
#36: include_once(string)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/include/urlrewrite.php:159
#37: include_once(string)
/var/www/kssmarket.ru/htdocs/bitrix/urlrewrite.php:2
Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/db/mysqliconnection.php:137
Stack trace:
#0 /var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`sale_...', Array, NULL)
#1 /var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/orm/query/query.php(3190): Bitrix\Main\DB\Connection->query('SELECT \n\t`sale_...')
#2 /var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/orm/query/query.php(806): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`sale_...')
#3 /var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/orm/data/datamanager.php(457): Bitrix\Main\ORM\Query\Query->exec()
#4 /var/www/kssmarket.ru/htdocs/bitrix/modules/pecom.ecomm/classes/lib/Bitrix/Handler/deliveries.php(69): Bitrix\Main\ORM\Data\DataManager::getList(Array)
#5 /var/www/kssmarket.ru/htdocs/bitrix/modules/pecom.ecomm/classes/lib/Bitrix/Handler/deliveries.php(77): Ip in
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/db/mysqliconnection.php on line
137