Actions
Bug #104719
closedcall to missing method ProcessedFile::process
Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2024-08-23
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
13
PHP Version:
8.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The front end leads to a PHP error message:
Call to undefined method TYPO3\CMS\Core\Resource\ProcessedFile::process()
in /home/path/typo3_src-13.2.1/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 940
if ($altUrl) {
$url = $altUrl . (($conf['JSwindow.']['altUrl_noDefaultParams'] ?? false) ? '' : '?file=' . rawurlencode((string)$imageFile) . $params);
}
$processedFile = $file->process(ProcessedFile::CONTEXT_IMAGECROPSCALEMASK, $conf);
$JSwindowExpand = $this->stdWrapValue('expand', $conf['JSwindow.'] ?? []);
$offset = GeneralUtility::intExplode(',', $JSwindowExpand . ',');
$newWindow = $this->stdWrapValue('newWindow', $conf['JSwindow.'] ?? []);
$params = [
It is this call:
$processedFile = $file->process(ProcessedFile::CONTEXT_IMAGECROPSCALEMASK, $conf);
Call backtrace:
in /path/typo3_src-13.2.1/typo3/sysext/frontend/Classes/ContentObject/ImageContentObject.php line 109
if ($linkWrap !== '') {
$theValue = $this->linkWrap($theValue, $linkWrap);
} elseif ($conf['imageLinkWrap'] ?? false) {
$originalFile = urldecode($imageResource->getFullPath());
$theValue = $this->cObj->imageLinkWrap($theValue, $originalFile, $conf['imageLinkWrap.']);
Files
Actions