Happened to me, solved it by changing my PHP version
Mines on 7.3.27, which is the recommended min. Tried rolling back to previous PHP but gave error message saying needs 7.3.27....
adding images to activity feed works fine, just not saving the profile avatar or cover image for some reason...