Fatal error: Uncaught exception 'Exception' with message '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 ') ) LEFT JOIN oc_review_fields r_f ON (r.comment_id = r_f.review_id' at line 15<br />Error No: 1064<br /> SELECT cu.avatar as avatar, o.order_id as buy, r_f.*, r.*, r.comment_id as review_id, r.comment_id as comment_id, p.record_id, pd.name, p.image, r.date_added as date_added, r.date_added as date_added, r.date_added as date_available, (r.sorthex) as hsort FROM oc_comment r LEFT JOIN oc_record p ON (r.record_id = p.record_id) LEFT JOIN oc_record_description pd ON (p.record_id = pd.record_id) LEFT JOIN `oc_customer` cu ON (r.customer_id = cu.customer_id) LEFT JOIN `oc_order` o ON ( r.customer_id = o.customer_id AND o.customer_id <> 0 AND o.order_status_id IN () ) LEFT JOIN oc_review_fields r_f ON (r.comment_id = r_f.review_id AND r_f.mark = 'record_id' ) WHE in /h/shoptoysby/htdocs/system/library/db/mysqli.php on line 40
От куда появились такие ошибки у меня?