I tried to use the wifi features with the camera connected to the charger, but still the same error, so we can discard the battery as the problem. When I keep trying to connect to the camera server the app says that the connection times out, so the camera is not creating the server or wifi is not transferring the data. I think that the problem is in the wifi mode that got physically screwed up by some strong electromagnetic pulse or by a static distance that messed up a chip or transistor, and there's nothing to do about it.
Way more probably by some cold solder joint, if it is to be some HW fault. Or cracked ceramic capacitor (or some similar mechanical damage; could happen when it hits something, eg the floor just after falling on it). Or a corrosion on a connector to the WiFi module.
Unless you were frying it in a microwave. Or were poking inside into the circuits by something conductive.
There is no way for an external field to fry in such way anything so small. To convert the field into some dangerous electrical pulse, you need an antena of significant size.
Unlike popular culture, even a nearby nuclear blast wont do anything to it. Yes it can destroy electronic, but only when it has long wiring or segments connected to act as the pickup antenna (so transformers in power grid woul blow on solar flare or a nuke above the atmosphere near by, because their antenna is miles long; satelites blew, because have protruding radio antennas and solar panels, both becoming antennas; but few cm size camera - no way).
And I strongly doubt you had anything like that (electromegnetic wise), as most likely you wouldn' have power anymore, nor TV, nor PC connected to internet, so wouldn't be able to write anything here...