Issue Bug Closed

#97911Backend Template Preview Images | PHP Runtime Deprecation Notice: strstr():

Peter Neumann 07/12/22, 16:43 updated 10/04/22, 14:14

Description

For preview images in backend templates, I receive an exception if I use the f:image view helper in combination with cropping sizes like width="75c". It is working for the same environment in frontend.

TYPO3 11.5.13
PHP-Version 8.1.5
ImageMagick 6.9.11-60

If I downgrade to PHP 8.0 it will work again.

Exception:

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Runtime Deprecation Notice: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/public/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php line 2323

If additional information is needed, I will do my best to deliver!

Reviews 2