I also had something similar, but it happened when I did dips.
I kept working through it, and little by little, over time, the clicking went away.. so in my case it was just a matter of getting strong enough to overcome it.
BTW, you know those 'walkers' that old people use to help them walk...