Este sitio web fue traducido automáticamente. Para obtener más información, por favor haz clic aquí.

Try walking in Sarah Hyland’s high-heeled shoes — but having chronic foot pain. 

The former "Modern Family" star, 32, alleged the show's producers "insisted" she wear heels even though she suffered from gout.

"I was always focused on essentially just surviving and knowing my lines… being there 100% when they yelled, ‘Action’ — and then immediately collapsing when they yelled, ‘Cut,’" Hyland said while on her "Modern Family" co-star Jesse Tyler Ferguson’s podcast.

SARAH HYLAND AND WELLS ADAMS ARE MARRIED IN CEREMONY ATTENDED BY HER 'MODERN FAMILY' CO-STARS

Sarah Hyland red carpet

Sarah Hyland spoke out about the health issues she battled while filming the popular sitcom "Modern Family." (Getty Images)

Ferguson recalled filming an episode where his character and Hyland were pushing a car and she was in an "intense amount of pain" while on crutches.

"I had gout!... I was on dialysis… it was wild," Hyland remembered.

"They put me in high heels… They had not established my outfit yet and they insisted that I was wearing heels," Hyland emphasized. "It was the most excruciating pain."

The cast of 'Modern Family'

"Modern Family" star Sarah Hyland claims the show's producers "insisted" she wear heels while she suffered from gout. (Bob D'Amico/Disney General Entertainment Content via Getty Images)

The "Love Island USA" host has battled through a series of health problems.

Hyland had to undergo several surgeries, including two kidney transplants and laparoscopic surgery for endometriosis. She has previously been candid about how her mental health suffered as well.

SARAH HYLAND DEFENDS WEARING SPANX AFTER KIDNEY TRANSPLANT

In 2019, Hyland opened up about her battle with depression and admitted she struggled with suicidal thoughts after suffering through her health issues.

"After 26, 27 years of just always being sick and being in chronic pain every single day and you don’t know when you’re going to have the next good day, it’s really, really hard," Hyland said during an appearance on "The Ellen DeGeneres Show" at the time. 

Sarah Hyland red carpet

Hyland rose to fame as Hayley, the oldest daughter of the Dunphy clan, on "Modern Family." (Jason Kempin/NBC/NBCUniversal via Getty Images)

"I would write letters in my head to loved ones of why I did it and my reasoning behind it, how it was nobody’s fault. I didn’t want to write it down on paper because I didn’t want anybody to find it. That’s how serious I was."

Hyland said she was "very, very, very close" to taking her own life.

"It ended up being myself that got me out of that," the actress shared. "I had to do it on my own. I told myself I had to do it on my own."

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

Hyland said she finally decided to get help after opening up to a friend about her depression.

WATCH: SOFIA VERGARA TALKS HER OWN POSSIBLE 'AGT' ACT AND SARAH HYLAND'S WEDDING

SARAH HYLAND, WELLS ADAMS HAVE PUT THEIR WEDDING PLANS ON HOLD AMID PANDEMIC

Sarah Hyland and Wells Adams red carpet

Sarah Hyland married Wells Adams in August 2022. (Gabriel Olsen/Getty Images)

Hyland rose to fame starring as Haley, the oldest daughter of the Dunphy clan, on the popular ABC sitcom "Modern Family." 

Last summer, the "Pitch Perfect: Bumper in Berlin" star tied the knot with "Bachelor in Paradise" star Wells Adams on a vineyard north of Santa Barbara, California, after facing multiple delays in wedding planning due to the COVID-19 pandemic.

CLICK HERE TO GET THE FOX NEWS APP

The couple enjoyed an outdoor ceremony at the trendy Sunstone Winery in Santa Ynez, where her "Modern Family" co-stars joined in the celebration, including Sofia Vergara, Jesse Tyler Ferguson (and his husband, Justin Mikita), Nolan Gould and Julie Bowen.

If you or someone you know is having thoughts of suicide, please contact the National Suicide Prevention Lifeline at 1-800-273-TALK (8255).