squirting a little electrical contact cleaner into the headphone socket and then plug in fully and unplug the headphones several times. Could be dirt or a little bit of corrosion. I had a similar problem a while back with an amp that had not been used for a while.