Issue Bug Closed

#55763using object as string in ResourceStorage->getUniqueName

Tymoteusz Motylewski 02/07/14, 14:35 updated 10/23/17, 21:42

Description

I got this error while attaching file in RTE
“Object of class TYPO3\CMS\Core\Resource\Folder could not be converted to string”

it is caused by the call
if (!$this->driver->fileExistsInFolder($theDestFile, $folder)) {
which should look like:
if (!$this->driver->fileExistsInFolder($theDestFile, $folder->getIdentifier())) {

because $folder is an object.

Reviews 1