Pentair Mastertemp shuts down

I have a Mastertemp 400 heater that shuts down after approx 15 min and then give a Service Heater error and an AFS error. It never heats past 85 degrees. The heater is about 12 yrs old and I’ve replaced the following:

Thermal Regulator

Airflow sensor

Thermistor

I’m still having the problem and I’ve run out of ideas.