[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 ')' at line 6 (400)
SELECT 
	`catalog_price`.`PRODUCT_ID` AS `PRODUCT_ID`,
	`catalog_price`.`CATALOG_GROUP_ID` AS `CATALOG_GROUP_ID`
FROM `b_catalog_price` `catalog_price` 

WHERE `catalog_price`.`ID` IN ()
/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/lib/db/connection.php:329
#1: Bitrix\Main\DB\Connection->query(string)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/lib/entity/query.php:2839
#2: Bitrix\Main\Entity\Query->query(string)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/lib/entity/query.php:777
#3: Bitrix\Main\Entity\Query->exec()
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/lib/entity/datamanager.php:260
#4: Bitrix\Main\Entity\DataManager::getList(array)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/catalog/general/discount.php:2353
#5: CAllCatalogDiscount::ExtendBasketItems(array, array)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/module.php:490
#6: ExecuteModuleEventEx(array, array)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/sale/general/discount.php:211
#7: CAllSaleDiscount::DoProcessOrder(array, array, array)
	/pub/home/edinoborets/htdocs-bx/bitrix/templates/main_new/components/bitrix/catalog.element/catalog/result_modifier.php:221
#8: include(string)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/component_template.php:877
#9: CBitrixComponentTemplate->__IncludeMutatorFile(array, array)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/component_template.php:784
#10: CBitrixComponentTemplate->IncludeTemplate(array)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/component.php:685
#11: CBitrixComponent->showComponentTemplate()
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/component.php:633
#12: CBitrixComponent->includeComponentTemplate()
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/iblock/lib/component/base.php:3981
#13: Bitrix\Iblock\Component\Base->loadData()
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/iblock/lib/component/base.php:3960
#14: Bitrix\Iblock\Component\Base->initialLoadAction()
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/iblock/lib/component/element.php:229
#15: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#16: call_user_func(array)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/iblock/lib/component/base.php:4145
#17: Bitrix\Iblock\Component\Base->doAction()
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/iblock/lib/component/base.php:4163
#18: Bitrix\Iblock\Component\Base->executeComponent()
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/component.php:588
#19: CBitrixComponent->includeComponent(string, array, object)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/main.php:1041
#20: CAllMain->IncludeComponent(string, string, array, object)
	/pub/home/edinoborets/htdocs-bx/bitrix/templates/main_new/components/bitrix/catalog/al/element.php:370
#21: include(string)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/component_template.php:720
#22: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/component_template.php:815
#23: CBitrixComponentTemplate->IncludeTemplate(array)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/component.php:685
#24: CBitrixComponent->showComponentTemplate()
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/component.php:633
#25: CBitrixComponent->includeComponentTemplate(string)
	/pub/home/edinoborets/htdocs-bx/bitrix/components/bitrix/catalog/component.php:171
#26: include(string)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/component.php:551
#27: CBitrixComponent->__includeComponent()
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/component.php:603
#28: CBitrixComponent->includeComponent(string, array, boolean)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/classes/general/main.php:1041
#29: CAllMain->IncludeComponent(string, string, array, boolean)
	/pub/home/edinoborets/htdocs-bx/catalog/index.php:339
#30: include_once(string)
	/pub/home/edinoborets/htdocs-bx/bitrix/modules/main/include/urlrewrite.php:159
#31: include_once(string)
	/pub/home/edinoborets/htdocs-bx/bitrix/urlrewrite.php:2