PHP 8 Undefined array key
fritzdacat opened this issue · 3 comments
In TYPO3 12 and PHP 8 (.2/.3), when using the webp extension, I consistently encounter this error in the logs:
Core: Error handler (FE): PHP Warning: Undefined array key "processor_stripColorProfileCommand" in /var/www/html/vendor/plan2net/webp/Classes/Converter/MagickConverter.php line 20
Okay, I had "Use the system GFX 'processor_stripColorProfileCommand' setting for the MagickConverter converter" and didn't have "$GLOBALS['TYPO3_CONF_VARS']['GFX']['processor_stripColorProfileCommand'" set. Is it possible that $GLOBALS['TYPO3_CONF_VARS']['GFX']['processor_stripColorProfileCommand' is no longer set by default in TYPO3?
This still should not throw a warning and could easily be fixed with an ['processor_stripColorProfileCommand'] ?? false access.