[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`main_service_geoip_handler`.`ID` AS `ID`,
	`main_service_geoip_handler`.`SORT` AS `SORT`,
	`main_service_geoip_handler`.`ACTIVE` AS `ACTIVE`,
	`main_service_geoip_handler`.`CLASS_NAME` AS `CLASS_NAME`,
	`main_service_geoip_handler`.`CONFIG` AS `CONFIG`
FROM `b_geoip_handlers` `main_service_geoip_handler` 

/var/www/admin/www/megachas.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/admin/www/megachas.ru/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/admin/www/megachas.ru/bitrix/modules/main/lib/orm/query/query.php:3398
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/admin/www/megachas.ru/bitrix/modules/main/lib/orm/query/query.php:825
#3: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/admin/www/megachas.ru/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList()
	/var/www/admin/www/megachas.ru/bitrix/modules/main/lib/service/geoip/manager.php:376
#5: Bitrix\Main\Service\GeoIp\Manager::initHandlers()
	/var/www/admin/www/megachas.ru/bitrix/modules/main/lib/service/geoip/manager.php:224
#6: Bitrix\Main\Service\GeoIp\Manager::getDataResult(string, string, array)
	/var/www/admin/www/megachas.ru/bitrix/modules/main/lib/service/geoip/manager.php:75
#7: Bitrix\Main\Service\GeoIp\Manager::getCityName(string, string)
	/var/www/admin/www/megachas.ru/bitrix/php_interface/include/functions.php:137
#8: getCity()
	/var/www/admin/www/megachas.ru/bitrix/php_interface/include/functions.php:302
#9: getNewCityName()
	/var/www/admin/www/megachas.ru/local/templates/NEW_2021/header.php:150
#10: include_once(string)
	/var/www/admin/www/megachas.ru/bitrix/modules/main/include/prolog_after.php:106
#11: require(string)
	/var/www/admin/www/megachas.ru/bitrix/modules/main/include/prolog.php:11
#12: require_once(string)
	/var/www/admin/www/megachas.ru/bitrix/header.php:1
#13: require(string)
	/var/www/admin/www/megachas.ru/catalog/index.php:34
#14: include_once(string)
	/var/www/admin/www/megachas.ru/bitrix/modules/main/include/urlrewrite.php:159
#15: include_once(string)
	/var/www/admin/www/megachas.ru/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/admin/www/megachas.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /var/www/admin/www/megachas.ru/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('INSERT IGNORE I...', Array, NULL) #1 /var/www/admin/www/megachas.ru/bitrix/modules/main/lib/db/connection.php(379): Bitrix\Main\DB\Connection->query('INSERT IGNORE I...', NULL) #2 /var/www/admin/www/megachas.ru/bitrix/modules/main/lib/eventmanager.php(183): Bitrix\Main\DB\Connection->queryExecute('INSERT IGNORE I...') #3 /var/www/admin/www/megachas.ru/bitrix/modules/main/lib/eventmanager.php(157): Bitrix\Main\EventManager->registerEventHandlerInternal('sale', 'OnSaleCancelOrd...', 'tcsbank.kupivkr...', 'CTCSBank', 'OnCancelOrder', 100, '', '', 1) #4 /var/www/admin/www/megachas.ru/bitrix/modules/main/classes/general/module.php(497): Bitrix\Main\EventManager->registerEventHandlerCompatible('s in /var/www/admin/www/megachas.ru/bitrix/modules/main/lib/db/mysqliconnection.php on line 137