Title: problem with importing some fields
Last modified: November 1, 2016

---

# problem with importing some fields

 *  [erikwillemse](https://wordpress.org/support/users/erikwillemse/)
 * (@erikwillemse)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-importing-some-fields/)
 * Hi there,
 * I am having troubles with importing some fields. See screenshot on [https://dl.dropboxusercontent.com/u/10135649/import_users_from_csv.jpg](https://dl.dropboxusercontent.com/u/10135649/import_users_from_csv.jpg)
 * No problem with Username, Email, Password and display_name. Imported user is 
   correctly created and can log in.
    But, user_url, first_name and last_name are
   not imported. Screenshot also shows the wp_users and wp_usermeta tables. As you
   can see, fieldnames are correct (I think) but value remains empty.
 * Any suggestions what is going wrong?
 * Thx.
 * Erik

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

 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-importing-some-fields/#post-8381771)
 * [@whitehart](https://wordpress.org/support/users/whitehart/)
 * This is really strange, it works correctly on thousends of site.
 * I could give you personal support but yes, this would be premium support. Maybe
   something in your system or file is creating the problem.
 *  Thread Starter [erikwillemse](https://wordpress.org/support/users/erikwillemse/)
 * (@erikwillemse)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-importing-some-fields/#post-8385366)
 * Hi Javier,
 * You are right. I have tested it on another wordpress install and your plugin 
   works fine there.
 * I am going to check in my functions.php and other plugins what might be the cause
   of the issue on my other install.
 * Regards,
 * Erik
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-importing-some-fields/#post-8385372)
 * [@erikwillemse](https://wordpress.org/support/users/erikwillemse/)
 * Thanks 🙂
 * Please make a good review or a little donation in order to help us to be able
   to continue giving the best support.
 *  Thread Starter [erikwillemse](https://wordpress.org/support/users/erikwillemse/)
 * (@erikwillemse)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-importing-some-fields/#post-8385633)
 * FYI: I had code in my functions.php that automatically assigned a new user to
   a group. When I remove the code below, the import works perfect. Great job!
 * gr.E.
 * —- removed code —-
    /* automatically add a user to a group NOTE: 999 is “Alle
   AA-klanten” */ /* based on [http://wp-customerarea.com/snippet/automatically-add-a-user-to-a-group/](http://wp-customerarea.com/snippet/automatically-add-a-user-to-a-group/)*/
   function cuar_add_new_user_to_managed_group( $new_user_id ) { $destination_group_id
   = 999; // put the real group ID here $is_manager = false; // set to true if you
   want that user to be a manager within that group $is_member = true; // set to
   true if you want that user to be a simple member of that group
 *  $group_addon = cuar_addon(‘managed-groups’);
 *  if ( $is_manager ) {
    $group_addon->add_manager_to_group( $new_user_id, $destination_group_id);}
   if ( $is_member ) { $group_addon->add_member_to_group( $new_user_id, $destination_group_id);}}
   add_action( “user_register”, “cuar_add_new_user_to_managed_group” );
 * ——
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-importing-some-fields/#post-8385851)
 * This importer use standard WordPress API functions so any hook is called so as
   you can see, the problem was this one.
 * Thanks. Do not forget review or donation please 🙂

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

The topic ‘problem with importing some fields’ 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

 * [Import](https://wordpress.org/support/topic-tag/import/)

 * 5 replies
 * 2 participants
 * Last reply from: [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-importing-some-fields/#post-8385851)
 * Status: not resolved