Project

General

Profile

Actions

Bug #95674

closed

PHP 8 Warning using extbase repository in render-preProcess hook

Added by Daniel Dorndorf about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2021-10-16
Due date:
% Done:

100%

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

Description

I'm using an extbase repository in the hook

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-preProcess']

It causes an exception because of some missing keys in the configuration manager at that time of instantiation...

PHP Warning: Undefined array key "extensionName" in /typo3/sysext/extbase/Classes/Configuration/FrontendConfigurationManager.php line 159
Actions

Also available in: Atom PDF