Title: [Plugin: Users to CSV] bugfix if you get database errors
Last modified: August 19, 2016

---

# [Plugin: Users to CSV] bugfix if you get database errors

 *  [askibinski](https://wordpress.org/support/users/askibinski/)
 * (@askibinski)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-users-to-csv-bugfix-if-you-get-database-errors/)
 * If you use the first export option (all users) and get a bunch of errors saying
   wp_usermeta tables not found, you need to change this on line 150 of users2csv.
   php:
 * find:
 * `wp_usermeta`
 * and replace it with:
 * `".$wpdb->prefix."usermeta`
 * The error is caused by the plugin falsely assuming you are using ‘wp’ as a prefix
   for your tables. Which is not necessarily true because you can provide your own
   prefix during installation of WordPress.

Viewing 1 replies (of 1 total)

 *  [Joost de Valk](https://wordpress.org/support/users/joostdevalk/)
 * (@joostdevalk)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-users-to-csv-bugfix-if-you-get-database-errors/#post-943580)
 * Thx askibinski! Added this fix in version 1.4!

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Users to CSV] bugfix if you get database errors’ is closed to
new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Joost de Valk](https://wordpress.org/support/users/joostdevalk/)
 * Last activity: [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-users-to-csv-bugfix-if-you-get-database-errors/#post-943580)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
