Can somebody please point me in the right direction.

My Wanhao i3 hot end is turning off at random times during a print, sometimes it reheats but other times it stays off. Changed cartridge heater and have same problem. Checked voltage to heater and 0 volts from supply when cooling down. The thermistor seems to be working but may change anyway. Any ideas would be greatly received.

Thanks