Skip to content

Profile image upload not working on Typo3 8.7 #3

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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