1064: SELECT count(*) as total_row FROM reviews INNER JOIN reviews_country nc ON reviews.id=nc.review_id where nc.c_id = AND reviews.review_status=2 || reviews.review_status=3 group by nc.review_id
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 'AND reviews.review_status=2 || reviews.review_status=3 group by nc.review_id' at line 5