Issue Bug Closed

#94140PHP Warning appears when preview in workspace and item of mm relation is disabled

Nikita Hovratov 05/14/21, 10:39 updated 10/04/22, 14:12

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.

Reviews 2