Bug Avatar/profile banner uploads don't properly check if the image can be processed, and throw an exception

  • Thread starter king of the internet
  • Start date
There is a bug in this version
K

king of the internet

Guest
Here is the traceback, there is a similar one for profile banner uploads.

Code:

Code:
Error: Call to a member function getType() on null in src/XF/Service/User/AvatarService.php at line 236
XF\Service\User\AvatarService->updateAvatar() in src/XF/Pub/Controller/AccountController.php at line 620
XF\Pub\Controller\AccountController->actionAvatar() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 269
XF\Mvc\Dispatcher->dispatchFromMatch()...

Read more

Continue reading...