Database error: Invalid SQL: SELECT f.thread_id, f.friendly_url, f.topic, f.user_id, f.admin_id_added_by, f.user_name, f.views, f.replies, f.thread_updated, f.last_post_added, f.last_post_user_id, f.last_post_admin_id, f.last_post_message_id, f.forum_id, fl.allowed_view_topic, fl.view_topic_types_all, fp.html_before_title, fp.html_after_title FROM ((((((va_forum f INNER JOIN va_forum_list fl ON fl.forum_id=f.forum_id) INNER JOIN va_forum_categories fc ON fc.category_id=fl.category_id) LEFT JOIN va_forum_priorities fp ON f.priority_id=fp.priority_id) ) )) WHERE fc.sites_all=1 AND fl.allowed_view=1 AND fl.allowed_view_topics=1 AND fl.forum_id=1 GROUP BY f.thread_id, f.forum_id, f.friendly_url, f.topic, f.user_id, f.admin_id_added_by, f.user_name, f.views, f.replies, f.thread_updated, fl.allowed_view_topic,fl.view_topic_types_all, f.last_post_added, f.last_post_user_id, f.last_post_admin_id, f.last_post_message_id ORDER BY fp.priority_rank, f.thread_updated DESC LIMIT 25 OFFSET 0
PostgreSQL Error Message: ERROR: column "fp.html_before_title" must appear in the GROUP BY clause or be used in an aggregate function
Session halted.