Thanks for reporting.
It should be fixed in latest version. Please update.
I updated and am still getting the error.
-
This reply was modified 4 years, 7 months ago by
spyder108.
@spyder108,
Uhm, I have no error… and we have tested in many sites.
Which of the vars inside the merge is not an array in your case?
This is the new error:
[19-Oct-2021 10:00:23] PHP Fatal error: Uncaught Error: Non-static method ACUI_Helper::get_roles_by_user_id() cannot be called statically in /var/www/vhosts/psychologicalsafetysummit.com/httpdocs/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php:576
That’s the problem.
Anyway, I am going to fix it.
Solved please update and tell me if some new error raise.
New error:
Console:
PHP Fatal error: Uncaught TypeError: strlen(): Argument #1 ($str) must be of type string, array given in /var/www/vhosts/psychologicalsafetysummit.com/httpdocs/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php:624
Log:
2021-10-19 11:01:08 Error 500 POST /wp-admin/admin-ajax.php?_fs_blog_admin=true HTTP/1.0 https://psychologicalsafetysummit.com/wp-admin/tools.php?page=acui&tab=export Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 860 Apache SSL/TLS access
2021-10-19 11:01:08 Error AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: strlen(): Argument #1 ($str) must be of type string, array given in /var/www/vhosts/psychologicalsafetysummit.com/httpdocs/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php:624\nStack trace:\n#0 /var/www/vhosts/psychologicalsafetysummit.com/httpdocs/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php(598): ACUI_Batch_Exporter->clean_bad_characters_formulas()\n#1 /var/www/vhosts/psychologicalsafetysummit.com/httpdocs/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php(581): ACUI_Batch_Exporter->prepare()\n#2 /var/www/vhosts/psychologicalsafetysummit.com/httpdocs/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php(455): ACUI_Batch_Exporter->prepare_data_to_export()\n#3 /var/www/vhosts/psychologicalsafetysummit.com/httpdocs/wp-content/plugins/import-users-from-csv-with-meta/classes/export.php(216): ACUI_Batch_Exporter->generate_file()\n#4 /var/www/vhosts/psych...', referer: https://psychologicalsafetysummit.com/wp-admin/tools.php?page=acui&tab=export
OK so, better than this.
I am going to prepare a installation with PHP 8, I am going to leave it fixed… and then I will come here again with a new version.
You can downgrade PHP to 7.4 to make it works while.
Just wondering if you have an update on this.
I have fixed it in previous version.
You have also a new error message with log into JavaScript console in order to get more info to debug your problem.