Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.
I suspect that your camera may be defective from the store or vendor.
How long ago was it bought, please?
The memory card error, especially if it appears for a card formerly usable in this very same camera at first, is a bad sign that I cannot mitigate. *If* the cards it refuses were usable in it previously, then it is 'broken', or defective from vendor or store or manufacturer, almost beyond any doubt.