flux icon indicating copy to clipboard operation
flux copied to clipboard

PHP Warning: Undefined array key "jpg" PHP 8.1

Open wmarie-joseph opened this issue 3 years ago • 1 comments

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 :

Capture d’écran 2022-10-13 à 12 36 38

Note that this error does not occur with PHP 7.4.

Thanks in advance !

If you need more information please let me know.

Wilfrid

wmarie-joseph avatar Oct 13 '22 10:10 wmarie-joseph

Hello I have this problem too, quite annoying indeed

fredol avatar Oct 13 '22 10:10 fredol

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

NamelessCoder avatar Oct 21 '22 15:10 NamelessCoder