Can't connect to wifi and no photo on gallery after pic taken

Hi, I’m using MX4 pro for almost 1 and half years didn’t experienced this kind of problem. I did hard reset but it still problem. It will keep rebooting by itself until the battery drain out. It running flyme OS 4.5.7A.

Looks like your connection to Meizufans was lost, please wait while we try to reconnect.