This fix worked for me:
Go to: phpmyadmin > yourdatabase > wp_bp_groups_groupmeta
Find the group you’re attempting to post to and then delete the forum_id value. Go back to your group on the front end. When logged in as admin of the group, go to settings and re-enable your forums. It will save a new forum_id for you and your posts should start working. This is a solution for BuddyPress groups that are starting a fresh new forum, not for groups with forums that have existing posts.
I posted about it here: http://wpmu.org/daily-tip-fix-for-buddypress-group-forums-error-when-creating-a-new-topic/
Thanks @pollyplummer I had this happen on a test database of mine. Couldn’t figure out exactly why. I figured I’d just reinstall it soon, but I’m glad to learn more about what happened and ways to fix it.
I also upgraded from WP to WPMU with 3.0 and so that screwed up the forum data as well. So, beware anyone that tries to do that.