• After updating to the latest version of WooCommerce yesterday, the statistics graphs have stopped displaying. This is the error:

    There was an error retrieving your statistics. Please try again.

    I’ve cleared the statistics and WooCommerce caches, but it didn’t fix the problem.

    Any help?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support ImageMoses M. (woo-hc)

    (@mosesmedh)

    Hi @jesuscaceres1,

    Thank you for the update. I completely understand how concerning it is to lose access to your analytics graph right after an update, and issues like this can definitely be frustrating.

    Since the problem started immediately after updating, it is likely caused either by something going wrong during the update or by a conflict with another active plugin.

    Before we dig deeper, please go to WooCommerce > Status > Logs, check for any fatal error logs, and share them via Pastebin. Then return to the Status tab, click Get system report > Copy for support, and share your system status report the same way.

    In addition, please try rolling back to the previous WooCommerce version to see whether the issue persists. You can use a plugin like WP Rollback to restore an earlier version.

    I’ll be waiting for your findings.

    Thread Starter Imagejesuscaceres1

    (@jesuscaceres1)

    This is the system report.

    Before reverting to a previous version of WooCommerce, could you please let me know if there are any errors?

    https://pastebin.com/anctaqQC

    Plugin Support ImageFrank Remmy (woo-hc)

    (@frankremmy)

    Hi @jesuscaceres1,

    Thank you for sharing your detailed system report and for being proactive about checking for errors before rolling back WooCommerce.

    From the information provided and the system report, I don’t see any explicit fatal errors or conflicts related directly to WooCommerce core. However, given the complexity of your setup, especially with numerous active plugins including caching (APCu) and multilingual (WPML) plugins, and custom template overrides in your Flatsome child theme, this can sometimes cause issues with the stats graphs.

    Here are a few steps I recommend before proceeding with a rollback:

    First, let’s try clearing the analytics cache again using the specific tool in WooCommerce:

    1. Go to WooCommerce → Status → Tools
    2. Find Clear Analytics Cache and click Clear
    3. Wait for the process to complete, then check if your analytics graphs are working
    • If that doesn’t resolve the issue, you can also try re-importing historical data at Analytics → Settings → Look for analytics settings and try re-importing historical data
    • Open your browser’s developer tools (F12 or right-click → Inspect), go to the Console tab, and look for any JavaScript errors when you load the WooCommerce stats page. Errors there can block the graphs from loading.
    • Since you have APCu enabled and possibly other caching mechanisms, temporarily disable the APCu Manager and WP-Optimize plugins to rule out cache interference.
    • Temporarily disable all non-WooCommerce plugins except those critical for your site (like WPML) and check if the stats graphs reappear. Then, enable plugins one by one to identify any conflicts.
    • Switch from your Flatsome child theme to a default WordPress theme (like Storefront) temporarily to see if your theme’s WooCommerce template overrides are causing the problem.
    • Go to WooCommerce → Status → Logs and see if there’s any related error

    Let us know how it goes!

      Thread Starter Imagejesuscaceres1

      (@jesuscaceres1)

      Thanks Frank, I’ll try what you suggested and let you know the result.

      Plugin Support ImageMoses M. (woo-hc)

      (@mosesmedh)

      @jesuscaceres1 We’ll be looking forward to your update!

      Thread Starter Imagejesuscaceres1

      (@jesuscaceres1)

      Plugin Support ImageLovingBro (woo-hc)

      (@lovingbro)

      Hi @jesuscaceres1,

      I appreciate you taking the time to share those console errors, it gives a much clearer picture of what is happening on your end. The repeated 403 and 400 issues around the REST API calls can definitely interrupt how Analytics loads, so this insight is very helpful as we narrow things down.

      At this point, it will be useful to run a focused plugin conflict test to confirm whether one of the active plugins is blocking or altering those REST requests. You can do this by temporarily deactivating all non WooCommerce plugins, then check the Analytics page again. If the graphs load, you can reactivate each plugin one at a time to find the one causing the conflict. You can follow this guide for a safe and structured conflict test: https://woocommerce.com/document/how-to-test-for-conflicts/

      Let me know how the test goes and what you find, and we can continue from there.

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

    You must be logged in to reply to this topic.