PHP Warning appears when preview in workspace and item of mm relation is disabled
PHP Warning: array_intersect_key(): Argument #2 is not an array
Full stack trace in attachement.
In class Typo3DbBackend->overlayLanguageAndWorkspaceForJoinedSelect:
$fieldsOfMainTable = $pageRepository->getRawRecord($tableName, $rows['uid']);
The getRawRecord method may return a "0", if the versionied record is disabled.
Updated by Heiko Fischer 4 months ago
- File BUGFIX_typo3_10_4_17_extbase_forge_typo3_issue_94140.patch BUGFIX_typo3_10_4_17_extbase_forge_typo3_issue_94140.patch added
We wrote a patch for this issue on Typo3 10.4.17, where we just keep him from entering the intersect method.
The patch is prepared for composer patches "cweagans/composer-patches". Therefore it targets the typo3/cms-extbase repository.