Tori Spelling's husband appeared in court in Los Angeles on Thursday after his former spouse Mary Jo Eustace filed a complaint claiming he stopped paying child support for their 18-year-old son Jack in October (16) and owes her thousands of dollars, according to New York Post's gossip column Page Six.

MCDermott, who told the court he had “fallen on hard times", was dramatically read his Miranda rights, which are given to those intended to be questioned in police custody, after being held in contempt of court for failing to pay.

Before sending him to jail, the judge gave the former couple an opportunity to work out a deal and Eustace withdrew the complaint, sparing MCDermott jail time. He is now scheduled to pay off half of the amount he owes by Monday (13Mar17). Insiders told the outlet Eustace will refile her complaint as early as Tuesday (14Mar17) if he doesn't pay up.

MCDermott left Eustace, who he married in 1993, after falling in love with Spelling when the pair filmed TV movie Mind Over Murder together in 2005. He married the actress in 2006 and they have five children: Liam, nine, Stella, eight, Hattie, five, Finn, four, and Beau, who was born earlier this month (Mar17).