LG Dishwasher HE error

I replaced the heater assembly but this did not change the problem. When running the normal cycle it errors after about 2 hours with the flashing HE error. When running the quick cycle it still takes about 2 hours to complete but it doesn’t error or dry the dishes. I suspect the control board in which case I may be as well buying a new dishwasher. Any other suggestions are appreciated.