#104719call to missing method ProcessedFile::process
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.’]);Reviews 3
Files 3
History 915
-
Garvin Hicking commented and changed category status
NewNeeds Feedback <span data-processor="relativetime" data-value="2024-08-23T23:31:12+00:00" > 08/23/24, 23:31 </span> -
Franz Holzinger commented and changed attached debug-104719.html <span data-processor="relativetime" data-value="2024-08-24T06:44:26+00:00" > 08/24/24, 06:44 </span>
add debug file
file.
Array
maxW 100
maxH 200
imageLinkWrap 1
imageLinkWrap.
Array
enable 1
bodyTag <body bgcolor="black" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><br>wrap <a href="javascript:close();"> | </a><br>width 800<br>height <br>JSwindow 1<br>JSwindow. <br>Array <br>newWindow 1<br>expand 0,0<br>$imageConfStart Pos 1</body> -
Garvin Hicking commented <span data-processor="relativetime" data-value="2024-08-24T06:53:04+00:00" > 08/24/24, 06:53 </span>
(My point is I need steps to reproduce in a plain TYPO3 installation without extra extensions, and the backtrace, not only debug output. It looks to me as if you pass an already processed file into your processing, but processed files cannot be processed again)
-
Franz Holzinger commented and changed attached TYPO3 Exception-104719.html <span data-processor="relativetime" data-value="2024-08-24T19:13:58+00:00" > 08/24/24, 19:13 </span>
full backtrace
There is no change since TYPO3 12, where it works.
-
Garvin Hicking commented <span data-processor="relativetime" data-value="2024-08-24T19:29:58+00:00" > 08/24/24, 19:29 </span>
Could you please give a minimal reproducible example of code on how to reproduce this, without extra extensions being involved? Thank you!
-
Franz Holzinger commented and changed attached TestImage.typoscript <span data-processor="relativetime" data-value="2024-09-06T10:42:04+00:00" > 09/06/24, 10:42 </span>
Example Setup for IMAGE.
It uses a file “file = fileadmin/imagefilename.jpg”. You must add some image there for reproducing this error.<div style="background-color: blue; padding: 0.5em 1em;"> <dl> <dt>IMAGE file</dt> <dd> <f:cObject typoscriptObjectPath="lib.testImage" /> </dd> </dl> </div>The error happens when imageLinkWrap is part of the IMAGE.
ContentObjectRenderer.php line 940$processedFile = $file->process(ProcessedFile::CONTEXT_IMAGECROPSCALEMASK, $conf); -
Gerrit Code Review pushed patch set 1 for main to change 86194 status
Needs FeedbackUnder Review <span data-processor="relativetime" data-value="2024-09-19T07:43:47+00:00" > 09/19/24, 07:43 </span> -
Garvin Hicking commented <span data-processor="relativetime" data-value="2024-09-19T07:44:58+00:00" > 09/19/24, 07:44 </span>
Thank you Franz, with your snippet it was really easy for me to reproduce this, and I believe to have found the issue (with the help of #typo3-cms and especially Mathias Brodala ;)).
Please check out the patch if that works for you?
-
Gerrit Code Review pushed patch set 2 for main to change 86194 <span data-processor="relativetime" data-value="2024-10-18T13:54:13+00:00" > 10/18/24, 13:54 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 86194 <span data-processor="relativetime" data-value="2024-10-18T16:56:53+00:00" > 10/18/24, 16:56 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 86194 <span data-processor="relativetime" data-value="2024-10-18T16:57:12+00:00" > 10/18/24, 16:57 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 86733 <span data-processor="relativetime" data-value="2024-10-23T16:44:46+00:00" > 10/23/24, 16:44 </span>
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 86734 <span data-processor="relativetime" data-value="2024-10-23T16:44:58+00:00" > 10/23/24, 16:44 </span>
-
Garvin Hicking commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2024-10-23T17:25:08+00:00" > 10/23/24, 17:25 </span>Applied in changeset commit:1ede0bb29332efb6c22356d575c7ccb74f359258.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:33:27+00:00" > 12/02/25, 14:33 </span>
Please provide the full stacktrace and especially what kind of image you use/pass here (I guess via typoscript?) and details like if it is a remote or local file.
Thank you!