Error SQL:


QUERY:
SELECT rev.text_vote, rev.datetime_date, rev.text_name, rev.text_fio, rev.textarea_otziv FROM alfams_ru_catreview AS rev INNER JOIN alfams_ru_catalog_cat AS t1 ON t1.text_name IN () INNER JOIN alfams_ru_catreview_catalog t2 ON t2.parent=rev.id WHERE t2.text_name=t1.parent AND rev.check2_active=1 ORDER BY `rev`.`datetime_date` DESC LIMIT 1
MYSQL Error:You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') INNER JOIN alfams_ru_catreview_catalog t2 ON t2.parent=rev.id' at line 3