Title: [Plugin: WP Users Exporter] Partial Export &#8211; Some users missing
Last modified: August 20, 2016

---

# [Plugin: WP Users Exporter] Partial Export – Some users missing

 *  [James Carroll](https://wordpress.org/support/users/jcarroll/)
 * (@jcarroll)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-users-exporter-partial-export-some-users-missing/)
 * I have over 600 users with over 20 fields in usermeta, but when I use this exporter,
   I get 473 users. I am not filtering users based on role nor field information.
   I have tried all three output formats (CSV, XLS, and HTML). I have also tried
   exporting minimal information (ID and login only).
 * Using WP_User_Query, I am able to successfully display all 600+ users in an HTML
   table (including information from usermeta table). See my code: [http://pastebin.com/26csuaAj](http://pastebin.com/26csuaAj)
 * I haven’t been able to figure out why certain users are omitted. Unfortunately,
   I cannot add you (rafael.chaves.freitas, leogermani) as an editor of the site
   due to the sensitive nature of our data.
 * My HTML table code is simple and works, but I’d like to have the features of 
   this plugin, namely the GUI to select which fields are exported, along with filtering
   the list by usertype. It is also nice to choose the export format types.
 * Any one else having this issue? What would it take to modify the plugin to use
   WP_User_Query? I have looked at the source, but I couldn’t find one or two functions
   that I could rewrite without getting in real deep.
 * Thanks for reading!
 * [http://wordpress.org/extend/plugins/wp-users-exporter/](http://wordpress.org/extend/plugins/wp-users-exporter/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [leogermani](https://wordpress.org/support/users/leogermani/)
 * (@leogermani)
 * [14 years ago](https://wordpress.org/support/topic/plugin-wp-users-exporter-partial-export-some-users-missing/#post-2693371)
 * Hi James,
 * Do you have access to your server log files?
 * This could be a memory limit problem. And we are about to release a new version
   that works around it for sites with a large number of users.
 * But we have only seen such problem with sites with many thousands of users… thats
   why I think that it could be something else.
 * It would be great if you could check your server log files at the time you run
   the export.
 * Please test it and write back
 * Leo,,
 *  Plugin Author [leogermani](https://wordpress.org/support/users/leogermani/)
 * (@leogermani)
 * [14 years ago](https://wordpress.org/support/topic/plugin-wp-users-exporter-partial-export-some-users-missing/#post-2693372)
 * James,
 * Would you like to test our new version before we release it?
 * If so, please send me an email at leogermani ar hacklab.com.br
 * cheers
 * Leo,,
 *  Thread Starter [James Carroll](https://wordpress.org/support/users/jcarroll/)
 * (@jcarroll)
 * [14 years ago](https://wordpress.org/support/topic/plugin-wp-users-exporter-partial-export-some-users-missing/#post-2693373)
 * Leo,
 * Don’t wait for me to release your product.
 * As for server logs, what am I looking for? Any error or warning messages? I only
   have 600 users, but each user has about two dozen custom fields, so we might 
   be hitting that memory limit.
 * (FYI, I resolved my issue by writing my own plugin, based on the code I posted
   earlier. I’m happy to share my code; if anyone wants it, just let me know, and
   I’ll share it.)
 * Thanks,
    James
 *  Thread Starter [James Carroll](https://wordpress.org/support/users/jcarroll/)
 * (@jcarroll)
 * [14 years ago](https://wordpress.org/support/topic/plugin-wp-users-exporter-partial-export-some-users-missing/#post-2693374)
 * I posted my code at the URL below, with the following description:
 * > Adds a button to the admin panel to enable export specific user fields from
   > the wp_usermeta and wp_user database tables to a CSV file. The export is restricted
   > to administrator users (based on the ‘export’ capability) The specific fields
   > are defined in the PHP code of the plugin. User fields are specific to MassageNet.
   > org custom user fields and will not work without modification. In order to 
   > use this plugin, you will need to edit the code. If you don’t know how and 
   > don’t want to learn how, then find a programmer who does. If you want to use
   > this plugin, you will need to mofify the code. My code is based on [Mike Schinkel](http://mikeschinkel.com)‘
   > s [post](http://wordpress.stackexchange.com/questions/3480/how-can-i-force-a-file-download-in-the-wordpress-backend)
   > on WordPress Stackexchange: [http://goo.gl/wqNyZ](http://goo.gl/wqNyZ) with
   > help from [sksmatt](http://www.mattvarone.com/wordpress/list-users-with-wp_user_query/)
   > and [scribu](http://scribu.net/wordpress/the-magic-of-wp_user.html). Thank 
   > you!
 * [http://pastebin.com/NkVv9bSn](http://pastebin.com/NkVv9bSn)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: WP Users Exporter] Partial Export – Some users missing’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-users-exporter.svg)
 * [WP Users Exporter](https://wordpress.org/plugins/wp-users-exporter/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-users-exporter/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-users-exporter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-users-exporter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-users-exporter/reviews/)

## Tags

 * [csv](https://wordpress.org/support/topic-tag/csv/)
 * [export](https://wordpress.org/support/topic-tag/export/)
 * [wp_user_query](https://wordpress.org/support/topic-tag/wp_user_query/)

 * 4 replies
 * 2 participants
 * Last reply from: [James Carroll](https://wordpress.org/support/users/jcarroll/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/plugin-wp-users-exporter-partial-export-some-users-missing/#post-2693374)
 * Status: not resolved