Агентство
Недвижимости
Каталог недвижимости
Гродно
[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 'WHERE `pfilter_index`.`IBLOCK_ELEMENT_ID` <> 24546 AND `pfilter_index_section`.`' at line 6 (400)
SELECT 
	`pfilter_index`.`IBLOCK_ELEMENT_ID` AS `IBLOCK_ELEMENT_ID`
FROM `b_pfilter_index` `pfilter_index` 
INNER JOIN `b_catalog_optimizator_section` `pfilter_index_section` ON `pfilter_index`.`IBLOCK_ELEMENT_ID` = `pfilter_index_section`.`IBLOCK_ELEMENT_ID`
AND `pfilter_index_section`.`SECTION_ID` =
WHERE `pfilter_index`.`IBLOCK_ELEMENT_ID` <> 24546 AND `pfilter_index_section`.`SECTION_ID` IS NULL AND `pfilter_index_section`.`INDEX_ID` = 3 AND `pfilter_index`.`PROPERTY_ID` = 38 AND `pfilter_index`.`VALUE` IN ('15613')
GROUP BY `pfilter_index`.`IBLOCK_ELEMENT_ID`
ORDER BY RAND() ASC
LIMIT 0, 10

/home/bitrix/project/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/project/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/project/bitrix/modules/main/lib/orm/query/query.php:3398
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/project/bitrix/modules/main/lib/orm/query/query.php:825
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/project/local/components/bugrealt/catalogProducts/class.php:1123
#4: CCatalogProductListComp->getSimilarProductsByProps()
	/home/bitrix/project/local/components/bugrealt/catalogProducts/class.php:240
#5: CCatalogProductListComp->detailAction()
	/home/bitrix/project/local/components/bugrealt/catalogProducts/class.php:301
#6: CCatalogProductListComp->executeComponent()
	/home/bitrix/project/bitrix/modules/main/classes/general/component.php:656
#7: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/home/bitrix/project/bitrix/modules/main/classes/general/main.php:1063
#8: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/project/sites/grodno.bugrealt.by/catalog/index.php:28
#9: include(string)
	/home/bitrix/project/sites/grodno.bugrealt.by/catalog/detail.php:4
#10: include_once(string)
	/home/bitrix/project/bitrix/modules/main/include/urlrewrite.php:159
#11: include_once(string)
	/home/bitrix/project/bitrix/urlrewrite.php:2