Title: Server error when exporting users to CSV
Last modified: July 31, 2024

---

# Server error when exporting users to CSV

 *  Resolved [denis24](https://wordpress.org/support/users/denis24/)
 * (@denis24)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/server-error-when-exporting-users-to-csv/)
 * I’m trying to export users from a staging site in development (there are only
   4 users currently) and I get this error message:
 * “Error thrown in the server, we cannot continue. Please check console to see 
   full details about the error.”
 * The console shows: 
   POST [https://weavearealpeace.org/warp-stg-04-24/wp-admin/admin-ajax.php](https://weavearealpeace.org/warp-stg-04-24/wp-admin/admin-ajax.php)
   500 (Internal Server Error)relating to jquery.min.jsDebug.log is more helpful:
 * [31-Jul-2024 15:33:57 UTC] PHP Fatal error: Uncaught TypeError: unserialize():
   Argument #1 ($data) must be of type string, stdClass given in /home/warp2021/
   public_html/warp-stg-04-24/wp-content/plugins/import-users-from-csv-with-meta/
   classes/batch_exporter.php:643
   Stack trace: 0 /home/warp2021/public_html/warp-
   stg-04-24/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.
   php(643): unserialize(Object(stdClass), Array) 1 /home/warp2021/public_html/warp-
   stg-04-24/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.
   php(609): ACUI_Batch_Exporter->prepare(‘my-jetpack-cach…’, Object(stdClass), ”,‘
   414’) 2 /home/warp2021/public_html/warp-stg-04-24/wp-content/plugins/import-users-
   from-csv-with-meta/classes/batch_exporter.php(483): ACUI_Batch_Exporter->prepare_data_to_export()
   3 /home/warp2021/public_html/warp-stg-04-24/wp-content/plugins/import-users-from-
   csv-with-meta/classes/export.php(283): ACUI_Batch_Exporter->generate_file() 4/
   home/warp2021/public_html/warp-stg-04-24/wp-includes/class-wp-hook.php(324): 
   ACUI_Exporter->export_users_csv(”) 5 /home/warp2021/public_html/warp-stg-04-24/
   wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 6 /home/
   warp2021/public_html/warp-stg-04-24/wp-includes/plugin.php(517): WP_Hook->do_action(
   Array) 7 /home/warp2021/public_html/warp-stg-04-24/wp-admin/admin-ajax.php(192):
   do_action(‘wp_ajax_acui_ex…’) 8 {main}thrown in /home/warp2021/public_html/warp-
   stg-04-24/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.
   php on line 643What is wrong and how can I fix this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fserver-error-when-exporting-users-to-csv%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [denis24](https://wordpress.org/support/users/denis24/)
 * (@denis24)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/server-error-when-exporting-users-to-csv/#post-17925222)
 * Never mind — I fixed it.
   Line 1 in the stack trace pointed me to JetPack. It’s
   not installed on this staging site (I don’t like it) but it is active on the 
   live site from which the staging site was cloned. I used PHPMyAdmin to delete
   a few lines from the usermeta table referring to JetPack, and now I can export
   users to CSV.
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/server-error-when-exporting-users-to-csv/#post-17925619)
 * [@denis24](https://wordpress.org/support/users/denis24/),
 * in the next version the problem will be solved. Still, since it hasn’t come up
   for me personally, I could use some data like that for testing purposes.
 * Would you have any data to see if the method I have prepared solves the problem
   in other users who may have it?
 *  [togsteam](https://wordpress.org/support/users/togsteam/)
 * (@togsteam)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/server-error-when-exporting-users-to-csv/#post-18078893)
 * Do you know when the next version will be released? I’m having the same issue,
   I’m running Version 1.27.5, and I’m not running JetPack.
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/server-error-when-exporting-users-to-csv/#post-18078902)
 * The next version were released and this error was solved.
 *  [togsteam](https://wordpress.org/support/users/togsteam/)
 * (@togsteam)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/server-error-when-exporting-users-to-csv/#post-18078990)
 * Can you provide a link? I can’t find it on your site or Woo’s site.
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/server-error-when-exporting-users-to-csv/#post-18079022)
 * The last version is the one available here: [https://wordpress.org/plugins/import-users-from-csv-with-meta/](https://wordpress.org/plugins/import-users-from-csv-with-meta/)

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

The topic ‘Server error when exporting users to CSV’ is closed to new replies.

 * ![](https://ps.w.org/import-users-from-csv-with-meta/assets/icon-256x256.png?
   rev=1174343)
 * [Import and export users and customers](https://wordpress.org/plugins/import-users-from-csv-with-meta/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/import-users-from-csv-with-meta/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/)
 * [Active Topics](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/reviews/)

## Tags

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

 * 6 replies
 * 3 participants
 * Last reply from: [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/server-error-when-exporting-users-to-csv/#post-18079022)
 * Status: resolved