Or a lack of coolant.. but yeah. The code could likely be not getting up to temp.

check your coolant level first, then replace the T stat.