MyBB Community Forums

Full Version: MyBB SQL Error 1064
You're currently viewing a stripped down version of our content. View the full version with proper formatting.


Error:
MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.
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 '' at line 3
Query:
SELECT * FROM mybb_usergroups WHERE gid =

Please contact the MyBB Group for support.

I just adjusted the whos online settings and then i got this.
Please help me, my fellow mybb people Sad
I assume this is fixed? I don't see any error.
I'm going to guess you haven't imported your database correctly.
actually this problem was caused by a deleted member. i got a old database backup and manually added the deleted member. that fixed it....you guys on mybb should fix that tho. if someone is getting deleted, the posts he made shouldn't be bugged. and btw, mybb.com got some server problems Sad
This isn't a MyBB bug, MyBB doesn't query the usergroups table on that page, that's not a MyBB query, this would have been a plugin or other non-default code.
It's a game of trial and error now, deactivate all plugins and reactive them all 1 by 1, when it plays up again you'll know which plugin it is.
I have question:
Why my message about SQL Error 1064 disappear here?
I not understand.. :-(
It didn't.. This is a different thread.