[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`sale_delivery_services_`.`ID` AS `ID`,
	`sale_delivery_services_`.`CODE` AS `CODE`,
	`sale_delivery_services_`.`PARENT_ID` AS `PARENT_ID`,
	`sale_delivery_services_`.`NAME` AS `NAME`,
	`sale_delivery_services_`.`ACTIVE` AS `ACTIVE`,
	`sale_delivery_services_`.`DESCRIPTION` AS `DESCRIPTION`,
	`sale_delivery_services_`.`SORT` AS `SORT`,
	`sale_delivery_services_`.`LOGOTIP` AS `LOGOTIP`,
	`sale_delivery_services_`.`CONFIG` AS `CONFIG`,
	`sale_delivery_services_`.`CLASS_NAME` AS `CLASS_NAME`,
	`sale_delivery_services_`.`CURRENCY` AS `CURRENCY`,
	`sale_delivery_services_`.`TRACKING_PARAMS` AS `TRACKING_PARAMS`,
	`sale_delivery_services_`.`ALLOW_EDIT_SHIPMENT` AS `ALLOW_EDIT_SHIPMENT`,
	`sale_delivery_services_`.`VAT_ID` AS `VAT_ID`
FROM `b_sale_delivery_srv` `sale_delivery_services_` 

WHERE UPPER(`sale_delivery_services_`.`CODE`) like upper('apiship')
AND UPPER(`sale_delivery_services_`.`ACTIVE`) like upper('Y')
ORDER BY `SORT` ASC, `NAME` ASC
/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/entity/query.php:3038
#2: Bitrix\Main\Entity\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/entity/query.php:797
#3: Bitrix\Main\Entity\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/entity/datamanager.php:290
#4: Bitrix\Main\Entity\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/ipol.apiship/classes/general/apishiphelper.php:332
#5: apishipHelper::getDelivery()
	/home/bitrix/www/bitrix/modules/ipol.apiship/classes/general/apishiphelper.php:361
#6: apishipHelper::isActive()
	/home/bitrix/www/bitrix/modules/ipol.apiship/classes/general/apishipdelivery.php:1013
#7: CDeliveryapiship::isActive()
	/home/bitrix/www/bitrix/modules/ipol.apiship/classes/general/apishipdelivery.php:1030
#8: CDeliveryapiship::onBufferContent(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:490
#9: ExecuteModuleEventEx(array, array)
	/home/bitrix/www/bitrix/modules/main/lib/composite/engine.php:416
#10: Bitrix\Main\Composite\Engine::endBuffering(string, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:3206
#11: CAllMain->EndBufferContent(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:3150
#12: CAllMain->EndBufferContentMan()
	/home/bitrix/www/bitrix/modules/main/include/epilog_after.php:36
#13: require(string)
	/home/bitrix/www/bitrix/modules/main/include/epilog.php:3
#14: require_once(string)
	/home/bitrix/www/bitrix/footer.php:4
#15: require(string)
	/home/bitrix/www/action_type/index.php:803
#16: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#17: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2