SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "." LINE 6: WHERE ap.article_id = elmaportlet(3).app ^