A source close to the Fox reality show told PEOPLE that Morrison, 43, was fired from the show “after having an inappropriate relationship with a contestant.”
“They didn’t have sex, but he contacted her through flirty direct messages on social media,” the source said. “She felt uncomfortable with his comment line and went to the producers, who then implicated Fox. He was fired after they conducted their own investigation.”
The source adds that Morrison and the unidentified contestant “never met out of sync.”
“These are just messages that have crossed the line,” the source notes.
Representatives for Morrison and Fox did not immediately respond to PEOPLE’s request for comment.
Mike Yarish/FOX Matthew Morrison
News that the Tony Award-nominated Broadway star was out SYTYCD down on fridayjust over a week after the premiere of season 17 of the dance competition series aired on May 18.
At the time, Morrison said in a statement to PEOPLE that he was leaving the show after failing to follow “competition production protocols”.
“Having the opportunity to be a judge on So you think you can dance was an incredible honor for me. Therefore, I deeply regret to inform you that I will be leaving the show,” Morrison said in the statement.
Ian West/PA Pictures/Getty Matthew Morrison
“After filming the show’s auditions and completing the selection of the 12 finalists, I did not follow the competition’s production protocols, preventing me from being able to fairly judge the competition,” he continued. “I can’t apologize enough to everyone involved and will be watching all of you for what I know will be one of the best seasons yet.”
Never miss a story – subscribe to Free PEOPLE Daily Newsletter to stay up to date on the best that PEOPLE has to offer, from juicy celebrity news to gripping human interest stories.
Since most of this season’s episodes were already pre-recorded, Morrison will likely appear in episodes until mid-June, according to Weekly entertainmentadding that his replacement should be recruited for the second part of the filming of the competition.