Welcome to Android Central! Is the phone rooted or unrooted? Did the errors just start? Do you recall any recent app installations that corresponded with this?
If that doesn't help, then boot into Safe Mode, which temporarily disable all 3rd party apps. If the problem persists, then there is probably a problem with the camera hardware or the firmware. If the problem goes away, then something you installed is the culprit--but you may have to uninstall apps one by one until the problem goes away. https://forums.androidcentral.com/e...ces/knowledge_base.html/59242/&token=3yZwQgvD