• Resolved dimi993

    (@dimi993)


    Hello everyone,

    I have a woocommerce website which uses lightspeed caching. When I clear the cache or open the administrator in Incognito Mode, the Analytics page doesn’t show anything in the Categories tab. It loads the data but removes the html after a second. In Chrome’s Inspect Element I get the error “TypeError: Cannot read properties of undefined (reading ‘parent’) at l.getCategoryAncestorIds (analytics-report-categories.js:348)”

    If I open a few pages ion the administrator, just to cache the site, the categories tab shows data without problems.

    Tab Overview works fine with or withou cache.

    I haven’t made any changes to the website lately and the Analytics used to work properly until two days before.
    The system information are:
    WordPress v6.2.2
    WooCommerce v.7.5.1
    PHP 8.1.19

    Any idea what might be happening and how to fix it?
    I would prefer not to disable the theme or any plugins as this is a working site and I wouldn’t like to break anything or get it offline.

    Thank you in advance.

Viewing 1 replies (of 1 total)
  • Hi @dimi993

    Thanks for reaching out!

    I understand that you’re experiencing issues with the data displayed under WooCommerce Analytics.

    Can you please try the steps below and see if it resolves the issue?

    • Analytics > Settings > Date type – set to Date Created
    • WooCommerce > Status > Tools > Clear Analytics Cache
    • Import Historical Data

    Otherwise, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    • System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
    • Fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Once we have more information, we’ll be able to assist you further.

Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce Analytics not displaying data’ is closed to new replies.