Issue Bug Closed

#100216PHP Warning: Undefined array key "divKey"

Albrecht Köhnlein 03/19/23, 20:05 updated 07/09/24, 12:46

Description

When using COA_INT in page.jsInline, PHP warnings are thrown.

Example TypoScript:

page = PAGE
page.jsInline.10 = COA_INT
page.jsInline.10 {
  10 = TEXT
  10.value = alert('any code')
}

Warnings:

> PHP Warning: Undefined array key “divKey” in (…)/private/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 2787
> PHP Warning: Undefined array key “divKey” in (…)/private/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 2788
> PHP Warning: Undefined array key “divKey” in (…)/private/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 2794

Reviews 2