[PDOException] SQLSTATE[HY000]: General error: 1 near "LIMIT": syntax error (HY000) /srv/www/santechsystemy.ru/htdocs/local/dpd/src/lib/DB/AbstractTable.php:197 #0: PDO->prepare(string) /srv/www/santechsystemy.ru/htdocs/local/dpd/src/lib/DB/AbstractTable.php:197 #1: Ipol\DPD\DB\AbstractTable->find(array) /srv/www/santechsystemy.ru/htdocs/local/dpd/src/lib/DB/AbstractTable.php:222 #2: Ipol\DPD\DB\AbstractTable->findFirst(string) /srv/www/santechsystemy.ru/htdocs/local/templates/.default/components/bitrix/catalog.element/.default/result_modifier.php:304 #3: include(string) /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/classes/general/component_template.php:868 #4: CBitrixComponentTemplate->__IncludeMutatorFile(array, array) /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/classes/general/component_template.php:775 #5: CBitrixComponentTemplate->IncludeTemplate(array) /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/classes/general/component.php:681 #6: CBitrixComponent->showComponentTemplate() /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/classes/general/component.php:629 #7: CBitrixComponent->includeComponentTemplate() /srv/www/santechsystemy.ru/htdocs/bitrix/modules/iblock/lib/component/base.php:3965 #8: Bitrix\Iblock\Component\Base->loadData() /srv/www/santechsystemy.ru/htdocs/bitrix/modules/iblock/lib/component/base.php:3944 #9: Bitrix\Iblock\Component\Base->initialLoadAction() /srv/www/santechsystemy.ru/htdocs/bitrix/modules/iblock/lib/component/element.php:229 #10: Bitrix\Iblock\Component\Element->initialLoadAction() #11: call_user_func(array) /srv/www/santechsystemy.ru/htdocs/bitrix/modules/iblock/lib/component/base.php:4129 #12: Bitrix\Iblock\Component\Base->doAction() /srv/www/santechsystemy.ru/htdocs/bitrix/modules/iblock/lib/component/base.php:4147 #13: Bitrix\Iblock\Component\Base->executeComponent() /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/classes/general/component.php:585 #14: CBitrixComponent->includeComponent(string, array, object) /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/classes/general/main.php:1036 #15: CAllMain->IncludeComponent(string, string, array, object) /srv/www/santechsystemy.ru/htdocs/local/templates/.default/components/bitrix/catalog/mainCatalog/element.php:109 #16: include(string) /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/classes/general/component_template.php:714 #17: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/classes/general/component_template.php:806 #18: CBitrixComponentTemplate->IncludeTemplate(array) /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/classes/general/component.php:681 #19: CBitrixComponent->showComponentTemplate() /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/classes/general/component.php:629 #20: CBitrixComponent->includeComponentTemplate(string) /srv/www/santechsystemy.ru/htdocs/bitrix/components/bitrix/catalog/component.php:169 #21: include(string) /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/classes/general/component.php:548 #22: CBitrixComponent->__includeComponent() /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/classes/general/component.php:600 #23: CBitrixComponent->includeComponent(string, array, boolean) /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/classes/general/main.php:1036 #24: CAllMain->IncludeComponent(string, string, array, boolean) /srv/www/santechsystemy.ru/htdocs/catalog/index.php:351 #25: include_once(string) /srv/www/santechsystemy.ru/htdocs/bitrix/modules/main/include/urlrewrite.php:159 #26: include_once(string) /srv/www/santechsystemy.ru/htdocs/bitrix/urlrewrite.php:2