flux
flux copied to clipboard
PHP Warning: Undefined array key "jpg" PHP 8.1
Hello,
I'm using TYPO3 11.5.17 with PHP 8.1 Flux version 9.6.1 While using <flux:field.file name="settings.image" allowed="jpg,png,svg" showThumbnails="1" />, i have the following error when i try to edit my content :

Note that this error does not occur with PHP 7.4.
Thanks in advance !
If you need more information please let me know.
Wilfrid
Hello I have this problem too, quite annoying indeed
Sorry, but you have to report this to the TYPO3 core bug tracker. The problem is not caused by Flux but rather is an E_NOTICE compatibility issue in TYPO3 itself. Any implementation which lists an unknown file extension in TCA field configured with allowed file extensions would be affected. The problem cannot be fixed in Flux.
TYPO3 core bug tracker: https://forge.typo3.org