plan2net / webp

Create a WebP copy for images (TYPO3 CMS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Undefined array key "processor_stripColorProfileCommand"

brotkrueml opened this issue · comments

After the update to TYPO3 v12.4.11 the following error occurs:

ErrorException: Warning: Undefined array key "processor_stripColorProfileCommand"
  File "/vendor/plan2net/webp/Classes/Converter/MagickConverter.php", line 20, in Plan2net\Webp\Converter\MagickConverter::convert
    $parameters .= ' ' . $GLOBALS['TYPO3_CONF_VARS']['GFX']['processor_stripColorProfileCommand'];

This is due to the security issue TYPO3-CORE-SA-2024-002:
TYPO3/typo3@6cc1176#diff-d7a98dbd38a8309e3c7f644a8c3708393e486f0c7a2fadc6151d9d5b6681548b

The $GLOBALS['TYPO3_CONF_VARS']['GFX']['processor_stripColorProfileCommand'] is not defined anymore in the default configuration, instead the $GLOBALS['TYPO3_CONF_VARS']['GFX']'processor_stripColorProfileParameters'] is now available.

Also TYPO3 11.x is affected

Can confirm:
plan2net/webp 5.0.1
TYPO3 12.4.11

Can confirm:
plan2net/webp 4.2.0
TYPO3 11.5.36