• Resolved tonyduckett

    (@tonyduckett)


    Hi

    When selecting orders and then the Export to XLSX we are getting a fatal error. Log extract is below.

    Is there a fix for this?

    Thanks

    2025-03-27T12:07:41+00:00 Critical Uncaught TypeError: ZipStream\File::__construct(): Argument #1 ($fileName) must be of type string, ZipStream\ZipStream given, called in /nas/content/live/vanillawoodflo/wp-content/plugins/filebird-pro/vendor/maennchen/zipstream-php/src/ZipStream.php on line 221 and defined in /nas/content/live/vanillawoodflo/wp-content/plugins/woo-order-export-lite/classes/vendor/maennchen/zipstream-php/src/File.php:46 CONTEXT: {“error”:{“type”:1,”file”:”/nas/content/live/vanillawoodflo/wp-content/plugins/woo-order-export-lite/classes/vendor/maennchen/zipstream-php/src/File.php”,”line”:46},”remote-logging”:true,”backtrace”:[“”,”#0 /nas/content/live/vanillawoodflo/wp-content/plugins/filebird-pro/vendor/maennchen/zipstream-php/src/ZipStream.php(221): ZipStream\File->__construct(Object(ZipStream\ZipStream), ‘[Content_Types]…’, Object(ZipStream\Option\File))”,”#1 /nas/content/live/vanillawoodflo/wp-content/plugins/woo-order-export-lite/classes/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php(661): ZipStream\ZipStream->addFile(‘[Content_Types]…’, ‘<?xml version=”…’)”,”#2 /nas/content/live/vanillawoodflo/wp-content/plugins/woo-order-export-lite/classes/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php(668): PhpOffice\PhpSpreadsheet\Writer\Xlsx->addZipFile(‘[Content_Types]…’, ‘<?xml version=”…’)”,”#3 /nas/content/live/vanillawoodflo/wp-content/plugins/woo-order-export-lite/classes/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php(519): PhpOffice\PhpSpreadsheet\Writer\Xlsx->addZipFiles(Array)”,”#4 /nas/content/live/vanillawoodflo/wp-content/plugins/woo-order-export-lite/classes/formats/class-woe-formatter-xls.php(577): PhpOffice\PhpSpreadsheet\Writer\Xlsx->save(‘/tmp/XLS5AJqdu’)”,”#5 /nas/content/live/vanillawoodflo/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-engine.php(692): WOE_Formatter_Xls->finish()”,”#6 /nas/content/live/vanillawoodflo/wp-content/plugins/woo-order-export-lite/classes/admin/tabs/ajax/trait-wc-order-export-ajax-helpers.php(181): WC_Order_Export_Engine::build_file_full(Array, ‘/tmp/XLS5AJqdu’, 0, Array)”,”#7 /nas/content/live/vanillawoodflo/wp-content/plugins/woo-order-export-lite/classes/admin/tabs/ajax/class-wc-order-export-ajax.php(40): WC_Order_Export_Ajax->build_and_send_file(Array, false, true)”,”#8 /nas/content/live/vanillawoodflo/wp-content/plugins/woo-order-export-lite/classes/class-wc-order-export-admin.php(535): WC_Order_Export_Ajax->ajax_export_download_bulk_file()”,”#9 /nas/content/live/vanillawoodflo/wp-includes/class-wp-hook.php(324): WC_Order_Export_Admin->ajax_gate(”)”,”#10 /nas/content/live/vanillawoodflo/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)”,”#11 /nas/content/live/vanillawoodflo/wp-includes/plugin.php(517): WP_Hook->do_action(Array)”,”#12 /nas/content/live/vanillawoodflo/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_order_e…’)”,”#13 {main}”,”thrown”]}

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tonyduckett

    (@tonyduckett)

    This is an error caused by the plugin Advanced Order Export For Woocommerce by AlgoPlus. I rolled back to 3.60 from 4.01 and for the moment things are fine while we ait for a fix

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thanks for the update! Since the issue is caused by the Advanced Order Export for WooCommerce plugin, I’d recommend reaching out to the plugin’s support team for further assistance. They might already be aware of the issue and could provide a fix or workaround in an upcoming update.

    Rolling back to version 3.60 seems to be a good temporary solution. However, if you encounter any further issues or need help troubleshooting, feel free to reach out.

    Let me know if there’s anything else I can assist with!

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

The topic ‘Bulk Actions – Export to XLSX – Fatal Error’ is closed to new replies.