Constant "error has occurred" messages on Facebook games

I play Castleville and Hidden Chronicles on Facebook. I recently fixed some problems on my computer with the help of a person here. When I play these games I receive constant "error has occurred, please try again later" pop-up messages. This prevents me from playing the game and being able to send gifts. Can someone kindly tell me what can I do to fix this?