MyBB Community Forums

Full Version: MySQL Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
mySQL 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 '' at line 1
Query: SELECT t.*, f.name, i.path FROM mybb_threads t LEFT JOIN mybb_forums f ON (f.fid=t.fid) LEFT JOIN mybb_icons i ON (i.iid=t.icon) WHERE t.uid='13' AND t.fid NOT IN ('') ORDER BY t.dateline DESC LIMIT

But it only happens when I click on some users, others, come up just fine. Help?
From where do you exactly click to get that message?

Have you modified your version of MyBB? There should be something in t.fid NOT IN ('') -- between the quotes.

Unless it's a bug.
This is a problem with one of the plugins you are using - the one which shows the recent threads of a user in their profile.
Thanks Chris! Will remove it right now!