Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile image upload not working on Typo3 8.7 #3

Open
darkonevt777 opened this issue Jul 5, 2017 · 1 comment
Open

Profile image upload not working on Typo3 8.7 #3

darkonevt777 opened this issue Jul 5, 2017 · 1 comment

Comments

@darkonevt777
Copy link

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

@tmotyl
Copy link
Member

tmotyl commented Jul 26, 2017

Hi
Thanks for your report. Indeed in v8 the field is now a FAL field instead of string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants