Updated

Dean McDermott could be in serious trouble.

Tori Spelling’s husband narrowly avoided jail in March after his ex-wife agreed to allow him to pay overdue child support and alimony in small monthly installments — rather than see him locked up by an LA judge.

But now McDermott has missed multiple payments on their $1,500-a-month agreement, according to sources. And his furious ex, Mary Jo Eustace, is hauling him back to court — which once again means he’s looking at a stay in the slammer.

Spelling and McDermott have lately suffered a series of major financial struggles. Since January 2016, they’ve been hit with a string of lawsuits and liens for credit-card debts, bank loans and overdue taxes well into the six figures.

In March, McDermott was almost arraigned for criminal contempt of court for not keeping up with child-support payments.When he appeared to face the charge, McDermott told the judge that he had “fallen on hard times,” according to reports. He was read his rights and asked if he needed a public defender, but the judge allowed McDermott a reprieve if he and Eustace could reach an agreement.

Said an insider, “It’s crazy that all this is over $1,500. He could get a job at the Gap and pay that off every month.”

A source close to McDermott told us that Eustace had been warned that the August payment would be late.

“It’s not like it came out of left field,” said the insider. “It was late because Dean was paying their son Jack’s first-month rent, security deposit and several other college expenses, which Mary Jo would not contribute to.”

The source says that a payment was made to Eustace on Friday.

Meanwhile, we’re told that it was not lost on Eustace that, after skipping the payments, Spelling and McDermott took their kids on a luxurious vacation to the Four Seasons in Punta Mita, Mexico.

In the past, Spelling’s mother, Candy — the widow of soap-opera mogul Aaron Spelling — has been known to pay for lavish birthday parties for their children, Liam, 10, Stella, 9, Hattie, 5, Finn, 5, and 6-month-old Beau.

This article originally appeared in Page Six.