Have problem filling the gas tank.
Can you elaborate a little? What happens?
I can't put gas in the tank without the pump cutting off.
There is a device near the fill opening, so any gas that does not go in to the tank will flow in to that, instead of spilling on the ground and/or running down the side of your car. That hose connected to it must be unobstructed or the nozzle will think the tank is full. OR, if you use the same gas pump everytime, the problem may be in the vapor recovery line in that hose at the gas station. If that's the case, try holding the nozzle high up in the air as you can for a few seconds, allowing any trapped fuel in that hose to drain.
I have the same problem, and it happened at two different stations, one with old pumps and one with new. Even at the same station, I do not always use the same pump (they have 8).
Search Hyundai Elantra Questions
Hyundai Elantra Experts