You must tell more about what you did with avatar settings, or related plugins, or blob table, or image folders or some other activities. For example, you move images to disk, but you accidentally delete it. You may install a plugin to change avatars but the files are unreadable, or you install an outdated plugin in which the avatar code is no longer supported.