diff --git a/typo3/sysext/core/Classes/DataHandling/DataHandler.php b/typo3/sysext/core/Classes/DataHandling/DataHandler.php index e356a73f6aa5..74f9152b4333 100644 --- a/typo3/sysext/core/Classes/DataHandling/DataHandler.php +++ b/typo3/sysext/core/Classes/DataHandling/DataHandler.php @@ -3466,7 +3466,7 @@ public function copySpecificPage($uid, $destPid, $copyTablesArray, $first = fals if ($theNewRootID) { foreach ($copyTablesArray as $table) { // All records under the page is copied. - if ($table && is_array($GLOBALS['TCA'][$table]) && $table !== 'pages') { + if ($table && is_array($GLOBALS['TCA'][$table] ?? false) && $table !== 'pages') { $fields = ['uid']; $languageField = null; $transOrigPointerField = null;