#94140PHP Warning appears when preview in workspace and item of mm relation is disabled
Description
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[0]['uid']);
The getRawRecord method may return a “0”, if the versionied record is disabled.