diff --git a/inc/Engine/Common/PerformanceHints/Admin/Controller.php b/inc/Engine/Common/PerformanceHints/Admin/Controller.php index 6ff7129a62..e059eeeca0 100644 --- a/inc/Engine/Common/PerformanceHints/Admin/Controller.php +++ b/inc/Engine/Common/PerformanceHints/Admin/Controller.php @@ -89,6 +89,7 @@ public function delete_post( $post_id ) { * @return void */ public function delete_term( $term_id ) { + if ( empty( $this->factories ) ) { return; }