Project

General

Profile

Actions

Bug #103384

closed

PHP Warning: Undefined array key "divKey"

Added by Pascal Geldmacher 9 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-03-13
Due date:
% Done:

100%

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

Description

Since TYPO3 12 I get these warnings:

Core: Error handler (FE): PHP Warning: Undefined array key "divKey" in /var/www/html/vendor/typo3/cms-frontend/Classes/Controller/TypoScriptFrontendController.php line 2237
Core: Error handler (FE): PHP Warning: Undefined array key "divKey" in /var/www/html/vendor/typo3/cms-frontend/Classes/Controller/TypoScriptFrontendController.php line 2231
Core: Error handler (FE): PHP Warning: Undefined array key "divKey" in /var/www/html/vendor/typo3/cms-frontend/Classes/Controller/TypoScriptFrontendController.php line 2230

if I use this TypoScript snippet on a specific page:

page.bodyTagCObject {
    998 = TEXT
    998 {
        value = data-etracker-form-category="Sample" 
    }

    999 = TEXT
    999 {
        noTrimWrap = | |
        value.cObject = CONTENT
        value.cObject {
            table = tx_ofproduct_domain_model_article
            select {
                selectFields = title
                uidInList = {session:sample}
                uidInList.insertData = 1
                pidInList = 0
                max = 1
            }

            renderObj = COA_INT
            renderObj {
                10 = TEXT
                10 {
                    field = title
                    noTrimWrap = | data-etracker-form-object="|" |
                }
            }
        }
    }
}

If I remove the part with the COA_INT I don't get these warnings.

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #104251: Having a USER_INT OR COA_INT on page.bodyTagCObject leads to Warning errorClosed2024-06-28

Actions
Actions

Also available in: Atom PDF