[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` = 66081
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)
)
/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/lib/orm/query/query.php:3190
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/lib/orm/data/datamanager.php:407
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/catalog/general/product.php:1029
#5: CAllCatalogProduct::GetOptimalPrice(integer, double, array, string)
	/home/metodlit/web/metodlit.ru/public_html/bitrix/templates/metodlit2019/components/bitrix/catalog.element/metodlit2016corotko/result_modifier.php:328
#6: include(string)
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/classes/general/component_template.php:877
#7: CBitrixComponentTemplate->__IncludeMutatorFile(array, array)
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/classes/general/component_template.php:784
#8: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/classes/general/component.php:735
#9: CBitrixComponent->showComponentTemplate()
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/classes/general/component.php:683
#10: CBitrixComponent->includeComponentTemplate()
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4042
#11: Bitrix\Iblock\Component\Base->loadData()
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4021
#12: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/iblock/lib/component/element.php:228
#13: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#14: call_user_func(array)
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4206
#15: Bitrix\Iblock\Component\Base->doAction()
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4224
#16: Bitrix\Iblock\Component\Base->executeComponent()
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/classes/general/component.php:638
#17: CBitrixComponent->includeComponent(string, array, boolean)
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/classes/general/main.php:1037
#18: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/metodlit/web/metodlit.ru/public_html/goods/index.php:166
#19: include_once(string)
	/home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/include/urlrewrite.php:159
#20: include_once(string)
	/home/metodlit/web/metodlit.ru/public_html/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`sale_...', Array, NULL) #1 /home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/lib/orm/query/query.php(3190): Bitrix\Main\DB\Connection->query('SELECT \n\t`sale_...') #2 /home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/lib/orm/query/query.php(806): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`sale_...') #3 /home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/lib/orm/data/datamanager.php(407): Bitrix\Main\ORM\Query\Query->exec() #4 /home/metodlit/web/metodlit.ru/public_html/bitrix/modules/ipol.apiship/classes/general/apishiphelper.php(332): Bitrix\Main\ORM\Data\DataManager::getList(Array) #5 /home/metodlit/web/metodlit in /home/metodlit/web/metodlit.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php on line 137