Check Engine Light and Cruise Light Flashing on 2005 Subaru Outback

What does it mean when the check engine light comes on and the cruise control light is flashing at the same time? They both came on at the same time.

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
2 answers 1 comment
Many engine sensors have shared responsibilities between the engine, transmission, cruise control and other functions of the car. For example the Vehicle speed sensor sends an input to each of these systems and its failure would cause a problem with each separate system.If the Check Engine light/Service Engine Soon light illuminates while you are driving, the car's on board computer sees a fault in the engines management system that is causing an excess amount of pollutants to be emitted from your car. This could result in engine damage if left neglected. Some problems that can cause the Check Engine light to stay on may take two "drive cycles' to complete before illuminating the Check Engine Light. The computer sees a problem and looks for an identical set of circumstances to occur to confirm that it has indeed seen a problem before turning on the light. A Check Engine light that continually flashes while you are driving is serious and is a sign that the computer sees a problem that seriously risks damaging the catalytic converter which may result in an expensive repair or even may cause a fire! Diagnostic codes are stored in the vehicle's computer and can be retrieved using a scantool that communicates with the computer in your car. We have in our Repairpal website an encyclopedia with in depth articles about computer, and computer control systems, emission and driveability problems. http://repairpal.com/check-engine-light
My dealership replaced the catalytic convertor under the emissions warranty and the lights went out! The warranty is 8 years or 80,000 miles.
I changed the battery and the lights came on I don't know how to correct