Title: error on import
Last modified: August 20, 2016

---

# error on import

 *  Resolved [wendallsan](https://wordpress.org/support/users/wendallsan/)
 * (@wendallsan)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/error-on-import/)
 * Hi Ulrich, thanks for creating your export to and import from CSV plugins. I 
   am trying to move users from a site to a ‘refresh’ of the site that has been 
   rebuilt, and have exported the users to a csv file, which looks fine. When I 
   import it into the new site, however, I get the error:
 *     ```
       Fatal error: Call to a member function to_array() on a non-object in /home/bibleint/public_html/wp-includes/user.php on line 1456
       ```
   
 * I have tried deleting all rows in the CSV file other than the header row and 
   one single user and still get this error. What can I do to try to troubleshoot
   this? Any help is greatly appreciated.
 * [http://wordpress.org/extend/plugins/import-users-from-csv/](http://wordpress.org/extend/plugins/import-users-from-csv/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Ulrich Sossou](https://wordpress.org/support/users/sorich87/)
 * (@sorich87)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/error-on-import/#post-3519704)
 * This bug is caused by something else than this plugin. The behaviour of the WordPress
   function get_userdata is incorrect. It isn’t returning an object or false.
 * Did you try deactivating all other plugins on your website before importing?

Viewing 1 replies (of 1 total)

The topic ‘error on import’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Ulrich Sossou](https://wordpress.org/support/users/sorich87/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/error-on-import/#post-3519704)
 * Status: resolved