[Bitrix\Main\DB\SqlQueryException]
Mysql query error: (2006) 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
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/lib/orm/query/query.php:3193
#2: Bitrix\Main\ORM\Query\Query->query(string)
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/lib/orm/data/datamanager.php:457
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/socialservices/lib/ap.php:96
#5: Bitrix\Socialservices\ApTable::getConnection()
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/b24connector/lib/connection.php:229
#6: Bitrix\B24Connector\Connection::getFields()
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/b24connector/lib/helper.php:125
#7: Bitrix\B24Connector\Helper::onBeforeProlog()
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/classes/general/module.php:490
#8: ExecuteModuleEventEx(array)
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/include.php:572
#9: require_once(string)
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/include/prolog_before.php:14
#10: require_once(string)
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/include/prolog.php:10
#11: require_once(string)
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/header.php:1
#12: require(string)
/var/www/testmyb1/data/www/kinosklad_ru/brands/index.php:1
#13: include_once(string)
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/include/urlrewrite.php:159
#14: include_once(string)
/var/www/testmyb1/data/www/kinosklad.rf/bitrix/urlrewrite.php:2
Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/lib/db/mysqliconnection.php:137
Stack trace:
#0 /var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/lib/db/mysqlcommonconnection.php(136): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT * FROM `...')
#1 /var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/lib/db/connection.php(779): Bitrix\Main\DB\MysqlCommonConnection->getTableFields('b_sec_session')
#2 /var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/lib/db/sqlhelper.php(399): Bitrix\Main\DB\Connection->getTableField('b_sec_session', 'SESSION_ID')
#3 /var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/lib/orm/data/datamanager.php(1531): Bitrix\Main\DB\SqlHelper->prepareAssignment('b_sec_session', 'SESSION_ID', '6m070xluUvjwe6T...')
#4 /var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/security/classes/general/session_db.php(92): Bitrix\Main\ORM\Data\DataMa in /var/www/testmyb1/data/www/kinosklad.rf/bitrix/modules/main/lib/db/mysqliconnection.php on line 137