diff --git a/plugins/woocommerce/includes/admin/reports/class-wc-admin-report.php b/plugins/woocommerce/includes/admin/reports/class-wc-admin-report.php index 4998d53ca58..bc1f7837cc7 100644 --- a/plugins/woocommerce/includes/admin/reports/class-wc-admin-report.php +++ b/plugins/woocommerce/includes/admin/reports/class-wc-admin-report.php @@ -512,7 +512,7 @@ class WC_Admin_Report { } if ( $data_key ) { - $prepared_data[ $time ][1] += $d->$data_key; + $prepared_data[ $time ][1] += is_numeric( $d->$data_key ) ? $d->$data_key : 0; } else { $prepared_data[ $time ][1] ++; }