WP Users Exporter
Partial Export - Some users missing (5 posts)

  1. James Carroll
    Posted 4 years ago #

    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

    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!


  2. leogermani
    Plugin Author

    Posted 4 years ago #

    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


  3. leogermani
    Plugin Author

    Posted 4 years ago #


    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



  4. James Carroll
    Posted 4 years ago #


    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.)


  5. James Carroll
    Posted 4 years ago #

    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's post on WordPress Stackexchange: http://goo.gl/wqNyZ with help from sksmatt and scribu. Thank you!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Users Exporter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic