[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SHOW TABLES LIKE 'b_iblock_1_index_val'
/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/db/mysqlcommonconnection.php:52
#2: Bitrix\Main\DB\MysqlCommonConnection->isTableExists(string)
	/home/bitrix/www/bitrix/modules/iblock/lib/propertyindex/dictionary.php:54
#3: Bitrix\Iblock\PropertyIndex\Dictionary->isExists()
	/home/bitrix/www/bitrix/modules/iblock/lib/propertyindex/facet.php:57
#4: Bitrix\Iblock\PropertyIndex\Facet->__construct(integer)
	/home/bitrix/www/bitrix/modules/iblock/lib/propertyindex/querybuilder.php:28
#5: Bitrix\Iblock\PropertyIndex\QueryBuilder->__construct(integer)
	/home/bitrix/www/bitrix/modules/iblock/classes/general/iblockelement.php:657
#6: CAllIBlockElement->MkFilter(array, array, array)
	/home/bitrix/www/bitrix/modules/iblock/classes/general/iblockelement.php:3088
#7: CAllIBlockElement->PrepareGetList(array, array, array, string, array, array, NULL, NULL, array, boolean, string, array, array, array)
	/home/bitrix/www/bitrix/modules/iblock/classes/mysql/iblockelement.php:343
#8: CIBlockElement->prepareSql(array, array, boolean, array)
	/home/bitrix/www/bitrix/modules/iblock/classes/mysql/iblockelement.php:662
#9: CIBlockElement::GetList(array, array, boolean, boolean, array)
	/home/bitrix/www/bitrix/modules/iblock/classes/general/comp_findtools.php:25
#10: CIBlockFindTools::GetElementID(integer, string, integer, string, array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:322
#11: Bitrix\Iblock\Component\Element->checkElementId()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:284
#12: Bitrix\Iblock\Component\Element->processResultData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4551
#13: Bitrix\Iblock\Component\Base->loadData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4540
#14: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:271
#15: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#16: call_user_func(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4725
#17: Bitrix\Iblock\Component\Base->doAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4743
#18: Bitrix\Iblock\Component\Base->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:649
#19: CBitrixComponent->includeComponent(string, array, object)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#20: CAllMain->IncludeComponent(string, string, array, object)
	/home/bitrix/www/local/templates/optima/components/bitrix/catalog/.default/element.php:153
#21: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789
#22: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884
#23: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:746
#24: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:694
#25: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/www/bitrix/components/bitrix/catalog/component.php:171
#26: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:605
#27: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:664
#28: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#29: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/www/catalog/index.php:306
#30: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#31: 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('\n\t\t\t\tSELECT NAM...', Array, NULL) #1 /home/bitrix/www/bitrix/modules/main/lib/config/option.php(196): Bitrix\Main\DB\Connection->query('\n\t\t\t\tSELECT NAM...') #2 /home/bitrix/www/bitrix/modules/main/lib/config/option.php(38): Bitrix\Main\Config\Option::load('brainforce.lazy...') #3 /home/bitrix/www/bitrix/modules/brainforce.lazyload/lib/BFLazyLoad.php(14): Bitrix\Main\Config\Option::get('brainforce.lazy...', 'switch_on') #4 /home/bitrix/www/bitrix/modules/main/classes/general/module.php(490): BFLazyLoad::appendScriptsToPage() #5 /home/bitrix/www/bitrix/modules/main/classes/general/main.php(3162): ExecuteModuleEventEx(Array, Array) #6 [internal function]: CAllMain->EndBufferContent('\n\n\n<pre>[Bitrix...', 9) # in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php on line 137