Do you get that message when you open the Camera or Gallary app?
Try clearing the cache/data for either/both apps and see it fixes the issue. (settings -> application manager -> camera/gallery -> clear cache).
Also check if there is a software update for your phone. (settings -> about phone -> check for software update)