diff --git a/admin/rt-transcoder-handler.php b/admin/rt-transcoder-handler.php index 8186c8c..6a81cb9 100755 --- a/admin/rt-transcoder-handler.php +++ b/admin/rt-transcoder-handler.php @@ -650,7 +650,7 @@ public function usage_widget() { } if ( ! empty( $api_key ) ) { - if ( $usage_details && isset( $usage_details[ $api_key ]->status ) && $usage_details[ $api_key ]->status ) { + if ( $usage_details && isset( $usage_details[ $api_key ]->status ) && $usage_details[ $api_key ]->status && 'error' !== $usage_details[ $api_key ]->status ) { if ( isset( $usage_details[ $api_key ]->plan->name ) ) { $plan_name = strtolower( $usage_details[ $api_key ]->plan->name );