Project

General

Profile

Actions

Bug #97911

closed

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

Added by Peter Neumann over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Image Cropping
Target version:
-
Start date:
2022-07-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

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!


Files

Actions

Also available in: Atom PDF