• Resolved spyder108

    (@spyder108)


    Error thrown in the server, we cannot continue. Please check console to see full details about the error.

    WARNING: [pool ourwebsite.com] child 13917 said into stderr: “PHP message: PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /var/www/vhosts/ourwebsite.com/httpdocs/wp-content/plugins/import-users-from-csv-with-meta/classes/batch_exporter.php:49”

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

    (@carazo)

    Thanks for reporting.

    It should be fixed in latest version. Please update.

    Thread Starter spyder108

    (@spyder108)

    I updated and am still getting the error.

    • This reply was modified 4 years, 7 months ago by spyder108.
    Plugin Author Javier Carazo

    (@carazo)

    @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?

    Thread Starter spyder108

    (@spyder108)

    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

    Plugin Author Javier Carazo

    (@carazo)

    @spyder108,

    Are you using PHP 8?

    Thread Starter spyder108

    (@spyder108)

    Yes

    Plugin Author Javier Carazo

    (@carazo)

    That’s the problem.

    Anyway, I am going to fix it.

    Plugin Author Javier Carazo

    (@carazo)

    Solved please update and tell me if some new error raise.

    Thread Starter spyder108

    (@spyder108)

    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
    Plugin Author Javier Carazo

    (@carazo)

    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.

    Thread Starter spyder108

    (@spyder108)

    Just wondering if you have an update on this.

    Plugin Author Javier Carazo

    (@carazo)

    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.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Export error – PHP Fatal error’ is closed to new replies.