Краматорск
Ваш город Краматорск?
Да Нет

Пн-Вс, с 9:00 до 19:00

Оболонский проспект 19

Заказать звонок
0 0 0

Бренды

[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '131)) AND (F.ELEMENT_ID IN (823739,823737,823743,743004,824849,824851,824988,825' at line 20 (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 B
			INNER JOIN b_lang L ON B.LID=L.LID
			INNER JOIN b_iblock_element BE ON BE.IBLOCK_ID = B.ID
			left join b_catalog_product as CAT_PR on (CAT_PR.ID = BE.ID)
			left join b_catalog_iblock as CAT_IB on ((CAT_PR.VAT_ID IS NULL or CAT_PR.VAT_ID = 0) and CAT_IB.IBLOCK_ID = BE.IBLOCK_ID)
			left join b_catalog_vat as CAT_VAT on (CAT_VAT.ID = IF((CAT_PR.VAT_ID IS NULL OR CAT_PR.VAT_ID = 0), CAT_IB.VAT_ID, CAT_PR.VAT_ID))

		
							INNER JOIN b_iblock_1_index F ON BE.ID = F.ELEMENT_ID
					WHERE
						F.FACET_ID in (1126,1124,1128,460,124,126,442,22,446,448,450,432,1126,1124,1128,460,124,126,442,22,446,448,450,432,1126,1124,1128,460,124,126,442,22,446,448,450,432,1126,1124,1128,460,124,126,442,22,446,448,450,432,1126,1124,1128,460,124,126,442,22,446,448,450,432,1126,1124,1128,460,124,126,472,442,22,446,448,450,432,1126,1124,1128,460,124,126,442,22,446,448,450,432,1126,1124,1128,460,124,126,442,22,446,448,450,432,434,1126,1124,1128,460,124,126,442,22,446,448,450,432,1126,1124,1128,460,124,126,442,22,446,448,450,432,3) AND (F.SECTION_ID IN (531,831,680,11,748,25,12,676,,131)) AND (F.ELEMENT_ID IN (823739,823737,823743,743004,824849,824851,824988,825879,832726,832729,832731,832733,832735,838518,838528,838539,841149,852741,852747,852749,852752,852754,852756,852758,853790,853792,853794,853796,853798,853800,853802,853943,853945,853953,853959,853961,853963,853965,853967,853969,853971,853973,853975,853977,853979,853983,853985,853987,853991,853993,854052,854054,854056,854058,854060,854062,854064,854066,854094,854088,854146,854114,854116,854119,854144,854139,854137,854123,854729,854731,854733,854735,854737,854738,854741,854743,854745,854747,854749,854751,854756,854758,854760,854767,854769,854771,854773,854776,854778,854780,854782,854784,854789,854791,854793,854795,854797,854799,854801,854803,854805,854807,854809,854811,854813,854815,854817,854819,854821,854827,854829,854831,854833,854835,854837,854839,854841,854843,854845,854847,854849,854851,854853,854855,854857,854859,854862,854868,855198,855200,855253,855256,855258,855260,855262,855354,855356,855638,855639,855641,855642,855646,855648,856358,856360,856362,856364,856367,856369,856374,856376,856378,856380,856382,856384,856386,856388,856390,856392,856394,856396,856399,856401,856403,856405,856407,856409,856449,856451,856453,856455,856457,856459,856461,856462,856465,856467,856469,856470,856473,856475,856477,856479,856481,856483,856489,856491,856495,856600,856610,856645,856647,856659,856660,856699,856701,856703,856705,856710,856716,856718,856720,856722,856724,856727,856729,856731,856733,856735,856737,856739,856741,856743,856744,856770,857017,857019,857021,857026,857030,857033,857035,857037,857045,857047,857049,857051,857053,857062,857066,857068,857073,857163,857212,857337,857341,857351,857370,857375,857388,857472,857497,857689,857705,857707,857708,857723,857726,857728,857745,857747,858553,858801,858730,858746,858733,858736,858739,858875,858750,858752,858754,858760,858763,858765,858767,858769,858771,858773,858774,858776,858793,858795,858797,858799,858803,858805,858807,858840,858842,858844,858847,858849,858851,858853,858855,858857,858880,858882,858885,858921,858923,858925,858927,858929,858931,858933,858935,858941,858943,858945,858947,858951,858953,858955,858957,859148,859151,859153,859155,859157,859159,858758,858756,859432,859437,859439,859442,859445,859448,859537,859539,859541,859544,859546,859590,859740,859897,859971,859975,859983,860003,860007,860010,860013,860016,860042,860045,860048,860067,860079,860083,860138,860142,860189,860192,860195,860198,860317,860319,860435,860740,860744,860806,860807,860809,860810,860812,860814,860816,860962,860964,860968,861030,861292,860038,861408))
					GROUP BY
						F.FACET_ID, F.VALUE
				
/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/sotbit.origami/lib/filter/facet.php:351
#2: Sotbit\Origami\Filter\Facet->query(array)
	/home/bitrix/ext_www/umgold.ua/local/components/sotbit/catalog.smart.filter/component.php:81
#3: include(string)
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/classes/general/component.php:605
#4: CBitrixComponent->__includeComponent()
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/classes/general/component.php:103
#5: CBitrixComponent->executeComponent()
	/home/bitrix/ext_www/umgold.ua/local/components/sotbit/catalog.smart.filter/class.php:136
#6: CBitrixCatalogSmartFilter->executeComponent()
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/classes/general/component.php:656
#7: CBitrixComponent->includeComponent(string, array, object, boolean)
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/classes/general/main.php:1063
#8: CAllMain->IncludeComponent(string, string, array, object, array)
	/home/bitrix/ext_www/umgold.ua/local/templates/.default/components/sotbit/news/sotbit_origami_brands/detail.php:151
#9: include(string)
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/classes/general/component_template.php:789
#10: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/classes/general/component_template.php:884
#11: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/classes/general/component.php:764
#12: CBitrixComponent->showComponentTemplate()
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/classes/general/component.php:712
#13: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/ext_www/umgold.ua/local/components/sotbit/news/component.php:223
#14: include(string)
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/classes/general/component.php:605
#15: CBitrixComponent->__includeComponent()
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/classes/general/component.php:680
#16: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/classes/general/main.php:1063
#17: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/ext_www/umgold.ua/brands/index.php:144
#18: include_once(string)
	/home/bitrix/ext_www/umgold.ua/bitrix/modules/main/include/urlrewrite.php:159
#19: include_once(string)
	/home/bitrix/ext_www/umgold.ua/bitrix/urlrewrite.php:2