[Bitrix\Main\DB\SqlQueryException] Mysql query error: (2006) MySQL server has gone away (400) SELECT `iblock_element`.`ID` AS `ID`, `iblock_element`.`IBLOCK_ID` AS `IBLOCK_ID` FROM `b_iblock_element` `iblock_element` WHERE `iblock_element`.`ID` IN (156570) /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137 #0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL) /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/main/lib/db/connection.php:329 #1: Bitrix\Main\DB\Connection->query(string) /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/main/lib/entity/query.php:1873 #2: Bitrix\Main\Entity\Query->query(string) /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/main/lib/entity/query.php:460 #3: Bitrix\Main\Entity\Query->exec() /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/main/lib/entity/datamanager.php:242 #4: Bitrix\Main\Entity\DataManager::getList(array) /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/catalog/general/catalog_sku.php:291 #5: CAllCatalogSku::getExistOffers(array, integer) /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/catalog/general/catalog_sku.php:271 #6: CAllCatalogSku::IsExistOffers(integer) /var/www/madambrosh/data/www/madambrosh.ru/bitrix/templates/dresscode/components/bitrix/catalog.section/squares/result_modifier.php:58 #7: include(string) /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/main/classes/general/component_template.php:868 #8: CBitrixComponentTemplate->__IncludeMutatorFile(array, array) /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/main/classes/general/component_template.php:775 #9: CBitrixComponentTemplate->IncludeTemplate(array) /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/main/classes/general/component.php:681 #10: CBitrixComponent->showComponentTemplate() /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/main/classes/general/component.php:629 #11: CBitrixComponent->includeComponentTemplate() /var/www/madambrosh/data/www/madambrosh.ru/bitrix/components/bitrix/catalog.section/component.php:1294 #12: include(string) /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/main/classes/general/component.php:548 #13: CBitrixComponent->__includeComponent() /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/main/classes/general/component.php:600 #14: CBitrixComponent->includeComponent(string, array, boolean) /var/www/madambrosh/data/www/madambrosh.ru/bitrix/modules/main/classes/general/main.php:1035 #15: CAllMain->IncludeComponent(string, string, array, boolean) /var/www/madambrosh/data/www/madambrosh.ru/index.php:280