Title: Fatal Error
Last modified: March 31, 2023

---

# Fatal Error

 *  Resolved [pwitzleb](https://wordpress.org/support/users/pwitzleb/)
 * (@pwitzleb)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-4408/)
 * WordPress 6.1.1. WooCommerce 7.5.1.
 * Import Export WordPress Users and WooCommercce Customers: 2.3.8
 * Order Export & Order Import for WooCommerce: 2.3.2
 * On both plug-ins now, attempting to do a CSV export results in a fatal WordPress
   Error.
 *     ```wp-block-code
       WordPress version 6.1.1
   
       Active theme: Beaver Builder Theme (version 1.7.12.1) Current plugin: Order Export & Order Import for WooCommerce (version 2.3.2) PHP version 8.0.28
   
       Error Details
   
       =============
   
       An error of type E_ERROR was caused in line 486 of the file /nas/content/live/aftddev/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/export/class-wt-orderimpexpcsv-basic-exporter.php. Error message: Uncaught Error: Using $this when not in object context in /nas/content/live/aftddev/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/export/class-wt-orderimpexpcsv-basic-exporter.php:486
   
       Stack trace:
   
       #0 /nas/content/live/aftddev/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/export/class-wt-orderimpexpcsv-basic-exporter.php(151): Wt_Import_Export_For_Woo_Basic_Order_Bulk_Export::get_orders_csv_row(32700, Array, 2, Array)
   
       #1 /nas/content/live/aftddev/wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/order.php(127): Wt_Import_Export_For_Woo_Basic_Order_Bulk_Export::do_export('shop_order', Array)
   
       #2 /nas/content/live/aftddev/wp-includes/class-wp-hook.php(308): Wt_Import_Export_For_Woo_Basic_Order->wt_process_order_bulk_actions('')
   
       #3 /nas/content/live/aftddev/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
   
       #4 /nas/content/live/aftddev/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
   
       #5 /nas/content/live/aftddev/wp-admin/admin.php(385): do_action('load-edit.php')
   
       #6 /nas/content/live/aftddev/wp-admin/edit.php(10): require_once('/nas/content/li...')
   
       #7 {main}
   
         thrown
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-4408%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [WebToffee Support](https://wordpress.org/support/users/webtoffeesupport/)
 * (@webtoffeesupport)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-4408/#post-16632126)
 * Hi [@pwitzleb](https://wordpress.org/support/users/pwitzleb/),
 * Thanks for getting in touch with us and we are sorry for the inconvenience you
   had face.
 * We have released a new version(2.3.3) of the plugin, in which the issue is fixed.
   Please try updating the plugin to the latest version and check if the issue is
   resolved or not.
 *  Thread Starter [pwitzleb](https://wordpress.org/support/users/pwitzleb/)
 * (@pwitzleb)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-4408/#post-16634389)
 * thank you for this! I have updated the plug-in and will test off hours over the
   next few days. Will confirm it is indeed patched!
 *  Thread Starter [pwitzleb](https://wordpress.org/support/users/pwitzleb/)
 * (@pwitzleb)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-4408/#post-16652493)
 * Hello…I’ve confirmed that the export plug-in does not result in a fatal wordpress
   error any longer. However, in doing an export, the field headers are no longer
   correct for the corresponding data elements. For example…the field customer_email
   contains the First Name. Billing Company contains the email address. Billing_City
   is now the state. Can you revalidate that the export is correctly mapping the
   data headers? Thank you!
 *  Plugin Support [WebToffee Support](https://wordpress.org/support/users/webtoffeesupport/)
 * (@webtoffeesupport)
 * [3 years ago](https://wordpress.org/support/topic/fatal-error-4408/#post-16675507)
 * Hi [@pwitzleb](https://wordpress.org/support/users/pwitzleb/),
 * Glad to hear that the error is no longer occurring.
 * Regarding the data being exported to incorrect columns, we have tested this on
   our test environments and were unable to replicate the issue. Could you please
   share the WordPress Site Health Info _(Tools>Site Health, select “info” and then“
   Copy site info to clipboard”)_ of your site?

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

The topic ‘Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/order-import-export-for-woocommerce/assets/icon-256x256.
   gif?rev=3133964)
 * [Order Export & Order Import for WooCommerce](https://wordpress.org/plugins/order-import-export-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/order-import-export-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/order-import-export-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/order-import-export-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/order-import-export-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/order-import-export-for-woocommerce/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [WebToffee Support](https://wordpress.org/support/users/webtoffeesupport/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/fatal-error-4408/#post-16675507)
 * Status: resolved