Check engine light on and CRUISE light flashing??????

check engine light on and cruise control light flashing Problem occured this morning on way to work. Hoping Subaru can tell me something about this cruise control circuit. Cruise control would not activate after this occured. Owners manual said it may be due to my gas cap not being properly tightened after refueling. I'll try that to! Any other suggestions would be appreciated.

You disengaged your cruise control by accidentally pushing cruise button while turning car on? To reset put key in lock position and turn to next couple of settings to engage the cruise. This happened to me recently and it took a few times trying, it worked and reset the cruise control. I found the information in manual.

I had the same issue happen a few minutes ago, however, my car lost acceleration and stranded me in the middle of the road for a few moments. Turned car off for about 60 seconds, then started and moved car to parking lot. Let car sit for a moment, started again but check engine light on and cruise light flashing. Tried the above suggestion and it worked after a couple tries. Both check engine light and cruise are off now. Safe to drive or do I have a more serious problem ?