Issue Bug Closed

#90828Unable to edit page with form

Edward A. Gabdullin 03/24/20, 23:05 updated 03/30/20, 09:38

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']);

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.