DB Error: unknown error
SELECT DISTINCT t.id, p.editor, p.owner, p.guestname, p.label, count(q.tid)-1 replies FROM mod_phpwsbb_threads t, mod_phpwsbb_messages p, mod_phpwsbb_messages q WHERE p.id=t.lastpost_post_id AND q.tid=t.id AND t.hidden="0" GROUP BY q.tid ORDER BY t.lastpost DESC LIMIT 5 [nativecode=3065 ** Expression #1 of ORDER BY clause is not in SELECT list, references column 'rkiesler_kiesler_themes.t.lastpost' which is not in SELECT list; this is incompatible with DISTINCT]