Iphone 5 how to fix charging is not supported with this accessory?

I'm unable to charge my i5. I have an authentic I5 charger however I get the following message " charging is not supported with this accessory".

Oh this is a common problem.
What i do is get warm water and let the iphone soak in milk which will cause the circuitry to rearrange and fix this error. It worked with my friend's phone too.

Yes I agree with the other answer but add some salt so it connects gets the electricity going and passing.

Try using a different power source. When I'm at work, sometimes the computer will not charge my iPad. When I connect it to the floor outlet, it charges fine.

Similarly, an old car charger I have which has a usb port on it will not charge my iPhone 5, but a newer one will.