Title: WP Admin &#8211; Users List incomplete
Last modified: July 26, 2023

---

# WP Admin – Users List incomplete

 *  Resolved [ocbroadband](https://wordpress.org/support/users/ocbroadband/)
 * (@ocbroadband)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/)
 * Hi,
 * I am using the free version, and it appears that I can’t see all the users on
   the backend of the site. It only shows 12 users, however, I have 100 total in
   the site. On the ‘members’ page on the frontend, I can see them all. On the backend,
   it shows ‘100’ users, but the output list only contains 12.
 * ![](https://i0.wp.com/thedoves.org/temp/um-userlist-error.png?ssl=1)
 * Thoughts?

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/page/2/?output_format=md)

 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16925140)
 * [@ocbroadband](https://wordpress.org/support/users/ocbroadband/)
 * Try to clear your “User Cache” by the two buttons in UM Dashboard.
    The second
   button will recalculate the WP Users line “All (100) ….”
 *  Thread Starter [ocbroadband](https://wordpress.org/support/users/ocbroadband/)
 * (@ocbroadband)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16925166)
 * Tried both of the clear user cache and user statuses buttons. It did not resolve
   the issue.
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16925196)
 * [@ocbroadband](https://wordpress.org/support/users/ocbroadband/)
 * Have you used a WP import user plugin for the user registration?
 *  Thread Starter [ocbroadband](https://wordpress.org/support/users/ocbroadband/)
 * (@ocbroadband)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16925208)
 * No, these were added from the UM forms from the start. From the front end, I’ve
   also tried to move to pending review, and look on the backend, and it does show
   that I moved a user into that status, but when I click on the status, it doesn’t
   show any users either even though it says there is 1 in that status type.
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16925224)
 * [@ocbroadband](https://wordpress.org/support/users/ocbroadband/)
 * Update to UM 2.6.9 released today.
 * Try to use the new UM Settings -> Secure -> “Scanner”
 *  Thread Starter [ocbroadband](https://wordpress.org/support/users/ocbroadband/)
 * (@ocbroadband)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16925291)
 * Yep, did that, still no change and I did run the scanner. No change. As a side
   note, if I disable UM, I can then see all my users in the backend as expected,
   so something isn’t right within UM. Something is limiting the total amount of
   users viewable to only 12.
    -  This reply was modified 2 years, 10 months ago by [ocbroadband](https://wordpress.org/support/users/ocbroadband/).
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16925311)
 * [@ocbroadband](https://wordpress.org/support/users/ocbroadband/)
 * I can’t reproduce this issue at my site.
    The WP Users table is built and managed
   by WP.
 * Try to do a conflict test, if another Plugin or your Theme is conflicting with
   UM.
 * [https://docs.ultimatemember.com/article/96-how-to-do-a-plugin-theme-conflict-test](https://docs.ultimatemember.com/article/96-how-to-do-a-plugin-theme-conflict-test)
 *  Thread Starter [ocbroadband](https://wordpress.org/support/users/ocbroadband/)
 * (@ocbroadband)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16925349)
 * Yep, did this as well. To note, I found this out after going into the users list,
   but I can’t determine at which point it was done for an upgrade on UM. Everything
   that is in place now was there when I could see all the users before, I just 
   don’t know at which upgrade point to UM this occurred as the user database isn’t
   something that is accessed that often due to being able to manage them on the
   frontend.
 *  Thread Starter [ocbroadband](https://wordpress.org/support/users/ocbroadband/)
 * (@ocbroadband)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16928311)
 * Any other thoughts/direction on this?
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16928329)
 * [@ocbroadband](https://wordpress.org/support/users/ocbroadband/)
 * Try to enable PHP error logging if the debug will give some more info about this
   issue.
 * Read this guide: “How to enable debug logging”
 * [https://docs.ultimatemember.com/article/1751-enable-debug-logging](https://docs.ultimatemember.com/article/1751-enable-debug-logging)
 * You will probably get a PHP log file with notices and errors in this file when
   you do the tests: `.../wp-content/debug.log`
 * Post the content of this file here in the Forum and we can give you the PHP error
   explanation. For best formatting use the `CODE` format.
 *  [them.es](https://wordpress.org/support/users/themes-1/)
 * (@themes-1)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16929055)
 * [@ocbroadband](https://wordpress.org/support/users/ocbroadband/) and [@missveronicatv](https://wordpress.org/support/users/missveronicatv/)
 * The issue seems to be related to the `pre_get_users` filter introduced in `class-
   secure.php` (v2.6.8). When commenting out the following line, all users show 
   up again:
 * [https://github.com/ultimatemember/ultimatemember/blob/master/includes/admin/class-secure.php#L47](https://github.com/ultimatemember/ultimatemember/blob/master/includes/admin/class-secure.php#L47)
 * [@ocbroadband](https://wordpress.org/support/users/ocbroadband/) If removing 
   the filter also works for you the bug should be reported to the developers!
 *  [them.es](https://wordpress.org/support/users/themes-1/)
 * (@themes-1)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16929105)
 * Follow-up: Instead of commenting out the line, a possible workaround would be
   to…
    1. Line 47: Replace `add_filter(...)` with `add_action(...)`
    2. Line 81: Add `&& $date_from` in `if ( ! $date_to && $date_from ) {`
    3. Line 101: Remove the unneeded `return` statement in `filter_users_by_date_registered(
       $query ) {...}`
    4. **(Not related to the issue but still important!)** The `$_GET` parameters on
       lines 78 and 79 are not sanitized which is bad practice. All $_GET and $_POST
       data are potentially unsafe and should be sanitized accordingly – even in admin
       mode: [https://developer.wordpress.org/apis/security/sanitizing/](https://developer.wordpress.org/apis/security/sanitizing/)
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16929108)
 * [@themes-1](https://wordpress.org/support/users/themes-1/)
 * Thanks for your good feedback about this issue.
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16929829)
 * [@ocbroadband](https://wordpress.org/support/users/ocbroadband/)
 * This code snippet will remove the Filter
 * `remove_filter( 'pre_get_users', array( UM()->classes['um\admin\secure'], 'filter_users_by_date_registered'));`
 * Install the code snippet into your active theme’s `functions.php` file
    or use
   the “Code Snippets” plugin.
 * [https://wordpress.org/plugins/code-snippets/](https://wordpress.org/plugins/code-snippets/)
 *  [coxinha](https://wordpress.org/support/users/coxinha/)
 * (@coxinha)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/#post-16935730)
 * [@missveronicatv](https://wordpress.org/support/users/missveronicatv/) Thanks
   a lot for the snippet. Now the backend is working correctly.
 * Will this be included in the next patch?

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/page/2/?output_format=md)

The topic ‘WP Admin – Users List incomplete’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

 * [list](https://wordpress.org/support/topic-tag/list/)
 * [users](https://wordpress.org/support/topic-tag/users/)

 * 19 replies
 * 4 participants
 * Last reply from: [ocbroadband](https://wordpress.org/support/users/ocbroadband/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-users-list-incomplete/page/2/#post-16947721)
 * Status: resolved