[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: MySQL server has gone away (400)
SELECT 
	`socialservices_ap`.`ID` AS `ID`,
	`socialservices_ap`.`TIMESTAMP_X` AS `TIMESTAMP_X`,
	`socialservices_ap`.`USER_ID` AS `USER_ID`,
	`socialservices_ap`.`DOMAIN` AS `DOMAIN`,
	`socialservices_ap`.`ENDPOINT` AS `ENDPOINT`,
	`socialservices_ap`.`LOGIN` AS `LOGIN`,
	`socialservices_ap`.`PASSWORD` AS `PASSWORD`,
	`socialservices_ap`.`LAST_AUTHORIZE` AS `LAST_AUTHORIZE`,
	`socialservices_ap`.`SETTINGS` AS `SETTINGS`
FROM `b_socialservices_ap` `socialservices_ap` 

ORDER BY `ID` DESC
LIMIT 0, 1

/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/lib/db/mysqlconnection.php:116
#0: Bitrix\Main\DB\MysqlConnection->queryInternal(string, array, NULL)
	/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/lib/entity/query.php:3038
#2: Bitrix\Main\Entity\Query->query(string)
	/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/lib/entity/query.php:797
#3: Bitrix\Main\Entity\Query->exec()
	/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/lib/entity/datamanager.php:290
#4: Bitrix\Main\Entity\DataManager::getList(array)
	/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/socialservices/lib/ap.php:98
#5: Bitrix\Socialservices\ApTable::getConnection()
	/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/b24connector/lib/connection.php:229
#6: Bitrix\B24Connector\Connection::getFields()
	/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/b24connector/lib/helper.php:125
#7: Bitrix\B24Connector\Helper::onBeforeProlog()
	
#8: call_user_func_array(array, array)
	/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/classes/general/module.php:490
#9: ExecuteModuleEventEx(array)
	/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/include.php:565
#10: require_once(string)
	/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/include/prolog_before.php:14
#11: require_once(string)
	/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/include/prolog.php:10
#12: require_once(string)
	/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/header.php:1
#13: require(string)
	/home/users/r/region-kurtamysh/domains/region-kurtamysh.com/city/ovd/infor/grafik-priema-grazhdan-na-aprel.php:2

Fatal error: Uncaught exception 'Bitrix\Main\DB\SqlQueryException' with message 'Mysql query error: MySQL server has gone away' in /home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/lib/db/mysqlconnection.php:116 Stack trace: #0 /home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/lib/db/mysqlcommonconnection.php(132): Bitrix\Main\DB\MysqlConnection->queryInternal('SELECT * FROM `...') #1 /home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/lib/db/connection.php(716): Bitrix\Main\DB\MysqlCommonConnection->getTableFields('b_sec_session') #2 /home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/lib/db/sqlhelper.php(387): Bitrix\Main\DB\Connection->getTableField('b_sec_session', 'SESSION_ID') #3 /home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/lib/entity/datamanager.php(974): Bitrix\Main\DB\SqlHelper->prepareAssignment('b_sec_session', 'SESSION_ID', 'tmfoBRlcUf41Cjy...') #4 /home/users/r in /home/users/r/region-kurtamysh/domains/region-kurtamysh.com/bitrix/modules/main/lib/db/mysqlconnection.php on line 116