Hey Guys I am in many Facebook Groups of iPhone users and most of the times i see this problem :- their charging port is not working. So First of all i would like to say that keep calm.This has happened to many users and there are ways to fix it and we would see these ways here.
Why This is Happening?
This happens mostly due to dust present in your charging port.The other reason can be that water might have entered into that slot.
Pro tip:- How to clear RAM in iPhones?
How to fix charging port?
The solution is rather easy. If you facing this problem all you have to do is to clean your port.You can use ear buds for this thing or a small tissue. And if there might be water inside the port you can use hair blower also to rectify this.
This would fix the problem as I searched Apple forums also for the sake of authenticity and this is what i found: