Skip to:
Content
Pages
Categories
Search
Top
Bottom

Group members unable to access group


  • sophiavancouver
    Participant

    @sophiavancouver

    A group of new users were added using the “Import users from CSV” plugin, which has been used sucessfully before. After the import it was discovered that one of the new users could not access the group she had been added to by the admin. I was contacted and added a test user (created before the import) to the group. That user could not access that group or any other group I added it to.

    the group is showing in my test users list of groups subscribed to, in the list of members of the group, and an activity was created when they joined the group, but when I access the private group as that user, I receive a ‘this is a private group and you need to join first’ message and am unable to see the content.

    I had a look at the user table in phpmyadmin to see if there were any obvious errors like duplicate indexes. Nothing popped out.

    I cloned my site, changed the theme to 2020, deactivated all the plugins except buddypress and the error still exists.

    My own admin user is a member of the groups and can see them just fine.
    Site health says REST api encountered an error, background updates are not working as expected and the site could not complete a loopback request. The site is recently on a new host, but these errors were present prior to the move.

    What should I be looking for here to troubleshoot this? I’m assuming the import (which has been used successfully before several times) corrupted something in one of the tables buddypress uses to track group membership, I’m just not sure how to correct it.

Viewing 1 replies (of 1 total)

  • sophiavancouver
    Participant

    @sophiavancouver

    Solved it. There was corruption in the buddypress tables caused by them not having a primary key that was autoincremented. When the new users were imported all their buddypress specific metadata was created with an id of zero. I could have restored from backup before the corruption, but decided to delete the zero id table rows instead. The loss of the key and autoincrement was something that happened when I converted some data to harmonize a live site with a development site and didn’t realize the key and autoincrement would be lost.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar