Warning: Better WP Security plugin breaks group admins…
Be advised, there is a feature in the Better WP Security plugin that renumbers the administrator account (user_id=”1″) to something else (in my case it became “5”). The logic being that hackers look for user_id=”1″, so give it a new number.
Unfortunately this plugin does NOT update the wp_bp_groups_members table! So, all existing records where user_id=”1″ remain that way. Consequently, when you go to update your group entries from the dashboard area, you get an error message saying you need an administrator account.
So, I then started adding the admin account again manually to each group. But when I visited a group home page, I would see the administrator account listed twice below the “Administrators” heading. That’s how I figured this out.
The solution I found (and seems to work so far) is to use a SQL client and manually update the user_id column in the wp_bp_groups_members table with the user_id value for the administrator account. Oh, I also had to remove the admins I started adding so the dupes would go away.
I can’t think of any other BuddyPress tables I should update with user_id=”5″. If anyone else does, please let me know.
Fortunately, my site is still in development so I didn’t have that much data to update.
- The topic ‘Warning: Better WP Security plugin breaks group admins…’ is closed to new replies.