There's a limit on terraforming planets. The resources cannot go above 15x. It may be the limit has been reseached while you used the device. As Zhorgul said though, refresh the game and it should correct itself. If it doesn't, try logging out of Facebook and clear your cache as well before logging back in.
_________________"Anyone without a sense of humour is truly at the mercy of the rest of us."
My folding@home stats