Общая ошибка

Could not query recent topics information


SQL Error : 1064 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 '47,37,16,32,65,74,92,34,93) AND p.topic_id = t.topic_id AND p.post_id = ' at line 3

SELECT t.topic_id, t.topic_title, t.topic_last_post_id, t.topic_replies, p.post_time, t.forum_id, f.cat_id FROM ov_forum_topics AS t, ov_forum_posts AS p, ov_forum_forums AS f WHERE t.forum_id NOT IN (0 47,37,16,32,65,74,92,34,93) AND p.topic_id = t.topic_id AND p.post_id = t.topic_last_post_id AND t.topic_moved_id = 0 AND t.topic_moved_id = 0 AND t.forum_id = f.forum_id ORDER BY p.post_time DESC LIMIT 25

Line : 123
File : glance.php