Error when uploading Avatar image

AI-generated summary

puchal reported an issue where all users encountered an undefined method 'optimized_image_resize_instructions' error when attempting to upload avatar images, although other image uploads functioned correctly. The forum is running version v2026.9.0 and has several plugins installed, including Bbcode color, Nationalflags, and Topic previews sidecar. RGJ identified the

Hi,

All users when they try to upload an image to replace current avatar get an error:

undefined method ‘optimized_image_resize_instructions’ for class OptimizedImage

Upload of other images (for gallery, or just plain image) works ok. I am not sure when it started, we have relatively small community..

Any help with resolving is welcome.. :slight_smile:

Which version of Discourse are you running?
Do you have any plugins installed?

v2026.9.0 . I have a few plugins:
Bbcode color
Nationalflags (This is a fork from here GitHub - chapoi/discourse-nationalflags: National Flags plugin for Discourse · GitHub ), original is no longer mainyained)
Topic previews sidecar

Thank you.

See this post and the few posts below it

How did I miss it? :smiley:

Thank you, I will try to rebuild over the weekend.