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 #1

Updated by Georg Ringer over 2 years ago

  • Status changed from New to Accepted
Actions #2

Updated by Georg Ringer over 2 years ago

  • Assignee set to Georg Ringer
Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

Updated by Georg Ringer over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF