Title: Importing Problem
Last modified: June 23, 2017

---

# Importing Problem

 *  Resolved [Johnathan.PRO](https://wordpress.org/support/users/evanspress/)
 * (@evanspress)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/)
 * I’m just getting an ongoing screen after trying to import coupons from another
   WooCommerce install into a staging environment. Any thoughts?

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

 *  [mujeebur](https://wordpress.org/support/users/mujeebur/)
 * (@mujeebur)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9254463)
 * Hi [@evanspress](https://wordpress.org/support/users/evanspress/),
 * i) Please check your server error log if any internal server error happened.
   
   2) Check any error is logged in your browser console ( Press F12 )
 * Let me know so I can help you accordingly.
 *  Thread Starter [Johnathan.PRO](https://wordpress.org/support/users/evanspress/)
 * (@evanspress)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9256789)
 * It is a managed WordPress server we’re using and haven’t had problems with it
   on other hosts. What possible misconfigurations on the server side could cause
   the issue?
 *  Thread Starter [Johnathan.PRO](https://wordpress.org/support/users/evanspress/)
 * (@evanspress)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9256965)
 * Here are the logs…
    2017/06/23 00:20:14 [error] 405#405: *114 FastCGI sent in
   stderr: “PHP message: The woocommerce_get_page_id function is deprecated since
   version 3.0. Replace with wc_get_page_id” while reading response header from 
   upstream, client: 76.10.139.100, server: [http://www.sheetmusicdeals.com](http://www.sheetmusicdeals.com),
   request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://127.0.0.1:
   9000”, host: “www.sheetmusicdeals.com”, referrer: “[https://www.sheetmusicdeals.com/wp-admin/admin.php?import=woocommerce_wf_order_csv&step=1&merge=0&_wpnonce=7c339afd05&#8221](https://www.sheetmusicdeals.com/wp-admin/admin.php?import=woocommerce_wf_order_csv&step=1&merge=0&_wpnonce=7c339afd05&#8221);
   2017/06/23 00:23:27 [error] 404#404: *241 FastCGI sent in stderr: “PHP message:
   The woocommerce_get_page_id function is deprecated since version 3.0. Replace
   with wc_get_page_id” while reading response header from upstream, client: 76.10.139.100,
   server: [http://www.sheetmusicdeals.com](http://www.sheetmusicdeals.com), request:“
   POST /wp-admin/admin-ajax.php?import_page=woocommerce_wf_order_csv&step=3&merge
   =0 HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “www.sheetmusicdeals.
   com”, referrer: “[https://www.sheetmusicdeals.com/wp-admin/admin.php?import=woocommerce_wf_order_csv&step=2&merge=0&#8221](https://www.sheetmusicdeals.com/wp-admin/admin.php?import=woocommerce_wf_order_csv&step=2&merge=0&#8221);
   2017/06/23 00:23:27 [error] 404#404: *241 FastCGI sent in stderr: “PHP message:
   PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WC_Logger::
   add(), 1 passed in /var/www/sheetmusicdeals/public_html/wp-content/plugins/order-
   import-export-for-woocommerce/includes/importer/class-wf-orderimpexpcsv-order-
   import.php on line 550 and at least 2 expected in /var/www/sheetmusicdeals/public_html/
   wp-content/plugins/woocommerce/includes/class-wc-logger.php:101 Stack trace: #
   0 /var/www/sheetmusicdeals/public_html/wp-content/plugins/order-import-export-
   for-woocommerce/includes/importer/class-wf-orderimpexpcsv-order-import.php(550):
   WC_Logger->add(‘—‘) #1 /var/www/sheetmusicdeals/public_html/wp-content/plugins/
   order-import-export-for-woocommerce/includes/importer/class-wf-orderimpexpcsv-
   order-import.php(425): WF_OrderImpExpCsv_Order_Import->process_orders(Array) #
   2 /var/www/sheetmusicdeals/public_html/wp-content/plugins/order-import-export-
   for-woocommerce/includes/importer/class-wf-orderimpexpcsv-order-import.php(310):
   WF_OrderImpExpCsv_Order_Import->import()” while reading response header from 
   upstream, client: 76.10.139.100, server: [http://www.sheetmusicdeals.com](http://www.sheetmusicdeals.com),
   request: “POST /wp-admin/admin-ajax.php?import_page=woocommerce_wf_order_csv&
   step=3&merge=0 HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “www.sheetmusicdeals.
   com”, referrer: “[https://www.sheetmusicdeals.com/wp-admin/admin.php?import=woocommerce_wf_order_csv&step=2&merge=0&#8221](https://www.sheetmusicdeals.com/wp-admin/admin.php?import=woocommerce_wf_order_csv&step=2&merge=0&#8221);
   2017/06/23 00:24:27 [error] 403#403: *265 FastCGI sent in stderr: “PHP message:
   The woocommerce_get_page_id function is deprecated since version 3.0. Replace
   with wc_get_page_id” while reading response header from upstream, client: 76.10.139.100,
   server: [http://www.sheetmusicdeals.com](http://www.sheetmusicdeals.com), request:“
   POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”,
   host: “www.sheetmusicdeals.com”, referrer: “[https://www.sheetmusicdeals.com/wp-admin/admin.php?import=woocommerce_wf_order_csv&step=2&merge=0&#8221](https://www.sheetmusicdeals.com/wp-admin/admin.php?import=woocommerce_wf_order_csv&step=2&merge=0&#8221);
   2017/06/23 00:26:16 [error] 404#404: *286 FastCGI sent in stderr: “PHP message:
   PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback,
   function ‘custom_woocommerce_catalog_orderby’ not found or invalid function name
   in /var/www/sheetmusicdeals/public_html/wp-includes/class-wp-hook.php on line
   298” while reading upstream, client: 51.255.65.94, server: [http://www.sheetmusicdeals.com](http://www.sheetmusicdeals.com),
   request: “GET /?post_type=product&publisher=AMERICAN+MODERN+RECORDINGS&orderby
   =date HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “www.sheetmusicdeals.
   com”
 *  [mujeebur](https://wordpress.org/support/users/mujeebur/)
 * (@mujeebur)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9257490)
 * Hi [@evanspress](https://wordpress.org/support/users/evanspress/),
 * Please check with the latest version ( 1.2.0 ). Let me know if any issues
 *  Thread Starter [Johnathan.PRO](https://wordpress.org/support/users/evanspress/)
 * (@evanspress)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9257511)
 * Coupons are importing, but orders still aren’t importing ([https://snag.gy/p8DwHc.jpg](https://snag.gy/p8DwHc.jpg)).
 *  [mujeebur](https://wordpress.org/support/users/mujeebur/)
 * (@mujeebur)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9257566)
 * Hi [@evanspress](https://wordpress.org/support/users/evanspress/),
 * i) If anything newly logged into error/WC log?
    ii) Please check if any JavaScript
   error is happened in your browser by opening Developer console in browser ( Press
   F12 )
 * Let me know, so I can check accordingly.
 *  Thread Starter [Johnathan.PRO](https://wordpress.org/support/users/evanspress/)
 * (@evanspress)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9257584)
 * Nothing in the WC log that I can see and there are no javascript errors from 
   what I can tell, which why would coupons upload if that were the case?
 *  [mujeebur](https://wordpress.org/support/users/mujeebur/)
 * (@mujeebur)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9257597)
 * Please check [this article](https://www.xadapter.com/how-to-import-and-export-woocommerce-coupons-using-order-coupon-subscription-export-import-plugin/)
   and try with the Sample Coupon CSV provided in that article.
 * Let me know the result.
 *  Thread Starter [Johnathan.PRO](https://wordpress.org/support/users/evanspress/)
 * (@evanspress)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9257606)
 * Coupons are uploading just fine. Its orders that won’t sync up.
 *  [mujeebur](https://wordpress.org/support/users/mujeebur/)
 * (@mujeebur)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9257627)
 * Then please check with the Order sample CSV from [this article](https://www.xadapter.com/how-to-import-and-export-woocommerce-orders-using-order-coupon-subscription-export-import-plugin/).
   Let me know the status.
 *  Thread Starter [Johnathan.PRO](https://wordpress.org/support/users/evanspress/)
 * (@evanspress)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9258423)
 * It does exactly the same with your sample CSV and the log from one of the failures
   is below. The sysadmin thinks its dealing with deprecated functions that are 
   in use wtihin the plugin not support with PHP7.
 * 2017/06/24 04:07:13 [error] 51150#51150: *13957 FastCGI sent in stderr: “PHP 
   message: The woocommerce_get_page_id function is deprecated since version 3.0.
   Replace with wc_get_page_id” while reading response header from upstream, client:
   4.16.172.153, server: [http://www.sheetmusicdeals.com](http://www.sheetmusicdeals.com),
   request: “POST /wp-admin/admin-ajax.php?import_page=woocommerce_wf_order_csv&
   step=3&merge=1 HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “www.sheetmusicdeals.
   com”, referrer: “[https://www.sheetmusicdeals.com/wp-admin/admin.php?import=woocommerce_wf_order_csv&step=2&merge=1&#8221](https://www.sheetmusicdeals.com/wp-admin/admin.php?import=woocommerce_wf_order_csv&step=2&merge=1&#8221);
   
   2017/06/24 04:07:13 [error] 51150#51150: *13957 FastCGI sent in stderr: “PHP 
   message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function
   WC_Logger::add(), 1 passed in /var/www/sheetmusicdeals/public_html/wp-content/
   plugins/order-import-export-for-woocommerce/includes/importer/class-wf-orderimpexpcsv-
   order-import.php on line 550 and at least 2 expected in /var/www/sheetmusicdeals/
   public_html/wp-content/plugins/woocommerce/includes/class-wc-logger.php:101 Stack
   trace: #0 /var/www/sheetmusicdeals/public_html/wp-content/plugins/order-import-
   export-for-woocommerce/includes/importer/class-wf-orderimpexpcsv-order-import.
   php(550): WC_Logger->add(‘—‘) #1 /var/www/sheetmusicdeals/public_html/wp-content/
   plugins/order-import-export-for-woocommerce/includes/importer/class-wf-orderimpexpcsv-
   order-import.php(425): WF_OrderImpExpCsv_Order_Import->process_orders(Array) #
   2 /var/www/sheetmusicdeals/public_html/wp-content/plugins/order-import-export-
   for-woocommerce/includes/importer/class-wf-orderimpexpcsv-order-import.php(310):
   WF_OrderImpExpCsv_Order_Import->import()” while reading response header from 
   upstream, client: 4.16.172.153, server: [http://www.sheetmusicdeals.com](http://www.sheetmusicdeals.com),
   request: “POST /wp-admin/admin-ajax.php?import_page=woocommerce_wf_order_csv&
   step=3&merge=1 HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “www.sheetmusicdeals.
   com”, referrer: “[https://www.sheetmusicdeals.com/wp-admin/admin.php?import=woocommerce_wf_order_csv&step=2&merge=1&#8221](https://www.sheetmusicdeals.com/wp-admin/admin.php?import=woocommerce_wf_order_csv&step=2&merge=1&#8221);
 *  [mujeebur](https://wordpress.org/support/users/mujeebur/)
 * (@mujeebur)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9258466)
 * Hi [@evanspress](https://wordpress.org/support/users/evanspress/),,
 * We have already fixed this and updated in latest version (1.2.0). Please try 
   with latest version of the plugin.
 *  Thread Starter [Johnathan.PRO](https://wordpress.org/support/users/evanspress/)
 * (@evanspress)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9258482)
 * We are running the latest version.
 *  [mujeebur](https://wordpress.org/support/users/mujeebur/)
 * (@mujeebur)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9259225)
 * Hi [@evanspress](https://wordpress.org/support/users/evanspress/),
 * Please leave a support request at support.xadapter.com with the order CSV you
   have tried.
    Our team can help you to sort it out.

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

The topic ‘Importing Problem’ 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/)

 * 14 replies
 * 2 participants
 * Last reply from: [mujeebur](https://wordpress.org/support/users/mujeebur/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/importing-problem-3/#post-9259225)
 * Status: resolved