Reply To: [Resolved] BuddyPress incorrectly redirects to BBPress forum within group
@netweb. Thanks for the reply, glad to have helped identify a bug! I’m not sure it’s solved my problem however.
In my database in bb_forums the forums_ids are numbered 1 through to 50. And in wp_bp_groups the ids are numbered 1 through to 50. Group id 1 corresponds to forum id 1, group id 2 corresponds to forum id 2 and so on.
However wp_bp_groups_groupmeta contains the following:
id group_id meta_key meta_value
1 1 last_activity 2014-02-27 10:56:36
2 1 total_member_count 2303
3 1 forum_id a:1:{i:0;i:127625;}
4 1 invite_status members
5 2 last_activity 2014-02-19 08:31:05
6 2 total_member_count 456
7 2 forum_id a:1:{i:0;i:127626;}
8 2 invite_status members
9 3 last_activity 2014-03-18 22:54:20
10 3 total_member_count 620
11 3 forum_id a:1:{i:0;i:127627;}
12 3 invite_status members
13 4 last_activity 2014-02-23 20:14:08
14 4 total_member_count 272
15 4 forum_id a:1:{i:0;i:127628;}
16 4 invite_status members
So I’m not sure how those six-digit meta_values correspond to my forums.
The group I’m having the problem with has group_id 26 and should be associated with the forum which has id 26, but instead is associated with 7. As you’d expect based on the above its value is a:1:{i:0;i:127650;}
Is there somewhere else in the database where these longer values are connected to the correct forum_ids? As I say I’ve been looking but not found anything obvious.