Hauer-Heinrich / hh_video_extender

TYPO3 extension. Extends sys_file_reference video/media. Added attributes to select in content element (eg textmedia)
0 stars 4 forks source link

[Error] Undefined array key "hh_video_extender" #38

Closed bh-teufels closed 1 year ago

bh-teufels commented 1 year ago

Describe the bug

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Undefined array key "hh_video_extender" in /app/vendor/hauerheinrich/hh-video-extender/ext_localconf.php line 8

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Undefined array key "hh_video_extender" in /app/vendor/hauerheinrich/hh-video-extender/Configuration/TCA/Overrides/sys_template.php line 8

Environment:

Additional context Problem with PHP 8.2

Fix change if ($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$extensionKey]['config']['typoScript'] === '0') { in ext_localconf.php line 8 and sys_template.php line 8 to if (isset($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$extensionKey]) && $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$extensionKey]['config']['typoScript'] === '0') {

Teisi commented 1 year ago

Thank you! Should be fixed with version 0.2.1 :)