[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost]: (2006) MySQL server has gone away (400)
/var/www/html/bitrix/modules/main/lib/db/mysqliconnection.php:65
#0: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/var/www/html/bitrix/modules/main/lib/db/mysqliconnection.php:122
#1: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/html/bitrix/modules/main/lib/db/connection.php:330
#2: Bitrix\Main\DB\Connection->query(string)
	/var/www/html/bitrix/modules/main/lib/orm/query/query.php:3398
#3: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/html/bitrix/modules/main/lib/orm/query/query.php:825
#4: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/html/bitrix/modules/main/lib/orm/data/datamanager.php:500
#5: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/var/www/html/bitrix/modules/main/lib/orm/data/datamanager.php:361
#6: Bitrix\Main\ORM\Data\DataManager::getByPrimary(array)
	/var/www/html/bitrix/modules/main/lib/orm/data/datamanager.php:376
#7: Bitrix\Main\ORM\Data\DataManager::getById(string)
	/var/www/html/bitrix/modules/dev2fun.multidomain/lib/HLHelpers.php:66
#8: Dev2fun\MultiDomain\HLHelpers->getEntityTable(string)
	/var/www/html/bitrix/modules/dev2fun.multidomain/lib/HLHelpers.php:83
#9: Dev2fun\MultiDomain\HLHelpers->getElementsResource(string, array, array, array, array)
	/var/www/html/bitrix/modules/dev2fun.multidomain/lib/HLHelpers.php:126
#10: Dev2fun\MultiDomain\HLHelpers->getElementList(string, array)
	/var/www/html/bitrix/modules/dev2fun.multidomain/classes/general/SubDomain.php:105
#11: Dev2fun\MultiDomain\SubDomain->check()
	/var/www/html/bitrix/modules/dev2fun.multidomain/include.php:71
#12: Dev2fun\MultiDomain\Base::InitDomains()
	/var/www/html/bitrix/modules/main/classes/general/module.php:480
#13: ExecuteModuleEventEx(array)
	/var/www/html/bitrix/modules/main/include.php:303
#14: require_once(string)
	/var/www/html/bitrix/modules/main/include/prolog_before.php:14
#15: require_once(string)
	/var/www/html/bitrix/modules/main/include/prolog.php:10
#16: require_once(string)
	/var/www/html/bitrix/header.php:1
#17: require(string)
	/var/www/html/catalog/index.php:7
#18: include_once(string)
	/var/www/html/bitrix/modules/main/include/urlrewrite.php:159
#19: include_once(string)
	/var/www/html/bitrix/urlrewrite.php:2