diff --git a/typo3/sysext/core/Classes/DataHandling/DataHandler.php b/typo3/sysext/core/Classes/DataHandling/DataHandler.php index 1d982d41202b6b9e556f723c0b7c70c59a7639b5..60613b87a278d9af6fedf118a338620dd53b932e 100644 --- a/typo3/sysext/core/Classes/DataHandling/DataHandler.php +++ b/typo3/sysext/core/Classes/DataHandling/DataHandler.php @@ -3843,7 +3843,7 @@ class DataHandler implements LoggerAwareInterface 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;