[buddypress-trac] [BuddyPress Trac] #7109: `wp_bp_xprofile_groups` DB table sometimes sets `Base` group to an `id` that is not `1`

buddypress-trac noreply at wordpress.org
Thu Jun 2 21:55:50 UTC 2016

#7109: `wp_bp_xprofile_groups` DB table sometimes sets `Base` group to an `id`
that is not `1`
 Reporter:  r-a-y                 |      Owner:
     Type:  defect (bug)          |     Status:  new
 Priority:  normal                |  Milestone:  Awaiting Review
Component:  Component - XProfile  |    Version:  1.2
 Severity:  major                 |   Keywords:  dev-feedback
 I've seen a few reports on the forums about the registration page and
 "Edit Profile" button not working correctly when the Extended Profiles
 component is enabled.

 It appears this issue dates back quite far.  At least BP 1.8 or even

 More recent:

 The main problem is sometimes the `wp_bp_xprofile_groups` DB table sets
 the `Base` group at an `id` that isn't `1`.

 The only way this can happen is if the `Base` group is deleted somehow and
 then recreated, which auto-increments the `id`.

 Since we do manual checks for `id = 1`, this breaks things like the
 registration page and "Edit Profile" link



 This might be related to this:

 Looks like this dates as far back as v1.2.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7109>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list