• Resolved grema

    (@grema)


    Hi,

    when exporting a table to csv i got the following erros (i am using PHP 8)

    Ein Fehler vom Typ E_ERROR wurde in der Zeile 108 der Datei /usr/share/webapps/wordpress/wp-content/plugins/wp-data-access/WPDataAccess/Utilities/WPDA_Export_Formatted.php verursacht. Fehlermeldung: Uncaught ArgumentCountError: ini_set() expects exactly 2 arguments, 1 given in /usr/share/webapps/wordpress/wp-content/plugins/wp-data-access/WPDataAccess/Utilities/WPDA_Export_Formatted.php:108
    Stack trace:
    #0 /usr/share/webapps/wordpress/wp-content/plugins/wp-data-access/WPDataAccess/Utilities/WPDA_Export_Formatted.php(108): ini_set()
    #1 /usr/share/webapps/wordpress/wp-content/plugins/wp-data-access/WPDataAccess/Utilities/WPDA_Export.php(47): WPDataAccess\Utilities\WPDA_Export_Formatted->__construct()
    #2 /usr/share/webapps/wordpress/wp-includes/class-wp-hook.php(292): WPDataAccess\Utilities\WPDA_Export->export()
    #3 /usr/share/webapps/wordpress/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #4 /usr/share/webapps/wordpress/wp-includes/plugin.php(484): WP_Hook->do_action()
    #5 /usr/share/webapps/wordpress/wp-admin/admin.php(408): do_action()
    #6 {main}
      thrown
Viewing 1 replies (of 1 total)
  • Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi @grema,

    Looks like PHP 8 does not suppress all errors anymore with the @ operator. The good news is that an error which has been there since the beginning is finally reported! 😊 I fixed it. It will be available in the next release.

    Thank you for reporting 👍
    Peter

Viewing 1 replies (of 1 total)

The topic ‘Export: PHP 8 Fail: E_ERROR’ is closed to new replies.