Project

General

Profile

Actions

Bug #90828

closed

Unable to edit page with form

Added by Edward A. Gabdullin over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2020-03-25
Due date:
% Done:

0%

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

Description

Good afternoon!
Unable to edit page with form

(1/1) TypeError

htmlspecialchars() expects parameter 1 to be string, null given
in /var/www/html/typo3_src-10.3.0/typo3/sysext/form/Classes/Hooks/FormPagePreviewRenderer.php line 63

        array &$row
    ) {
        if ($row['CType'] === 'form_formframework') {
            $contentType = $parentObject->CType_labels[$row['CType']];
            $itemContent .= $parentObject->linkEditContent('<strong>' . htmlspecialchars($contentType) . '</strong>', $row) . '<br />';

            $flexFormData = GeneralUtility::makeInstance(FlexFormService::class)
                ->convertFlexFormContentToArray($row['pi_flexform']);

Files

scr_599.jpg (275 KB) scr_599.jpg Edward A. Gabdullin, 2020-03-25 09:12
scr_600.jpg (379 KB) scr_600.jpg Edward A. Gabdullin, 2020-03-25 09:15

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #90598: Initialize emulated PageLayoutView before calling hooksClosed2020-02-29

Actions
Actions

Also available in: Atom PDF