I get that too:
Database error in vBulletin 3.5.0 Release Candidate 1:
Invalid SQL:
SELECT thread.threadid, thread.title, thread.lastpost, thread.forumid, thread.replycount, thread.lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, thread.visible, user.username, user.userid
, NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
FROM FORUMthread AS thread
LEFT JOIN FORUMuser AS user ON (user.username = thread.lastposter)
LEFT JOIN FORUMdeletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
WHERE thread.forumid NOT IN ()
AND deletionlog.primaryid IS NULL
ORDER BY thread.lastpost DESC LIMIT 0, 5;
MySQL Error : 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 deletionlog.primaryid IS NULL
ORDER BY thread.lastpost DE
Error Number : 1064
Date : Friday, July 29th 2005 @ 12:31:36 AM
Script :
http://www.burnleyweb.com/community/index.php
Referrer :
http://www.burnleyweb.com/community/online.php
IP Address : 212.***.***.***
Username : *******
Classname : vb_database