@agustinbitbug,
There seems to be a problem with some data, can you see what shows up in the PHP error log? There must be some error pertaining to this plugin at the time you run it.
I’m going to try to activate those logs, i’m working from the wpengine platform.
Is there a way to set some columns by default so that it always exports that? I only need emails, names, surnames and telephone numbers
Uhm, currently this is not being saved but this would be interesting. Let me some time and I do it.
[14-Sep-2023 12:02:10 UTC] PHP Fatal error: Uncaught TypeError: strlen(): Argument #1 ($string) must be of type string, stdClass given in /nas/content/live/hesquiahtdev/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php:634
Stack trace: 0 /nas/content/live/hesquiahtdev/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php(605): ACUI_Batch_Exporter->clean_bad_characters_formulas(Object(stdClass), ‘WPE_NONCE’, ‘2’) 1 /nas/content/live/hesquiahtdev/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php(590): ACUI_Batch_Exporter->prepare(‘WPE_NONCE’, Object(stdClass), ‘Y-m-d H:i:s’, ‘2’) 2 /nas/content/live/hesquiahtdev/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php(464): ACUI_Batch_Exporter->prepare_data_to_export() 3 /nas/content/live/hesquiahtdev/wp-content/plugins/import-users-from-csv-with-meta/classes/export.php(258): ACUI_Batch_Exporter->generate_file() 4 /nas/content/live/hesquiahtdev/wp-includes/class-wp-hook.php(310): ACUI_Exporter->export_users_csv(”) 5 /nas/content/live/hesquiahtdev/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) 6 /nas/content/live/hesquiahtdev/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 7 /nas/content/live/hesquiahtdev/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_acui_ex…’) 8 {main}
thrown in /nas/content/live/hesquiahtdev/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php on line 634
@agustinbitbug,
Ok, for some reason in this function: clean_bad_characters_formulas( $value, $key, $user ) the value that arrives was an object instead a string.
I have just prepare a new version.
Please update and tell me if it fixes it.
Yes, it’s working now! Thank you so much.
Great! Thanks for helping us debugging this problem in data with objects saved.
Respect to:
Is there a way to set some columns by default so that it always exports that? I only need emails, names, surnames and telephone numbers
In the next released it will be included.
Thanks again for suggesting interesting features.