• Resolved Jesin A

    (@jesin)


    I have Woocommerce 4.1.1 installed on a website. When I try to import historical data (customers & orders) at Analytics > Settings, it doesn’t import anythings and stays at 0. I’ve tried different date ranges but nothing happens.

    Woocommerce > Status > Scheduled Actions show “wc-admin_import_batch_init_customers” and “wc-admin_import_batch_init_orders” as “Pending”. If I click Run, they immediately change to Complete. But the Analytics settings page still has 0 and no orders or customers are imported.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    The symptoms you’re describing typically point to CRON jobs that aren’t running. Can you confirm that CRON is indeed configured on your hosting server? Are you seeing any warnings when installing https://wordpress.org/plugins/wp-crontrol/ ?

    Also, can you share a copy of your status report as found under **WooCommerce > Status**?

    Thread Starter Jesin A

    (@jesin)

    Hi RK,

    I have DISABLE_WP_CRON set to true in wp-config.php. I run curl https://wheelsasap.com/wp-cron.php?doing_wp_cron on Linux crontab every 2 minutes.

    Plugin Support mouli a11n

    (@mouli)

    That looks fine 🙂
    Can you check that those cron jobs are actually running by looking at your logs?

    If the cron is running as expected, the next thing to consider is a conflict.

    Issues like this may be caused by either a conflict with your theme or with another plugin. You can read more about plugin and theme conflicts here:
    https://docs.woocommerce.com/document/woocommerce-self-service-guide/

    The best way to determine if the issue is being caused by a theme and/or plugin is to do the following:

    1. Temporarily switch your theme back to the Storefront (https://www.woocommerce.com/storefront/) or TwentyNineteen (https://wordpress.org/themes/twentynineteen/) Theme.
    2. Disable all plugins except for WooCommerce.
    3. Test to see if the issue has been resolved.

    If that resolves the issue, then one-by-one you can switch back your theme and re-enable your plugins, testing in between, until you find the one causing the conflict.

    If doing this on your live site is not possible, can you create a duplicate site? We suggest using WP Staging (https://wordpress.org/plugins/wp-staging/) if your hosting provider does not offer a staging server as an option.

    I hope that helps you to figure it out.
    Feel free to get back to us if you have further questions.

    Thread Starter Jesin A

    (@jesin)

    Thank you very much for the detailed response. I’ve identified the conflict. It was the WP-Crontrol plugin. Once I disabled this plugin it imported everything without issues.

    Plugin Support mouli a11n

    (@mouli)

    Nice work!
    It’s been a while since we heard from you, so I’m marking this thread resolved. Hopefully, you’ve been able to resolve this, but if you haven’t, please open up a new topic and we’ll be happy to help out.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Analytics historical import stuck at 0’ is closed to new replies.