A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
9.22k
stars
10.74k
forks
source link
Analytics Screen crashes when no parent category is found using getCategoryAncestorIds() in React #35822
Open
kaushikasomaiya opened 1 year ago
Prerequisites
Describe the bug
5758575-zen 5750343-zen https://wordpress.org/support/topic/woocommerce-analytics-error-after-clicking-products-and-categories-reports/#post-16235153
When the parent category is not found in database - Analytics screen for Products and Category crashes with the following error in console:
Expected behavior
Screen should not crash
Actual behavior
Screen crashes
Steps to reproduce
Not sure how to replicate this, but one way to do is:
WordPress Environment
NA
Isolating the problem