Fox’s newest episode ofBeat Shazamguest-starringDemi Lovatowas pulled from the lineup following the star’s hospitalization due to anapparent drug overdose.

The network released a statement Tuesday announcing that the pop star’s episode on Jamie Foxx’s game show — in which teams try to name songs playing before the popular app identifies them — would not air as planned.

In a since-deleted tweet, Lovato, 25, had advertised her presence on the segment earlier in the day. “Oh hi 😘 Guess who’s on@BeatShazamFOXtonight at 8/7c?”

The singer was rushed to the hospital Tuesday morning following an apparent overdose at her Hollywood Hills home, hours later appearing “alert and stable,” a close source confirmed to PEOPLE.

Last month Lovato released her new hit song, “Sober,” revealing her recent relapse following six years of sobriety. She performed “Sober” in Paso Robles, California,just two days prior to the apparent overdose.

Pedro Gomes/Redferns

Day 2 - Rock in Rio Lisbon 2018

Lovato has long been candid about herbattle with addiction, mental illness and disordered eating,largely detailed in her 2017 YouTube documentary,Demi Lovato: Simply Complicated.In 2010, she entered treatment for bipolar disorder, bulimia, self-harm and addiction. Shortly after voluntarily leaving the center, the star relapsed and then entered a sober living facility at her team’s urging, in which she stayed for a year.

Despitethe massive outpouring of supportfollowing widespread public shock, includingfrom ex Wilmer Valderrama, sources close to the star told PEOPLEthey had been fearing an incident like thisfor an extended period of time.

“Things have been a total mess for months. She and her team severed ties, and they played a large part in getting her sober years ago. She hasn’t been in a good place,” a close source claimed.

RELATED VIDEO:Demi LovatoReveals She Relapsed After Six Years in New Song ‘Sober’

Another insider added that Lovato’s period of sobriety was largely tainted with ongoing struggles. “Demi was never really clean and sober from all of her demons. She has been fighting depression and anxiety for quite some time — and is still in such a dark place. She was sober for a while, but not completely sober for six years.”

Live Nation has confirmedto thePress of Atlantic Citythat Lovato’s concert scheduled for Thursday in the New Jersey seaside resort town has been canceled.

Beat Shazamairs Tuesdays at 8 p.m. ET on Fox.

If you or someone you know is in need of help, please contact the SAMHSA substance abuse helpline at 1-800-662-HELP.

source: people.com