My phone has no sound. The volume tells me my headphones ate plugged in and they're not

That's all I know
That happened to me too, but in my case restoring and erasing didnt help,it's a hardware problem.
That's all I know

Try blowing out dust, lint or other debris from the headphone jack, if applicable. Also, you can connect a pair of headphones and then eject them. One or both should solve the problem for you.

Original thread: https://forums.imore.com/threads/my-phone-has-no-sound-the-volume-tells-me-my-headphones-ate-plugged-in-and-theyre-not.377614/