Measuring 240V on earth wire
Just because it's a earth wire, doesn't mean it actually is earthed.  It could be that the wiring is damaged, or that somebody forgot to connect it at all.
Sometimes, the only solution is to install a temporary earth rod, separate from the electrical system, and keep measuring the voltages between that and different parts of the installation's &quot;earth&quot; until you find where the break is.