[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`iblock_inherited_property`.`ID` AS `ID`
FROM `b_iblock_iproperty` `iblock_inherited_property` 

WHERE `iblock_inherited_property`.`IBLOCK_ID` = 2
LIMIT 0, 1

/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)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:3357
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:825
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/inheritedproperty/basetemplate.php:145
#5: Bitrix\Iblock\InheritedProperty\BaseTemplate->hasTemplates(object)
	/home/bitrix/www/bitrix/modules/iblock/lib/inheritedproperty/basevalues.php:158
#6: Bitrix\Iblock\InheritedProperty\BaseValues->hasTemplates()
	/home/bitrix/www/bitrix/modules/iblock/lib/inheritedproperty/elementvalues.php:130
#7: Bitrix\Iblock\InheritedProperty\ElementValues->queryValues()
	/home/bitrix/www/bitrix/modules/iblock/lib/inheritedproperty/basevalues.php:104
#8: Bitrix\Iblock\InheritedProperty\BaseValues->getValues()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:2297
#9: Bitrix\Iblock\Component\Base->modifyElementCommonData(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:2269
#10: Bitrix\Iblock\Component\Base->processElement(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:531
#11: Bitrix\Iblock\Component\Element->getIblockElements(object)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:794
#12: Bitrix\Iblock\Component\Base->initElementList()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4048
#13: Bitrix\Iblock\Component\Base->processResultData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:286
#14: Bitrix\Iblock\Component\Element->processResultData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4551
#15: Bitrix\Iblock\Component\Base->loadData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4540
#16: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:271
#17: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#18: call_user_func(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4725
#19: Bitrix\Iblock\Component\Base->doAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4743
#20: Bitrix\Iblock\Component\Base->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:656
#21: CBitrixComponent->includeComponent(string, array, object, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#22: CAllMain->IncludeComponent(string, string, array, object)
	/home/bitrix/www/bitrix/templates/smart_new/components/bitrix/catalog/.default/element.php:142
#23: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789
#24: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884
#25: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:764
#26: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:712
#27: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/www/bitrix/components/bitrix/catalog/component.php:171
#28: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:605
#29: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:680
#30: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#31: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/www/catalog/index.php:314
#32: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#33: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/bitrix/www/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`main_...', Array, NULL) #1 /home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php(3357): Bitrix\Main\DB\Connection->query('SELECT \n\t`main_...') #2 /home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php(825): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`main_...') #3 /home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php(500): Bitrix\Main\ORM\Query\Query->exec() #4 /home/bitrix/www/bitrix/modules/main/lib/analytics/sitespeed.php(95): Bitrix\Main\ORM\Data\DataManager::getList(Array) #5 /home/bitrix/www/bitrix/modules/main/lib/analytics/counter.php(92): Bitrix\Main\Analytics\SiteSpeed::isIntranetSite('s1') #6 /home/bitrix/www/bitrix/modules/main/classes/general/module.php(480): Bit in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php on line 137

Fatal error: Uncaught Error: Cannot pass parameter 2 by reference in /home/bitrix/www/bitrix/modules/main/lib/orm/entity.php:741 Stack trace: #0 /home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php(77): Bitrix\Main\ORM\Entity::normalizeEntityClass('Bitrix\\Security...') #1 /home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php(581): Bitrix\Main\ORM\Data\DataManager::getEntity() #2 /home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php(1589): Bitrix\Main\ORM\Data\DataManager::normalizePrimary('oPiKNxL5qzRWRPZ...') #3 /home/bitrix/www/bitrix/modules/security/classes/general/session_db.php(100): Bitrix\Main\ORM\Data\DataManager::delete('oPiKNxL5qzRWRPZ...') #4 /home/bitrix/www/bitrix/modules/security/classes/general/session_handler.php(28): CSecuritySessionDB::write('kGgbDBgfCaagvRX...', 'SESS_AUTH|a:1:{...') #5 [internal function]: CSecuritySessionHandler->write('kGgbDBgfCaagvRX...', 'SESS_AUTH|a:1:{...') #6 {main} thrown in /home/bitrix/www/bitrix/modules/main/lib/orm/entity.php on line 741