Skip to content

Profile image upload not working on Typo3 8.7 #3

@darkonevt777

Description

@darkonevt777

Something has changed in \TYPO3\CMS\Extbase\Domain\Model\FrontendUser::setImage().
Parameter should be of type \TYPO3\CMS\Extbase\Persistence\ObjectStorage. In former Typo3 versions it was a string.

So, the upload of a user profile image throws an exception:

Argument 1 passed to TYPO3\CMS\Extbase\Domain\Model\FrontendUser::setImage() must be an instance of TYPO3\CMS\Extbase\Persistence\ObjectStorage, array given, called in /var/www/public/typo3conf/ext/community/Classes/Controller/UserController.php on line 157

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions