[Bitrix\Main\DB\SqlQueryException]
Mysql query error: (2006) MySQL server has gone away (400)
SELECT
`m_ak_er`.`ID` AS `ID`
FROM `table_maker` `m_ak_er`
WHERE `m_ak_er`.`UF_XML_ID` in ('minipack-torre')
/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/local/php_interface/custom_func/functions.php:51
#5: getBrand(array)
/var/www/kssmarket.ru/htdocs/local/templates/letsrock/header.php:133
#6: include_once(string)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/include/prolog_after.php:96
#7: require(string)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/include/prolog.php:11
#8: require_once(string)
/var/www/kssmarket.ru/htdocs/bitrix/header.php:1
#9: require(string)
/var/www/kssmarket.ru/htdocs/catalog/index.php:2
#10: include_once(string)
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/include/urlrewrite.php:159
#11: 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