SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "for" LINE 6: WHERE ap.article_id = ep-for-bitrix-3.1.... ^