[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
/var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/lib/orm/query/query.php:3398
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/lib/orm/query/query.php:825
#3: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/b24connector/lib/helper.php:131
#5: Bitrix\B24Connector\Helper::onBeforeProlog()
	/var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/classes/general/module.php:480
#6: ExecuteModuleEventEx(array)
	/var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/include.php:571
#7: require_once(string)
	/var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/include/prolog_before.php:14
#8: require_once(string)
	/var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/include/prolog.php:10
#9: require_once(string)
	/var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/header.php:1
#10: require(string)
	/var/www/carbocarbo_old/data/www/carbo-carbo.ru/catalog/index.php:1
#11: include_once(string)
	/var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/include/urlrewrite.php:159
#12: include_once(string)
	/var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('DELETE FROM `b_...', Array, NULL) #1 /var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/lib/db/connection.php(379): Bitrix\Main\DB\Connection->query('DELETE FROM `b_...', NULL) #2 /var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/lib/orm/data/datamanager.php(1624): Bitrix\Main\DB\Connection->queryExecute('DELETE FROM `b_...') #3 /var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/security/classes/general/session_db.php(100): Bitrix\Main\ORM\Data\DataManager::delete(Array) #4 /var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/security/classes/general/session_handler.php(28): CSecuritySessionDB::write( in /var/www/carbocarbo_old/data/www/carbo-carbo.ru/bitrix/modules/main/lib/db/mysqliconnection.php on line 137