Средства от вредителей
[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 2 (400) SELECT UF_ARTICLE as ARTICLE, ppuf.VALUE as PIC FROM product_pictures pp LEFT OUTER JOIN product_pictures_uf_files ppuf ON pp.ID = ppuf.ID WHERE UF_ARTICLE = /var/www/ermak-ufa.ru/html/bitrix/modules/main/lib/db/mysqliconnection.php:137 #0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL) /var/www/ermak-ufa.ru/html/bitrix/modules/main/lib/db/connection.php:330 #1: Bitrix\Main\DB\Connection->query(string) /var/www/ermak-ufa.ru/html/my/order_status.php:1163 #2: GetMorePictures(string) /var/www/ermak-ufa.ru/html/bitrix/templates/newermak/components/bitrix/catalog.element/new-cat-element/template.php:91 #3: include(string) /var/www/ermak-ufa.ru/html/bitrix/modules/main/classes/general/component_template.php:789 #4: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /var/www/ermak-ufa.ru/html/bitrix/modules/main/classes/general/component_template.php:884 #5: CBitrixComponentTemplate->IncludeTemplate(array) /var/www/ermak-ufa.ru/html/bitrix/modules/main/classes/general/component.php:746 #6: CBitrixComponent->showComponentTemplate() /var/www/ermak-ufa.ru/html/bitrix/modules/main/classes/general/component.php:694 #7: CBitrixComponent->includeComponentTemplate() /var/www/ermak-ufa.ru/html/bitrix/modules/iblock/lib/component/base.php:4561 #8: Bitrix\Iblock\Component\Base->loadData() /var/www/ermak-ufa.ru/html/bitrix/modules/iblock/lib/component/base.php:4540 #9: Bitrix\Iblock\Component\Base->initialLoadAction() /var/www/ermak-ufa.ru/html/bitrix/modules/iblock/lib/component/element.php:271 #10: Bitrix\Iblock\Component\Element->initialLoadAction() #11: call_user_func(array) /var/www/ermak-ufa.ru/html/bitrix/modules/iblock/lib/component/base.php:4725 #12: Bitrix\Iblock\Component\Base->doAction() /var/www/ermak-ufa.ru/html/bitrix/modules/iblock/lib/component/base.php:4743 #13: Bitrix\Iblock\Component\Base->executeComponent() /var/www/ermak-ufa.ru/html/bitrix/modules/main/classes/general/component.php:649 #14: CBitrixComponent->includeComponent(string, array, object) /var/www/ermak-ufa.ru/html/bitrix/modules/main/classes/general/main.php:1039 #15: CAllMain->IncludeComponent(string, string, array, object) /var/www/ermak-ufa.ru/html/bitrix/templates/newermak/components/bitrix/catalog/pcshell_mgpol_new/element.php:20 #16: include(string) /var/www/ermak-ufa.ru/html/bitrix/modules/main/classes/general/component_template.php:789 #17: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /var/www/ermak-ufa.ru/html/bitrix/modules/main/classes/general/component_template.php:884 #18: CBitrixComponentTemplate->IncludeTemplate(array) /var/www/ermak-ufa.ru/html/bitrix/modules/main/classes/general/component.php:746 #19: CBitrixComponent->showComponentTemplate() /var/www/ermak-ufa.ru/html/bitrix/modules/main/classes/general/component.php:694 #20: CBitrixComponent->includeComponentTemplate(string) /var/www/ermak-ufa.ru/html/bitrix/components/bitrix/catalog/component.php:171 #21: include(string) /var/www/ermak-ufa.ru/html/bitrix/modules/main/classes/general/component.php:605 #22: CBitrixComponent->__includeComponent() /var/www/ermak-ufa.ru/html/bitrix/modules/main/classes/general/component.php:664 #23: CBitrixComponent->includeComponent(string, array, boolean) /var/www/ermak-ufa.ru/html/bitrix/modules/main/classes/general/main.php:1039 #24: CAllMain->IncludeComponent(string, string, array, boolean) /var/www/ermak-ufa.ru/html/catalog/index.php:296 #25: include_once(string) /var/www/ermak-ufa.ru/html/bitrix/modules/main/include/urlrewrite.php:159 #26: include_once(string) /var/www/ermak-ufa.ru/html/bitrix/urlrewrite.php:2