Clearing the cache and data from the camera app in the settings seems to have fixed this problem. I should have done this in the first place before coming here. I'm sorry, but I really appreciate you guys for troubleshooting this weird error for me. I'm glad it's working now