• I have encountered this problem on several occasions on my WordPress sites. However, I cannot seem to find a single other person who has had this problem. The issue is that when I go into my dashboard and go to Users, I see an incomplete list of the users for the current site. However, the number of users as indicated to the right of the All filter is accurate. So what happens is I will go to view a site’s users and see “4” next to All which is selected and yet only 3 users are displayed.

    As I said, I have seen this a number of times and for the life of me cannot figure out what is causing it. I have encountered this on different networks and different sub-sites.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I’ve seen that before, once, and for the life of me I’m trying to remember where, why and how…

    Which users are missing? You should see like Administrator (1) | Editor (2) and so on. math up to figure out which roles are missing people.

    Thread Starter Kyle Maurer

    (@brashrebel)

    Hey @ipstenu. Thanks for helping me out. I’ve found this same problem this morning on two different networks of mine. Haven’t had time to check every single site but so far I found a few that showed the correct # of users but didn’t display them.

    On two sites on network A, I have 3 Administrators and an Editor. The Editor is not listed and the numbers just show All (4) | Administrator (3).

    On a site on network B, I see NO users listed but the numbers show this: All (180) | Administrator (3) | Subscriber (36). Selecting either role filter does display the correct users but All displays nothing in this case.

    I have checked both from the site dashboard – – >Users and also from the Users tab under Edit site in the network dashboard.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I am trying to remember what this was…

    I think it’s related to https://core.trac.www.ads-software.com/ticket/22917

    Thread Starter Kyle Maurer

    (@brashrebel)

    Hey thanks. Pretty interesting stuff. Not sure I can pull a solution out of it but it has given me ideas on where to look.

    I’m trying hard to think of what these two networks have in common…not many major plugins…not themes…they are on different cPanels but the same VPS on Bluehost. I guess I’ll keep looking.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The patch will be applied to WP 3.7, if all goes well, but yeah, this was one of the more rare weirdness…

    Are you running BuddyPress?

    Thread Starter Kyle Maurer

    (@brashrebel)

    Cool and no, I’m not on either network. Come to think of it, I have experienced it on a different network that did have BP running.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Yeah, so did I once upon a time, but upgrading magically fixed it :/

    Thread Starter Kyle Maurer

    (@brashrebel)

    Ok, I think I figured it out. It took some serious digging and an embarrassing moment in front of a client to get to the bottom of this.

    The culprit seems to have been the Join My Multisite plugin. I had it activated but not configured and once I updated the settings for the plugin, everything worked.

    What I discovered was that users created from the site level as opposed the network level were being created just fine but were given no role on the site. As in they were a user on the site with no role. I had to dig into the database and in the wp_usermeta table I located the user accounts that I had been testing and found that for wp_34_capabilities the value was being set as a:0:{} whereas a normal user should show something like a:1:{s:10:"subscriber";b:1;}.

    When I created users from the network dashboard and manually added them to a site, everything worked fine. It was when I went to experiment with the Join My Multisite plugin as an alternative registration method for testing when I discovered that it had been active on the site for a while now and had a null value for default user role. Sure enough, updating that field made it so that registrations made through the site would work…almost. I just now ran another test and discovered that any registration made from the site will use the default user role as defined in the Join My Multisite plugin settings regardless of whether a site admin specifies a different role when adding a new user.

    So basically now…I can either find an alternative plugin or deal with all users having to be registered with the default role and their privileges elevated manually by an administrator. Oh boy. I don’t know of other plugins that provide an elegant way for users to register on a sub-site. Very open to recommendations.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    As the author of Join My Multisite… That’s kinda as expected.

    I discovered that it had been active on the site for a while now and had a null value for default user role

    Clearly I need to error-trap that better. But that’s exactly what should happen.

    I just now ran another test and discovered that any registration made from the site will use the default user role as defined in the Join My Multisite plugin settings regardless of whether a site admin specifies a different role when adding a new user.

    The … what now? THAT is a bug! I shall see if I can fix it!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Quick reply: I tested a simple site and can’t reproduce. When I add a user, as site admin, the role I specify takes precedence over JMM.

    What plugins are you running?

    What options do you have for Registration Settings for the network?

    What options are set for JMM on the site having the problem?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘User list in dashboard not displaying all users’ is closed to new replies.