Welcome to Fixya
. Having a "zoom error" message is a camera malfunction, in this issue you can try to turn off and then turn it on again but this time you have to take care not to touch the camera lens or try not to blocked the camera lens while retrackting. If you still have the same issue you can try to visit this site
for some steps you can do before sending your camera to your Fujifilm center.
In regards your issue about the charging of your battery,as you said before that you bought your camera to the beach. Try to clean the terminals with soft and dry cloth. Also, possible that the battery has reached the ends of its charging life. Purchase a new battery. If the battery still fails to charged, you have to contact your Fujifilm center.
Please let me know if you have any question.
Thank you for using Fixya.