[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SET collation_connection = "utf8_unicode_ci"
/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, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:379
#2: Bitrix\Main\DB\Connection->queryExecute(string)
	/home/bitrix/www/bitrix/php_interface/after_connect_d7.php:4
#3: include(string)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:984
#4: Bitrix\Main\DB\Connection->afterConnected()
	/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:81
#5: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:122
#6: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#7: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/eventmanager.php:230
#8: Bitrix\Main\EventManager->loadEventHandlers()
	/home/bitrix/www/bitrix/modules/main/lib/eventmanager.php:333
#9: Bitrix\Main\EventManager->findEventHandlers(string, string, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/eventmanager.php:368
#10: Bitrix\Main\EventManager->send(object)
	/home/bitrix/www/bitrix/modules/main/lib/event.php:142
#11: Bitrix\Main\Event->send()
	/home/bitrix/www/bitrix/modules/main/classes/general/usertype.php:1271
#12: CUserTypeManager->getEntityList()
	/home/bitrix/www/bitrix/modules/main/lib/orm/entity.php:298
#13: Bitrix\Main\ORM\Entity->postInitialize()
	/home/bitrix/www/bitrix/modules/main/lib/orm/entity.php:121
#14: Bitrix\Main\ORM\Entity::getInstanceDirect(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/entity.php:104
#15: Bitrix\Main\ORM\Entity::getInstance(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php:81
#16: Bitrix\Main\ORM\Data\DataManager::getEntity()
	/home/bitrix/www/bitrix/modules/security/lib/session.php:110
#17: Bitrix\Security\SessionTable::lock(string, integer)
	/home/bitrix/www/bitrix/modules/security/classes/general/session_db.php:52
#18: CSecuritySessionDB::read(string)
	
#19: session_start()
	/home/bitrix/www/bitrix/modules/main/include.php:288
#20: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#21: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#22: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#23: require(string)
	/home/bitrix/www/catalog/index.php:2
#24: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#25: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2