It's very likely to be a broken conductor in the mains lead, where it flexes a lot and tightly so, near the body of the trimmer.
Ffg
August 2022
Exploded diagram here, which should be enough.
If you don't know what you are doing or don't understand what you are doing, get it done by someone competent.