Каталог товаров
[Bitrix\Main\DB\SqlQueryException] Mysql query error: (1146) Table 'sherbinina1_bits.b_iblock_17_index' doesn't exist (400) SELECT F.FACET_ID ,F.VALUE ,MIN(F.VALUE_NUM) MIN_VALUE_NUM ,MAX(F.VALUE_NUM) MAX_VALUE_NUM ,MAX(case when LOCATE('.', F.VALUE_NUM) > 0 then LENGTH(SUBSTRING_INDEX(F.VALUE_NUM, '.', -1)) else 0 end) VALUE_FRAC_LEN ,COUNT(DISTINCT F.ELEMENT_ID) ELEMENT_COUNT FROM b_iblock_17_index F INNER JOIN ( SELECT BE.ID 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 b_iblock_17_index FC on FC.ELEMENT_ID = BE.ID WHERE 1=1 AND FC.SECTION_ID = 87 AND FC.FACET_ID = 756 AND FC.VALUE_NUM = 0 AND FC.VALUE in (245) AND ( (((BE.ACTIVE_TO >= now() OR BE.ACTIVE_TO IS NULL) AND (BE.ACTIVE_FROM <= now() OR BE.ACTIVE_FROM IS NULL))) AND ((((BE.IBLOCK_ID = '17')))) ) 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' )) )) ) E ON E.ID = F.ELEMENT_ID WHERE F.SECTION_ID = 87 and F.FACET_ID in (270,272,762,782,792,814,868,878,784,794,816,870,786,796,818,872,798,820,874,546,564,574,580,584,588,592,596,598,600,604,612,618,692,694,696,698,700,702,704,706,708,710,712,714,716,718,720,722,724,726,728,730,732,734,736,738,740,742,744,746,748,750,754,764,766,768,770,772,774,776,778,800,822,802,824,804,826,806,828,808,830,832,812,834,836,838,840,842,844,846,848,850,852,854,856,858,860,862,864,866,11) GROUP BY F.FACET_ID, F.VALUE UNION ALL SELECT F.FACET_ID ,F.VALUE ,MIN(F.VALUE_NUM) MIN_VALUE_NUM ,MAX(F.VALUE_NUM) MAX_VALUE_NUM ,MAX(case when LOCATE('.', F.VALUE_NUM) > 0 then LENGTH(SUBSTRING_INDEX(F.VALUE_NUM, '.', -1)) else 0 end) VALUE_FRAC_LEN ,COUNT(DISTINCT F.ELEMENT_ID) ELEMENT_COUNT 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 b_iblock_17_index F ON BE.ID = F.ELEMENT_ID WHERE F.SECTION_ID = 87 and F.FACET_ID in (756) AND ( (((BE.ACTIVE_TO >= now() OR BE.ACTIVE_TO IS NULL) AND (BE.ACTIVE_FROM <= now() OR BE.ACTIVE_FROM IS NULL))) AND ((((BE.IBLOCK_ID = '17')))) ) 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' )) )) GROUP BY F.FACET_ID, F.VALUE /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php:146 #0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL) /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/lib/db/connection.php:327 #1: Bitrix\Main\DB\Connection->query(string) /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/iblock/lib/propertyindex/facet.php:340 #2: Bitrix\Iblock\PropertyIndex\Facet->query(array) /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/components/bitrix/catalog.smart.filter/component.php:445 #3: include(string) /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/classes/general/component.php:605 #4: CBitrixComponent->__includeComponent() /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/classes/general/component.php:103 #5: CBitrixComponent->executeComponent() /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/components/bitrix/catalog.smart.filter/class.php:138 #6: CBitrixCatalogSmartFilter->executeComponent() /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/classes/general/component.php:658 #7: CBitrixComponent->includeComponent(string, array, object, boolean) /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/classes/general/main.php:1068 #8: CAllMain->IncludeComponent(string, string, array, object) /home/s/sherbinina1/bits-n-bobs.ru/public_html/local/templates/aspro_next/components/bitrix/catalog/main/filter.php:19 #9: include_once(string) /home/s/sherbinina1/bits-n-bobs.ru/public_html/local/templates/aspro_next/components/bitrix/catalog/main/page_blocks/list_elements_1.php:224 #10: include_once(string) /home/s/sherbinina1/bits-n-bobs.ru/public_html/local/templates/aspro_next/components/bitrix/catalog/main/section.php:324 #11: include(string) /home/s/sherbinina1/bits-n-bobs.ru/public_html/local/templates/aspro_next/components/bitrix/catalog/main/filter_tag.php:28 #12: include(string) /home/s/sherbinina1/bits-n-bobs.ru/public_html/local/templates/aspro_next/components/bitrix/catalog/main/filter_tag_3.php:3 #13: include(string) /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/classes/general/component_template.php:790 #14: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/classes/general/component_template.php:885 #15: CBitrixComponentTemplate->IncludeTemplate(array) /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/classes/general/component.php:766 #16: CBitrixComponent->showComponentTemplate() /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/classes/general/component.php:714 #17: CBitrixComponent->includeComponentTemplate(string) /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/components/bitrix/catalog/component.php:171 #18: include(string) /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/classes/general/component.php:605 #19: CBitrixComponent->__includeComponent() /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/classes/general/component.php:682 #20: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/classes/general/main.php:1068 #21: CAllMain->IncludeComponent(string, string, array, boolean) /home/s/sherbinina1/bits-n-bobs.ru/public_html/catalog/index.php:443 #22: include_once(string) /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/modules/main/include/urlrewrite.php:160 #23: include_once(string) /home/s/sherbinina1/bits-n-bobs.ru/public_html/bitrix/urlrewrite.php:2