diff --git a/includes/classes/StatusReport/LastSync.php b/includes/classes/StatusReport/LastSync.php index badc3c968c..53f7e99dc1 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 );