[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 11 (400) SELECT mark.name as MARK, model.name as MODEL, gen.name as GEN, gen.year_begin as year_begin, gen.year_end as year_end FROM car_generation gen JOIN car_model model ON model.id_car_model=gen.id_car_model JOIN car_mark mark ON mark.id_car_mark=model.id_car_mark WHERE gen.id_car_generation IN () /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php:137 #0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL) /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/lib/db/connection.php:330 #1: Bitrix\Main\DB\Connection->query(string) /home/t/tophipak/hipcar.ru/public_html/local/templates/universe_s2/components/bitrix/catalog.element/catalog.default.1/template.php:67 #2: include(string) /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/classes/general/component_template.php:789 #3: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/classes/general/component_template.php:884 #4: CBitrixComponentTemplate->IncludeTemplate(array) /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/classes/general/component.php:746 #5: CBitrixComponent->showComponentTemplate() /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/classes/general/component.php:694 #6: CBitrixComponent->includeComponentTemplate() /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4561 #7: Bitrix\Iblock\Component\Base->loadData() /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4540 #8: Bitrix\Iblock\Component\Base->initialLoadAction() /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/iblock/lib/component/element.php:271 #9: Bitrix\Iblock\Component\Element->initialLoadAction() #10: call_user_func(array) /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4725 #11: Bitrix\Iblock\Component\Base->doAction() /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4743 #12: Bitrix\Iblock\Component\Base->executeComponent() /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/classes/general/component.php:649 #13: CBitrixComponent->includeComponent(string, array, object) /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/classes/general/main.php:1039 #14: CAllMain->IncludeComponent(string, string, array, object) /home/t/tophipak/hipcar.ru/public_html/local/templates/universe_s2/components/bitrix/catalog/catalog.2/element.php:59 #15: include(string) /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/classes/general/component_template.php:789 #16: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/classes/general/component_template.php:884 #17: CBitrixComponentTemplate->IncludeTemplate(array) /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/classes/general/component.php:746 #18: CBitrixComponent->showComponentTemplate() /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/classes/general/component.php:694 #19: CBitrixComponent->includeComponentTemplate(string) /home/t/tophipak/hipcar.ru/public_html/bitrix/components/bitrix/catalog/component.php:171 #20: include(string) /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/classes/general/component.php:605 #21: CBitrixComponent->__includeComponent() /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/classes/general/component.php:664 #22: CBitrixComponent->includeComponent(string, array, NULL) /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/classes/general/main.php:1039 #23: CAllMain->IncludeComponent(string, string, array) /home/t/tophipak/hipcar.ru/public_html/catalog/index.php:16 #24: include_once(string) /home/t/tophipak/hipcar.ru/public_html/bitrix/modules/main/include/urlrewrite.php:159 #25: include_once(string) /home/t/tophipak/hipcar.ru/public_html/bitrix/urlrewrite.php:2