PORT ST. LUCIE — Brandon Nimmo might need to add a home economics class to his busy schedule.

The Mets outfielder was absent from team workouts and the ensuing exhibition game against the Marlins on Wednesday after becoming ill from undercooked chicken, according to manager Mickey Callaway.

The culprit? Nimmo himself.

“He cooked some chicken and didn’t know how to cook, so he was throwing up all night,” Callaway said. “We have to teach him how to cook so he doesn’t miss any more games.”

Callaway indicated it’s likely Nimmo will remain sidelined Thursday because of dehydration concerns that could lead to cramping.

Nimmo played as the DH on Tuesday for his first Grapefruit League action this spring after incurring soreness in his throwing arm early in camp. Nimmo recently began a throwing program and is expected to get his first outfield start this spring in the coming days.

That’s provided he cooks his chicken thoroughly.