Title: Error: Undefined index
Last modified: August 22, 2016

---

# Error: Undefined index

 *  Resolved [Lafare](https://wordpress.org/support/users/lafare/)
 * (@lafare)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-undefined-index/)
 * Hello,
 * When importing a csv, I get the following error whatever the columns are in the
   csv.
 * >  Notice: Undefined index: user_id in G:\wamp\www\vja\wp-content\plugins\wp-
   > members\admin\user-profile.php on line 146
   >  Call Stack # Time Memory Function
   > Location 1 0.0010 274864 {main}( ) ..\tools.php:0 2 0.0020 342432 require_once(‘
   > G:\wamp\www\vja\wp-admin\admin.php’ ) ..\tools.php:10 3 1.3061 39828416 do_action()..\
   > admin.php:212 4 1.3061 39829840 call_user_func_array:{G:\wamp\www\vja\wp-includes\
   > plugin.php:505} ( ) ..\plugin.php:505 5 1.3061 39829984 acui_options( ) ..\
   > plugin.php:505 6 1.3061 39830136 acui_fileupload_process( ) ..\import-users-
   > from-csv-with-meta.php:213 7 1.3251 39849216 acui_import_users( ) ..\import-
   > users-from-csv-with-meta.php:433 8 1.3991 39938064 wp_update_user( ) ..\import-
   > users-from-csv-with-meta.php:145 9 1.4001 39947152 wp_insert_user( ) ..\user.
   > php:1922 10 1.4071 39948864 do_action( ) ..\user.php:1858 11 1.4081 39955224
   > call_user_func_array:{G:\wamp\www\vja\wp-includes\plugin.php:505} ( ) ..\plugin.
   > php:505 12 1.4081 39955368 wpmem_admin_update( ) ..\plugin.php:505
 * I can send you an sample of the imported file.
    Looks like the data are imported
   anyway.
 * [https://wordpress.org/plugins/import-users-from-csv-with-meta/](https://wordpress.org/plugins/import-users-from-csv-with-meta/)

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

 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-undefined-index/#post-5364041)
 * Lafare,
 * How does work the profile?
 * And you have a notice, this is less than a warning and even less than an error,
   but it can be the sign that something is wrong.
 *  Thread Starter [Lafare](https://wordpress.org/support/users/lafare/)
 * (@lafare)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-undefined-index/#post-5364123)
 * Hi Javier,
 * I made some additional tests.
 * The notice is apparently triggered by a conflict with an other plugin (WP-Members)
   that add meta-fields to the user profile.
 * When I disable the WP-Members plugin the notice dissapear.
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-undefined-index/#post-5364206)
 * Lafare,
 * That’s strange because the hook who gives us this action provide us the variable
   user_id (I think).
 * Could you write WP-Members support to talk about this problem? It would be good
   for them and for us to solve it.
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-undefined-index/#post-5364261)
 * If need anymore, open a new thread, I close it now.

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

The topic ‘Error: Undefined index’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/error-undefined-index/#post-5364261)
 * Status: resolved