[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`b24connector_button`.`ID` AS `ID`,
	`b24connector_button`.`APP_ID` AS `APP_ID`,
	`b24connector_button`.`ADD_DATE` AS `ADD_DATE`,
	`b24connector_button`.`ADD_BY` AS `ADD_BY`,
	`b24connector_button`.`NAME` AS `NAME`,
	`b24connector_button`.`SCRIPT` AS `SCRIPT`
FROM `b_b24connector_buttons` `b24connector_button` 

WHERE `b24connector_button`.`APP_ID` = 1
/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/orm/query/query.php:3137
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php:407
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/b24connector/lib/helper.php:131
#5: Bitrix\B24Connector\Helper::onBeforeProlog()
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:490
#6: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/include.php:568
#7: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#8: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#9: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#10: require(string)
	/home/bitrix/ext_www/sanma.ru/catalog/index.php:2
#11: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#12: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/bitrix/www/bitrix/modules/main/lib/db/mysqlcommonconnection.php(136): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT * FROM `...') #1 /home/bitrix/www/bitrix/modules/main/lib/db/connection.php(716): Bitrix\Main\DB\MysqlCommonConnection->getTableFields('b_sec_session') #2 /home/bitrix/www/bitrix/modules/main/lib/db/sqlhelper.php(387): Bitrix\Main\DB\Connection->getTableField('b_sec_session', 'SESSION_ID') #3 /home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php(1140): Bitrix\Main\DB\SqlHelper->prepareAssignment('b_sec_session', 'SESSION_ID', 'J5bA4iATm6albaY...') #4 /home/bitrix/www/bitrix/modules/security/classes/general/session_db.php(92): Bitrix\Main\ORM\Data\DataManager::delete(Array) #5 [internal function]: CSecuritySessionDB::write('J5bA4iATm6albaY...', 'SESS_AUTH|a:1:{...') #6 [internal function]: in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php on line 137