Фильтр товаров
Фильтр товаров  X
FILE: /var/www/pin-avto/data/www/pin-avto2.ru/bitrix/modules/iblock/classes/mysql/iblockelement.php
LINE: 803
MySQL Query Error: SELECT BE.ID as ID,BE.IBLOCK_ID as IBLOCK_ID , PRC_1.PRICE as PRICE_1, PRC_1.CURRENCY as CURRENCY_1, PRC_1.PRICE_SCALE as SCALED_PRICE_1 FROM b_iblock B INNER JOIN b_lang L ON B.LID=L.LID INNER JOIN b_iblock_element BE ON BE.IBLOCK_ID = B.ID INNER JOIN ( SELECT DISTINCT BSE.IBLOCK_ELEMENT_ID FROM b_iblock_section_element BSE INNER JOIN b_iblock_section BS ON BSE.IBLOCK_SECTION_ID = BS.ID WHERE ((( (BS.LEFT_MARGIN >= 453 AND BS.RIGHT_MARGIN <= 522) )))AND BSE.ADDITIONAL_PROPERTY_ID IS NULL ) BES ON BES.IBLOCK_ELEMENT_ID = BE.ID left join b_catalog_price as PRC_1 on (PRC_1.PRODUCT_ID = BE.ID and PRC_1.CATALOG_GROUP_ID = 1 and ((PRC_1.QUANTITY_FROM <= 1 or PRC_1.QUANTITY_FROM IS NULL) and (PRC_1.QUANTITY_TO >= 1 or PRC_1.QUANTITY_TO IS NULL))) WHERE 1=1 AND ( ((((BE.IBLOCK_ID = '1')))) AND (((BE.ACTIVE_TO >= now() OR BE.ACTIVE_TO IS NULL) AND (BE.ACTIVE_FROM <= now() OR BE.ACTIVE_FROM IS NULL))) AND ((((BE.ACTIVE='Y')))) ) AND (((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL))) AND (( B.ID IN ( SELECT IBLOCK_ID FROM b_iblock_group IBG WHERE IBG.GROUP_ID IN (2) AND IBG.PERMISSION >= 'R' AND (IBG.PERMISSION='X' OR B.ACTIVE='Y') ) OR (B.RIGHTS_MODE = 'E' AND EXISTS ( SELECT ER.ELEMENT_ID FROM b_iblock_element_right ER INNER JOIN b_iblock_right IBR ON IBR.ID = ER.RIGHT_ID INNER JOIN b_user_access UA ON UA.ACCESS_CODE = IBR.GROUP_CODE AND UA.USER_ID = 0 WHERE ER.ELEMENT_ID = BE.ID AND IBR.OP_EREAD = 'Y' )) )) [[2006] MySQL server has gone away]

DB query error.
Please try later.





Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/pin-avto/data/www/pin-avto2.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /var/www/pin-avto/data/www/pin-avto2.ru/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`main_...', Array, NULL) #1 /var/www/pin-avto/data/www/pin-avto2.ru/bitrix/modules/main/lib/orm/query/query.php(3306): Bitrix\Main\DB\Connection->query('SELECT \n\t`main_...') #2 /var/www/pin-avto/data/www/pin-avto2.ru/bitrix/modules/main/lib/orm/query/query.php(817): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`main_...') #3 /var/www/pin-avto/data/www/pin-avto2.ru/bitrix/modules/main/lib/orm/data/datamanager.php(500): Bitrix\Main\ORM\Query\Query->exec() #4 /var/www/pin-avto/data/www/pin-avto2.ru/bitrix/modules/main/lib/analytics/sitespeed.php(95): Bitrix\Main\ORM\Data\DataManager::getList(Array) #5 /var/www/pin-avto/data/www/pin-avto2.ru/bitrix/modules/main/ in /var/www/pin-avto/data/www/pin-avto2.ru/bitrix/modules/main/lib/db/mysqliconnection.php on line 137