AdminMax 5.54
ERROR [DB]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND thesis.id <> '1998' GROUP BY thesis_id ORDER BY sum_tags DESC, (vote_yes+v' at line 1
SQL query: SELECT COUNT(tag_id) AS sum_tags, thesis.id AS id, thesis.url_title AS url_title, thesis.title AS title, thesis.text AS text, thesis.date_of_entry AS date_of_entry, thesis.date_of_execution AS date_of_execution, thesis.vote_yes AS vote_yes, thesis.vote_no AS vote_no, thesis.answer AS answer, thesis.user_id AS user_id, users.username AS username, users.blog_url AS blog FROM thesis LEFT JOIN users ON thesis.user_id=users.user_id INNER JOIN thesis_tags ON thesis.id=thesis_tags.thesis_id WHERE visible='1' AND thesis_tags.tag_id IN () AND thesis.id <> '1998' GROUP BY thesis_id ORDER BY sum_tags DESC, (vote_yes+vote_no) DESC LIMIT 15