This is an already solved problem, I'm curious to hear if other people have run into this before and the explanation behind it.
I had a AER guitar amp to repair with a defective toroidal power transformer. 60VA, 2x115V series primary, 2x15V parallel secondary.
The transformer supplies an internal AGM battery and inverter for the power amplifier supply voltage. It's mounted under the charge / inverter PCB and furthest away from the high gain stages.
I thought the replacement would be straightforward, it was a tight fit, the replacement being slightly more powerful and bulkier than the original (not larger enough for distance to have significant effect on radiated fields). Once replaced there was some 50Hz hum. The owner confirmed this was not the case before the transformer replacement so I went back and re-checked wire routing.
In the end the hum was eliminated by rotating the transformer around it's mounting axis by 90° having the wires rather counter-intuitiveley right against the inverter PCB.