diff --git a/typo3/sysext/frontend/Classes/ContentObject/RecordsContentObject.php b/typo3/sysext/frontend/Classes/ContentObject/RecordsContentObject.php index ec8c984e2a90f6156be8cfa155640609fb45cb40..08faacd9de4243bfa85d7e8a99e602b95d8b341a 100644 --- a/typo3/sysext/frontend/Classes/ContentObject/RecordsContentObject.php +++ b/typo3/sysext/frontend/Classes/ContentObject/RecordsContentObject.php @@ -94,7 +94,10 @@ class RecordsContentObject extends AbstractContentObject $cObj->setParent($this->cObj->data, $this->cObj->currentRecord); $this->cObj->currentRecordNumber = 0; foreach ($this->itemArray as $val) { - $row = $this->data[$val['table']][$val['id']]; + $row = $this->data[$val['table']][$val['id']] ?? null; + if ($row === null) { + continue; + } // Perform overlays if necessary (records coming from category collections are already overlaid) if ($source) { // Versioning preview