---
title: "TYPO3 Exception 1509741912"
manual: "TYPO3 Exceptions"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3exceptions:typo3-exception-1509741912"
source: "Exceptions/1509741912.rst"
rendered: "2026-09-26T07:32:33+00:00"
---

# TYPO3 Exception 1509741912 {#typo3-exception-1509741912}

> [!NOTE]
> Below, the TYPO3 community may have provided additional information or
> solutions for this exception. However, these may or may not apply to your
> particular case. If you can provide more information, you should come back
> here and add your experience and solution steps to this issue once you have
> resolved it.
>
> General TYPO3 troubleshooting tips can be found in the *Troubleshooting*
> section in the menu. You can also ask questions and receive support in the
> [TYPO3 Questions category on talk.typo3.org](https://talk.typo3.org/c/typo3-questions/).
>
> To add your experience, click "Edit on GitHub" above and follow the
> ["Edit on GitHub" workflow](https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/Howto/EditOnGithub.html#docs-contribute-github-method).
> Also check out
> [our tip on Coding Style and reST](https://docs.typo3.org/permalink/t3exceptions:tip-about-rest-coding-style).

## Insights from the code {#insights-from-the-code}

A comment in the code associated with this exception explains that it is “thrown
if a file has been replaced with a folder.”

*Added in TYPO3 v9.0 • Confirmed present in TYPO3 v13.1*

## Supplied file object type ProcessedFile for must be File or FileReference {#supplied-file-object-type-processedfile-for-must-be-file-or-filereference}

Concerned Version: TYPO3 Version 9.2.1

Related issues:

-   [https://forge.typo3.org/issues/84578](https://forge.typo3.org/issues/84578) (closed)
-   [https://forge.typo3.org/issues/84343](https://forge.typo3.org/issues/84343) (closed)

When moving some files in the File-module with the clipboard this Error
Message is shown:

```
#1509741912: Supplied file object
type TYPO3\CMS\Core\Resource\ProcessedFile for must be
File or FileReference.

```

## Unable to render image tag in "tt_content:xxxx": Supplied file must be File or FileReference, TYPO3\\CMS\\Core\\Resource\\Collection\\LazyFileReferenceCollection given {#unable-to-render-image-tag-in-tt-content-xxxx-supplied-file-must-be-file-or-filereference-typo3-cms-core-resource-collection-lazyfilereferencecollection-given}

This message appears with content-blocks if you try display an image (or a file) directly with for example:

```
<f:image image="{data.image}" width="42" maxHeight="48" />

```

images and files are collections with content-blocks, you need to use a \<f:for> loop to display them:

```
<f:for each="{data.image}" as="image">
    <f:image image="{image}" width="42" maxHeight="48" />
</f:for>

```

or if you're sure the file exists, you can also use:

```
<f:image image="{data.image.0}" width="42" maxHeight="48" />
```
