plan2net/webp

Undefined array key "processor_stripColorProfileCommand" for TYPO3 11.5

AlenBilalovic opened this issue · 3 comments

Hello,

The fix for processor_stripColorProfileCommand has only been merged into v5 for TYPO3 v12 but the same issue is happening in TYPO3 11.5.

Related issue
#93

Any chance you can make a version release for v4 with the included fix.

Any info you need, just let me know.

Thanks in advance

I'll take a look at it.

@AlenBilalovic I pushed a tag 4.3.0 with the fix, please test and report if it works for you

With the fix 4.3.0 I get
Core: Exception handler (WEB): Uncaught TYPO3 Exception: syntax error, unexpected token ")" | ParseError thrown in file typo3conf/ext/webp/Classes/Converter/MagickConverter.php in line 62.

I fixed it with

[CommandUtility::class, 'escapeShellArgument'],
in line 62 instead of
CommandUtility::escapeShellArgument(...),

Is this correct?