As the last year’s Vlado was not wise enough to blog about this little problem that occurs after BuddyPress updates or server migrations, he is doing it one year later, when he comes again to such a problem.
- all forum topics are missing;
- creating a forum topic doesn’t show up;
- checking topics from a specific group/user profile doesn’t show any results.
Simply you’ve got a mistake in your bb-config.php file, which should be located in the root folder of your WordPress installation. In case of server migration you should check your database credentials (db name, host, user and pass) and in case you have been a wise-ass and have changed your database tables prefix, you’ll have to update these manually in the the same file.
Next thing you’ll see are all your lovely forum topics coming back home.