Incompatible with WooCommerce All Products for Subscriptions plugin
-
The dashboard is failing due to wc-active being present and first in the $results query (class-wc-order-db-helper.php:199) but not in the $sql_1 query (class-wc-order-db-helper.php:212). Since it’s the first element of the array, all the other comparisons are off leading to $total_orders resolving to 0 – causing a division by 0 on line 292.
If you guys could update the array comparison (class-wc-order-db-helper.php:274) to match on order_status rather than on array index it might make the comparison more stable. Let me know what you think though!
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.