• Resolved King Ding

    (@dazzerr)


    I keep getting a critical error on import ?? I’m only trying to import one user… Please see error below. Thanks!

    Notice: Array to string conversion in /public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/helper.php on line 270
    
    Notice: Array to string conversion in /public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/helper.php on line 270
    
    Recoverable fatal error: Object of class stdClass could not be converted to string in /public_html/wp-content/plugins/import-users-from-csv-with-meta/classes/helper.php on line 270
    There has been a critical error on this website. Please check your site admin email inbox for instructions.
Viewing 15 replies - 1 through 15 (of 27 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @dazzerr,

    This seems that your csv is not well-formed.

    It would be easier if I could see the row that is creating the problem, but please take care about privacy. Only show me non-real data.

    Thread Starter King Ding

    (@dazzerr)

    I have just sent an email to you with the csv attached, quoting this thread. I look forward to your assistance ??

    Plugin Author Javier Carazo

    (@carazo)

    Sorry, but you should not email us.

    All communications have to in this forum (look at the forum guidelines, please).

    Please share here the CSV with dummy data to test.

    Regards,

    Javier

    Thread Starter King Ding

    (@dazzerr)

    As you wish: https://bit.ly/2UEHfrZ

    Plugin Author Javier Carazo

    (@carazo)

    I have just tried, and it works perfectly in my test sites.

    Anyway, I am going to improve the code to avoid those notice that also I am receiving.

    Update to the last version (I will try to update it today) and check if it works.

    Thread Starter King Ding

    (@dazzerr)

    I still get a critical error ??

    Plugin Author Javier Carazo

    (@carazo)

    I have made another update.

    Try now (version 1.17.6.2).

    Thread Starter King Ding

    (@dazzerr)

    I wish I could say that it worked, but unfortunately not ?? I do appreciate your efforts and prompt response though. What do you suggest next?

    Might I add that, I’ve tried disabling all plugins and changing themes, but there is still a critical error. I’ve also reset write permissions on my server.

    Plugin Author Javier Carazo

    (@carazo)

    @dazzerr,

    Could you tell me which is the value inside this variable in your environment when the error is thrown?

    Thread Starter King Ding

    (@dazzerr)

    What do you mean? These variables: https://bit.ly/3x2nE34 ? I tend to leave them at default, but I have tried a mixture of different options.

    When I click import, the error is thrown which proceeds a table of imported data (everything from the csv).

    Regards,
    – D

    Plugin Author Javier Carazo

    (@carazo)

    No, I am referring to the variables being executed into the code when it fails in your site.

    Thread Starter King Ding

    (@dazzerr)

    What variables being executed into what code? The variable is the CSV? And the code is… well, what code? Sorry Javier, I don’t follow

    Plugin Author Javier Carazo

    (@carazo)

    The content of the variable who throws the error into the PHP script.

    If you don’t know how to do it, you cannot give me this info.

    Thread Starter King Ding

    (@dazzerr)

    Sorry Javier, I don’t understand what is the variable. Is there anything else you think I could try?

    Plugin Author Javier Carazo

    (@carazo)

    No. You cannot. You should debug the code PHP in your site because this is a problem in your site and it seems you are not familiar with PHP coding.

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Critical error on import’ is closed to new replies.