diff --git a/Classes/IndexQueue/Queue.php b/Classes/IndexQueue/Queue.php index 1fc8de8d0c..00a3e2ad06 100644 --- a/Classes/IndexQueue/Queue.php +++ b/Classes/IndexQueue/Queue.php @@ -374,7 +374,7 @@ protected function getPageItemChangedTime(array $page): int { if (!empty($page['content_from_pid'])) { // canonical page, get the original page's last changed time - return $this->queueItemRepository->getPageItemChangedTimeByPageUid((int)$page['content_from_pid']); + return $this->queueItemRepository->getPageItemChangedTimeByPageUid((int)$page['content_from_pid']) ?? 0; } return $this->queueItemRepository->getPageItemChangedTimeByPageUid((int)$page['uid']) ?? 0; }