The defender suffered a knee injury in last week's 1-0 win over Spurs in Shanghai.
"Eric has had an operation and will be out for four to five months," Solskjaer said. "Hopefully we'll have him back around Christmas time.
"It was positive news from the surgeon, he had the operation this morning. He was positive it was all repaired and that he'll be fine."