@Mark was wondering if you had this error come up with your bbpress installation. if you look at the query the post_author ID is missing. any ideas. it comes up in right sidebar thanks. WordPress database error: [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 'AND post_type IN ('post') and post_status = 'publish'' at line 1] SELECT COUNT(*) FROM wp_posts WHERE post_author = AND post_type IN ('post') and post_status = 'publish'