Can't take photos but space available!
I suspect you have run out of space on your phone. While you may have 494GB of space available in iCloud, your phone needs a place to put them before they can be uploaded. Try deleting some existing photos, videos, music, or apps to free up some space on your device.