https://www.icyphoenix.com/viewtopic.php?f=28&t=3781&p=37187#p37187
-----------------------------------
OwnageWorld
Fri 06 Mar, 2009 17:31

[SOLVED] Recent Topics Blocks From Certain Forums
-----------------------------------
[code linenumbers=false]Could not query recent topics information (2)

DEBUG MODE

SQL Error : 1064 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 p.post_id = t.topic_last_post_id AND p.poster_id = u.user_id ' at line 3

SELECT t.topic_id, t.topic_title, t.topic_last_post_id, t.forum_id, p.post_id, p.poster_id, p.post_time, u.user_id, u.username FROM ip_topics AS t, ip_posts AS p, ip_users AS u WHERE t.topic_id IN () AND p.post_id = t.topic_last_post_id AND p.poster_id = u.user_id LIMIT 0

Line : 109
File : blocks_imp_recent_topics_k3.php[/code]
If you get this code, you can fix it by just simply posting topics to the forums. As I was using empty forums/ categories, I got this error all the time. Now it's fixed :)


