[Bitrix\Main\DB\SqlQueryException]
Mysql query error: (1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')
AND (`iblock_elements_element_catalog_main`.`IBLOCK_SECTION_ID` IS NULL OR ...' at line 7 (400)
SELECT
`iblock_elements_element_catalog_main`.`ID` AS `ID`,
`iblock_elements_element_catalog_main_iblock_property123_src_element`.`ID` AS `UALIAS_0`
FROM `b_iblock_element` `iblock_elements_element_catalog_main`
LEFT JOIN `b_iblock_element_prop_m6` `iblock_elements_element_catalog_main_iblock_property123_src_element` ON `iblock_elements_element_catalog_main_iblock_property123_src_element`.`IBLOCK_ELEMENT_ID` = `iblock_elements_element_catalog_main`.`ID` AND `iblock_elements_element_catalog_main_iblock_property123_src_element`.`IBLOCK_PROPERTY_ID` = 123
WHERE `iblock_elements_element_catalog_main`.`ACTIVE` = 'Y'
AND `iblock_elements_element_catalog_main_iblock_property123_src_element`.`VALUE_NUM` IN ()
AND (`iblock_elements_element_catalog_main`.`IBLOCK_SECTION_ID` IS NULL OR `iblock_elements_element_catalog_main`.`IBLOCK_SECTION_ID` = 0) AND `iblock_elements_element_catalog_main`.`IBLOCK_ID` = 6
/home/luzar.ru/projects/web/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
/home/luzar.ru/projects/web/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
/home/luzar.ru/projects/web/bitrix/modules/main/lib/orm/query/query.php:3398
#2: Bitrix\Main\ORM\Query\Query->query(string)
/home/luzar.ru/projects/web/bitrix/modules/main/lib/orm/query/query.php:825
#3: Bitrix\Main\ORM\Query\Query->exec()
/home/luzar.ru/projects/web/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
/home/luzar.ru/projects/web/local/templates/luzar-new/components/bitrix/catalog/main/section_vertical.php:261
#5: include(string)
/home/luzar.ru/projects/web/local/templates/luzar-new/components/bitrix/catalog/main/section.php:75
#6: include(string)
/home/luzar.ru/projects/web/bitrix/modules/main/classes/general/component_template.php:789
#7: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
/home/luzar.ru/projects/web/bitrix/modules/main/classes/general/component_template.php:884
#8: CBitrixComponentTemplate->IncludeTemplate(array)
/home/luzar.ru/projects/web/bitrix/modules/main/classes/general/component.php:764
#9: CBitrixComponent->showComponentTemplate()
/home/luzar.ru/projects/web/bitrix/modules/main/classes/general/component.php:712
#10: CBitrixComponent->includeComponentTemplate(string)
/home/luzar.ru/projects/web/bitrix/components/bitrix/catalog/component.php:171
#11: include(string)
/home/luzar.ru/projects/web/bitrix/modules/main/classes/general/component.php:605
#12: CBitrixComponent->__includeComponent()
/home/luzar.ru/projects/web/bitrix/modules/main/classes/general/component.php:680
#13: CBitrixComponent->includeComponent(string, array, boolean, boolean)
/home/luzar.ru/projects/web/bitrix/modules/main/classes/general/main.php:1041
#14: CAllMain->IncludeComponent(string, string, array, boolean)
/home/luzar.ru/projects/web/catalogue/index.php:275
#15: include_once(string)
/home/luzar.ru/projects/web/bitrix/modules/main/include/urlrewrite.php:159
#16: include_once(string)
/home/luzar.ru/projects/web/bitrix/urlrewrite.php:2