What is the problem with my cruise control? on 2004 Subaru Baja

My cruise control light is flashing and cruise will not work. Check engine light also came on at the same time.

Asked by for the 2004 Subaru Baja
codes need to be scanned and posted so we can adv