Hey again Imram!
Awesome! Doesn't seem like there's a hardware issue going on then.
Seeing as your clearing cache partition came back with an error, I'm gonna suggest performing a Factory Reset, as it sounds like a low-level firmware issue.
Before you reset your phone though, maybe try going into the App Info for Camera. Force Stop the app, clear the cache, and clear the app data. Try launching it again. If that doesn't solve the issue, try the reset.
Make sure you back everything up, note down your phone's passcode/PIN, and if you're using a microSD card, make sure it's unencrypted before you reset your phone.
Hope this helps,
Tom 🙂