NEW SALE
Выбирайте лучшее! Экспертный совет Школы Семи Гномов собрал все лучшие товары для развития детей в одной сети магазинов!
[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`catalog_price`.`ID` AS `ID`,
	`catalog_price`.`CATALOG_GROUP_ID` AS `CATALOG_GROUP_ID`,
	`catalog_price`.`PRICE` AS `PRICE`,
	`catalog_price`.`CURRENCY` AS `CURRENCY`
FROM `b_catalog_price` `catalog_price` 

WHERE `catalog_price`.`PRODUCT_ID` = 34439
AND `catalog_price`.`CATALOG_GROUP_ID` IN (1)
AND (
	`catalog_price`.`QUANTITY_FROM` <= 1
	OR (`catalog_price`.`QUANTITY_FROM` IS NULL OR `catalog_price`.`QUANTITY_FROM` = 0)
)
AND (
	`catalog_price`.`QUANTITY_TO` >= 1
	OR (`catalog_price`.`QUANTITY_TO` IS NULL OR `catalog_price`.`QUANTITY_TO` = 0)
)
ORDER BY `CATALOG_GROUP_ID` ASC
/var/www/html/shkola7gnomov.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/lib/orm/query/query.php:3193
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/lib/orm/data/datamanager.php:467
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/var/www/html/shkola7gnomov.ru/bitrix/modules/catalog/general/product.php:1029
#5: CAllCatalogProduct::GetOptimalPrice(integer, double, array, string, array, string, array)
	/var/www/html/shkola7gnomov.ru/bitrix/components/bitrix/catalog.element/class.php:138
#6: CatalogElementComponent->initAdditionalCacheKeys(array)
	/var/www/html/shkola7gnomov.ru/bitrix/modules/iblock/lib/component/element.php:775
#7: Bitrix\Iblock\Component\Element->getCacheKeys()
	/var/www/html/shkola7gnomov.ru/bitrix/modules/iblock/lib/component/base.php:3896
#8: Bitrix\Iblock\Component\Base->initResultCache()
	/var/www/html/shkola7gnomov.ru/bitrix/modules/iblock/lib/component/base.php:4427
#9: Bitrix\Iblock\Component\Base->loadData()
	/var/www/html/shkola7gnomov.ru/bitrix/modules/iblock/lib/component/base.php:4407
#10: Bitrix\Iblock\Component\Base->initialLoadAction()
	/var/www/html/shkola7gnomov.ru/bitrix/modules/iblock/lib/component/element.php:271
#11: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#12: call_user_func(array)
	/var/www/html/shkola7gnomov.ru/bitrix/modules/iblock/lib/component/base.php:4592
#13: Bitrix\Iblock\Component\Base->doAction()
	/var/www/html/shkola7gnomov.ru/bitrix/modules/iblock/lib/component/base.php:4610
#14: Bitrix\Iblock\Component\Base->executeComponent()
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/classes/general/component.php:638
#15: CBitrixComponent->includeComponent(string, array, object)
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/classes/general/main.php:1038
#16: CAllMain->IncludeComponent(string, string, array, object)
	/var/www/html/shkola7gnomov.ru/local/templates/seven_gnomes_final/components/bitrix/catalog/catalog/element.php:158
#17: include(string)
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/classes/general/component_template.php:725
#18: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/classes/general/component_template.php:820
#19: CBitrixComponentTemplate->IncludeTemplate(array)
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/classes/general/component.php:735
#20: CBitrixComponent->showComponentTemplate()
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/classes/general/component.php:683
#21: CBitrixComponent->includeComponentTemplate(string)
	/var/www/html/shkola7gnomov.ru/bitrix/components/bitrix/catalog/component.php:171
#22: include(string)
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/classes/general/component.php:594
#23: CBitrixComponent->__includeComponent()
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/classes/general/component.php:653
#24: CBitrixComponent->includeComponent(string, array, boolean)
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/classes/general/main.php:1038
#25: CAllMain->IncludeComponent(string, string, array, boolean)
	/var/www/html/shkola7gnomov.ru/catalog/index.php:194
#26: include_once(string)
	/var/www/html/shkola7gnomov.ru/bitrix/modules/main/include/urlrewrite.php:159
#27: include_once(string)
	/var/www/html/shkola7gnomov.ru/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/html/shkola7gnomov.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /var/www/html/shkola7gnomov.ru/bitrix/modules/main/lib/db/mysqlcommonconnection.php(136): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT * FROM `...') #1 /var/www/html/shkola7gnomov.ru/bitrix/modules/main/lib/db/connection.php(779): Bitrix\Main\DB\MysqlCommonConnection->getTableFields('b_sec_session') #2 /var/www/html/shkola7gnomov.ru/bitrix/modules/main/lib/db/sqlhelper.php(406): Bitrix\Main\DB\Connection->getTableField('b_sec_session', 'SESSION_ID') #3 /var/www/html/shkola7gnomov.ru/bitrix/modules/main/lib/orm/data/datamanager.php(1583): Bitrix\Main\DB\SqlHelper->prepareAssignment('b_sec_session', 'SESSION_ID', 'g6BFSTDpvgyjSgI...') #4 /var/www/html/shkola7gnomov.ru/bitrix/modules/security/classes/general/session_db.php(92): Bitrix\Main\ORM\Data\DataManager::delete(Array) #5 [internal function]: CSecurity in /var/www/html/shkola7gnomov.ru/bitrix/modules/main/lib/db/mysqliconnection.php on line 137