Project

General

Profile

Actions

Bug #94140

closed

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

Added by Nikita Hovratov almost 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2021-05-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #93484: TYPO3 Workspace, Preview module raising exception for versioned plugin recordsClosed2021-02-10

Actions
Actions

Also available in: Atom PDF