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

    (@peterhedman)

    I just deactivated all plugins except woocommerce and csv import and then it worked for me..

    Thread Starter ideas4design

    (@ideas4design)

    I’ve also tried it, but it does not work …

    nerbiz

    (@nerbiz)

    Hi,

    I also had this problem, the /wp-admin/admin-ajax.php had a 500 Internal Server error.
    The PHP error in my log was:
    PHP Catchable fatal error: Object of class woocsv_import_product could not be converted to string in wp-includes/pomo/entry.php on line 76

    In wp-includes/pomo/entry.php, I’ve added an if-statement before line 76, so the code is this:
    if(gettype($key) != ‘object’)
    $key = str_replace( array( “\r\n”, “\r” ), “\n”, $key );

    I hope it helps ??

    EDIT: delete that if-statement after the importing is done, because I don’t know if it would break something else. And maybe the if statement should be (gettype($key) == ‘string’), but whatever, this worked for me.

    • This reply was modified 8 years ago by nerbiz. Reason: Added a footnote
    Thread Starter ideas4design

    (@ideas4design)

    Problem resolved. Activate in setting -> Debug on.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Something went wrong. We could not make a connection with the server.’ is closed to new replies.