#55766PHP Catchable Fatal Error: Object of class TYPO3\CMS\Core\Resource\Folder could not be converted to string in LocalDriver.php line 677
Description
When you use storage->addFile() with conflictMode=‘changeName’ you run in to the following fatal error when there is already a file with that name:
PHP Catchable Fatal Error: Object of class TYPO3\CMS\Core\Resource\Folder could not be converted to string in typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php line 677