MyBB Community Forums

Full Version: Merging threads.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I get this error:

Quote:MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1054 - Unknown column 'Array' in 'where clause'
Query:
SELECT * FROM mybb_threads WHERE tid=Array
Is this after using the merge threads option in the moderation options at the bottom of a thread, or after creating a custom moderator tool and using it via the forum display??
Either or.
What plugins do you have?? Looking at the code this doesn't look like a default query. Try this, in ./inc/init.php, find:

define("TIME_NOW", time());

after, add:

define("NO_PLUGINS", 1);

Try and merge threads now; does it work??
Ah ok this worked. I think the problem would be in the thread undelete plugin I have then..

On a side note I am suprised mybb doesnt use PDO/prepared queries
Most likely because the core of MyBB is a few years old and hasn't been rewritten; MyBB 2.0 will most likely change this.
Lets hope! And lets also hope its not to far back. Big Grin