Skip to content

Commit

Permalink
[BUGFIX:BP:11.5] Avoid PHP 8 warning when page indexing fails
Browse files Browse the repository at this point in the history
Ports: #3606
Fixes: #3605
  • Loading branch information
koehnlein authored and dkd-friedrich committed Apr 17, 2023
1 parent 7e964ea commit a5d1a1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/IndexQueue/FrontendHelper/PageIndexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ public function hook_indexContent(array $params, TypoScriptFrontendController $p
$this->responseData['documentsSentToSolr'][] = (array)$document;
}
} catch (Throwable $e) {
$this->responseData['pageIndexed'] = false;
if ($configuration->getLoggingExceptions()) {
$this->logger->log(
SolrLogManager::ERROR,
Expand Down

0 comments on commit a5d1a1e

Please sign in to comment.