• Resolved allinco

    (@allinco)


    We have been having issues exporting for the past 2 weeks, the export is saying “error thrown in the server” and I haven’t been able to get it to work. I reached out to my hosting company and they tried to help but they said that it was a PHP error and I should contact the plugin support. These are the errors:

    PHP Fatal error: Uncaught TypeError: unserialize(): Argument #1 ($data) must be of type string, stdClass given in /var/www/webroot/ROOT/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php:643

    Stack trace:

    #0 /var/www/webroot/ROOT/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php(643): unserialize()

    #1 /var/www/webroot/ROOT/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php(609): ACUI_Batch_Exporter->prepare()

    #2 /var/www/webroot/ROOT/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php(483): ACUI_Batch_Exporter->prepare_data_to_export()

    #3 /var/www/webroot/ROOT/wp-content/plugins/import-users-from-csv-with-meta/classes/export.php(283): ACUI_Batch_Exporter->generate_file()

    #4 /var/www/webroot/ROOT/wp-includes/class-wp-hook.php(324): ACUI_Exporter->export_users_csv()

    #5 /var/www/webroot/ROOT/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()

    #6 /var/www/webroot/ROOT/wp-includes/plugin.php(517): WP_Hook->do_action()

    #7 /var/www/webroot/ROOT/wp-admin/admin-ajax.php(192): do_action()

    #8 {main}

    thrown in /var/www/webroot/ROOT/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php on line 643

    I am hoping you might be able to help. Thank you.

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

    (@carazo)

    It seems you have a very strange data in your usermeta table. Some kind of object directly saved there.

    I will rewrite in the next version the conditional that manage this part of the class.

    But your case is so strange that since I can’t reproduce it, I can’t assure you that it will solve your problem.

    I am not sure when I will release the next version but I hope it will be this week.

    Thread Starter allinco

    (@allinco)

    Ok great, I really appreciate it.

    For the most part our website is a relatively standard community site that is running Buddyboss, Memberpress and Learndash. If one of the other plugins is causing issues then it might just be better to get rid of that plugin. Are you able to point me in the correct direction to look? I am not really sure what looks strange from that error log, but I am able to access the usermeta table to look there.

    Plugin Author Javier Carazo

    (@carazo)

    Actually neither BuddyBoss, nor MemberPress, nor LearnDash are very standard, some are premium and all are quite complex so your site is especially complicated.

    But wow, it’s complicated you tell me, you’d have to get into the conditional of the failing code and see the content of the variables.

    Being serialized data, you’re not going to see much in the database tables.

    If you have an idea of what I’m talking about it would be ideal.

    Plugin Author Javier Carazo

    (@carazo)

    In 1.27 version the problem should have disappeared.

    Thread Starter allinco

    (@allinco)

    Sorry for the delay in response, we ended up getting really busy at work.

    That’s great, I really appreciate the fix being added! When will 1.27 be live? It’s currently still at 1.26.1

    Plugin Author Javier Carazo

    (@carazo)

    I am working on this version. I haven’t finished it yet. I’m on vacation so I don’t have all the hours I usually have to work, I can’t tell you the date, but before September for sure.

    Thread Starter allinco

    (@allinco)

    Ok thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Export server error’ is closed to new replies.