• Resolved Johnathan.PRO

    (@evanspress)


    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)
  • Hi @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.

    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?

    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, 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”
    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, 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”
    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, 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”
    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, 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”
    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, 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”

    Hi @evanspress,

    Please check with the latest version ( 1.2.0 ). Let me know if any issues

    Coupons are importing, but orders still aren’t importing (https://snag.gy/p8DwHc.jpg).

    Hi @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.

    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?

    Please check this article and try with the Sample Coupon CSV provided in that article.

    Let me know the result.

    Coupons are uploading just fine. Its orders that won’t sync up.

    Then please check with the Order sample CSV from this article. Let me know the status.

    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, 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”
    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, 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”

    Hi @evanspress,,

    We have already fixed this and updated in latest version (1.2.0). Please try with latest version of the plugin.

    We are running the latest version.

    Hi @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.