The discussion is about an issue with uploading images to user profiles due to a JavaScript error. nathank reported the issue, which occurs when trying to edit the profile picture, and provided screenshots of the error. blake was unable to reproduce the issue, suggesting that a plugin might be interfering. After testing, nathank identified the Events Plugin as the potential culprit, but later realized it wasn’t the cause (#7). raghukamath reported the same issue on their forum, listing the enabled plugins. Moin suggested trying without the Topic Previews Sidecar plugin, which led to the discovery of the issue. merefield investigated and eventually fixed the issue in the Topic Previews Sidecar plugin (#11). The fix has been confirmed to work by raghukamath and merefield requested confirmation from nathank and raghukamath.
This happens regardless of whether it is an already uploaded file or not. Uploads in posts work just fine. I updated over the weekend. Same in safe mode.
I can repro this in a clean install, but not here on meta.discourse.org (nor on Stable).
Hmmm currently I’m not able to reproduce this myself. I tried locally with my developer setup and on a self-hosted site I just updated and I’m able to change the profile picture without any errors.
Meta is also running the latest so it should be reproducible there as well.
I know you tested in safe mode, but maybe there is still a plugin or something interfering?
Have you tried it without the sidecar plugin? That seems to be the only unofficial one. Maybe the new image processing for YouTube thumbnails interferes with the upload of profile pictures.