Title: fatal error import
Last modified: September 1, 2023

---

# fatal error import

 *  Resolved [eavinu](https://wordpress.org/support/users/eavinu/)
 * (@eavinu)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-import-2/)
 * Hello,
   I am trying to import orders from the old website to the new staging website
   and get an error that says “something went wrong”.I tried to change the import
   batch count and the maximum execution time with no change to the result..
 * The fatal error log is showing:
 * 2023-09-01T10:02:06+00:00 CRITICAL Uncaught Error: Call to undefined method Automattic\
   WooCommerce\Utilities\OrderUtil::get_table_for_orders() in /public_html/wp-content/
   plugins/order-import-export-for-woocommerce/helpers/class-wt-common-helper.php:
   246
   Stack trace: 0 /public_html/wp-content/plugins/order-import-export-for-woocommerce/
   admin/modules/order/import/import.php(41): Wt_Import_Export_For_Woo_Basic_Common_Helper::
   is_hpos_enabled() 1 /public_html/wp-content/plugins/order-import-export-for-woocommerce/
   admin/modules/order/order.php(156): Wt_Import_Export_For_Woo_Basic_Order_Import-
   >__construct(Object(Wt_Import_Export_For_Woo_Basic_Order)) 2 /public_html/wp-
   includes/class-wp-hook.php(307): Wt_Import_Export_For_Woo_Basic_Order->importer_do_import(
   Array, ‘order’, ‘import’, Array, Array, ‘new’, 0, false) 3 in /public_html/wp-
   content/plugins/order-import-export-for-woocommerce/helpers/class-wt-common-helper.
   php on line 246
 * I erased the domain name from the log above.
 * WordPress 6.0.3
   Woocommerce 7.0.0

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

 *  Plugin Support [WebToffee Support](https://wordpress.org/support/users/webtoffeesupport/)
 * (@webtoffeesupport)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-import-2/#post-17018584)
 * Hi [@eavinu](https://wordpress.org/support/users/eavinu/),
 * Thanks for reaching out to us.
 * It appears that the error you are experiencing is a result of using an older 
   version of WooCommerce, specifically version 7.0. We want to assure you that 
   we are actively addressing this issue, and a fix will be included in the upcoming
   release of our plugin.
 * Alternatively, to resolve this error, you can try updating WooCommerce to the
   latest version.
 *  Plugin Support [WebToffee Support](https://wordpress.org/support/users/webtoffeesupport/)
 * (@webtoffeesupport)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-import-2/#post-17026874)
 * Hi [@eavinu](https://wordpress.org/support/users/eavinu/),
 * We have released a new version of the plugin in which this issue has been addressed.
   We kindly request that you update the plugin to the latest version, 2.3.9, and
   verify if the issue has been resolved.

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

The topic ‘fatal error import’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [WebToffee Support](https://wordpress.org/support/users/webtoffeesupport/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-import-2/#post-17026874)
 * Status: resolved