Bug #97911
closedBackend Template Preview Images | PHP Runtime Deprecation Notice: strstr():
100%
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
Updated by Gerrit Code Review over 2 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75196
Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75196
Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75148
Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75148
Updated by Georg Ringer over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ba5d908da7b5f664a51b6fe5085ba677b8ff4e70.