• Resolved benrob123

    (@benrob123)


    Hi, I am trying to import user data into a multisite wordpress installation. Exporting the csv file worked fine, when importing the file 13 of the users created but the rest failed with the following message:

    Notice: Array to string conversion in /home/ndp/public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/helper.php on line 223

    and a fatal WP error

    Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /home/ndp/public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/helper.php:223 Stack trace: #0 /home/ndp/public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/helper.php(223): implode(',', Array) #1 /home/ndp/public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(595): ACUI_Helper->print_row_imported(11, Array, Array) #2 /home/ndp/public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(155): ACUI_Import->import_users('/home/ndp/publi...', Array, false, false, false) #3 /home/ndp/public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(19): ACUI_Import->fileupload_process(Array, false) #4 /home/ndp/public_html/wp-includes/class-wp-hook.php(287): ACUI_Import->show('') #5 /home/ndp/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #6 /home/ndp/public_html/wp-includes/plugin.php(484): WP_Hook->do in /home/ndp/public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/helper.php on line 223

    I only have this plugin installed

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @benrob123,

    Thanks for the debug.

    Let me fix it, update the new version and tell you then to check it again.

    Thread Starter benrob123

    (@benrob123)

    Fantastic thanks

    Plugin Author Javier Carazo

    (@carazo)

    @benrob123,

    I have just done it.

    Could you try again after updating.

    Let me know.

    Thread Starter benrob123

    (@benrob123)

    Hi,

    I have updated the plugin but still get the error

    Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /home/ndp/public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/helper.php:224 Stack trace: #0 /home/ndp/public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/helper.php(224): implode(',', Array) #1 /home/ndp/public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(595): ACUI_Helper->print_row_imported(11, Array, Array) #2 /home/ndp/public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(155): ACUI_Import->import_users('/home/ndp/publi...', Array, false, false, false) #3 /home/ndp/public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/import.php(19): ACUI_Import->fileupload_process(Array, false) #4 /home/ndp/public_html/wp-includes/class-wp-hook.php(287): ACUI_Import->show('') #5 /home/ndp/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #6 /home/ndp/public_html/wp-includes/plugin.php(484): WP_Hook->do in /home/ndp/public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/helper.php on line 224

    Plugin Author Javier Carazo

    (@carazo)

    This is strange. I would need to check with your CSV.

    Can you send me it without any personal data to make some debug?

    Thread Starter benrob123

    (@benrob123)

    Sure can, do you have an email address i can send it to?

    Plugin Author Javier Carazo

    (@carazo)

    We cannot share here emails addresses.

    You can share you debug csv in some place in internet we can take from an url.

    Thread Starter benrob123

    (@benrob123)

    HI, sorry for the delay in getting back to you on this. Here is a link to the csv file. Can you take a download and let me know once you have what you need.

    https://docs.google.com/spreadsheets/d/e/2PACX-1vSpB-4gJptiZs-Pvu4k0KRhE8AbPbL_dydlDKt30d6JkIqXPzjSjpMpye4u07OsQLGvb1lveBJpYcwp/pubhtml

    Plugin Author Javier Carazo

    (@carazo)

    Please remove this file immediately.

    This has personal data!!! I told you never share CSV with user, passwords or any personal data.

    I need a minimum CSV that creates the problem with dummy data.

    Plugin Author Javier Carazo

    (@carazo)

    And this CSV is not useful because it has no fake emails to test…

    I will try to fix it with a problematic CSV.

    Plugin Author Javier Carazo

    (@carazo)

    Check now, update to the latest version.

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

The topic ‘Error message when importing’ is closed to new replies.