From d0983011f4f037ae43c7f441befccc696d32ed44 Mon Sep 17 00:00:00 2001 From: David Chandra Purnama Date: Sun, 12 Nov 2023 05:01:04 +0700 Subject: [PATCH] Update LastSync.php --- includes/classes/StatusReport/LastSync.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/classes/StatusReport/LastSync.php b/includes/classes/StatusReport/LastSync.php index badc3c968..53f7e99dc 100644 --- a/includes/classes/StatusReport/LastSync.php +++ b/includes/classes/StatusReport/LastSync.php @@ -111,7 +111,7 @@ public function get_groups() : array { 'value' => $value, ]; } - $title = $sync_info['start_date_time']; + $title = $sync_info['start_date_time'] ?? ''; if ( false !== \ElasticPress\Utils\get_indexing_status() ) { /* translators: last sync title */ $title = sprintf( __( '%s (In Progress)', 'elasticpress' ), $title );