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