Exception in rendering!

Message: window is not defined

ReferenceError: window is not defined
    at new c (/tmp/execjs20161208-5336-1ibh6wdjs:136:3912)
    at m.mountComponent (/tmp/execjs20161208-5336-1ibh6wdjs:47:15602)
    at /tmp/execjs20161208-5336-1ibh6wdjs:49:31860
    at a.r.perform (/tmp/execjs20161208-5336-1ibh6wdjs:47:12503)
    at Object.a [as renderToString] (/tmp/execjs20161208-5336-1ibh6wdjs:49:31821)
    at r (/tmp/execjs20161208-5336-1ibh6wdjs:50:21164)
    at Object.S.ReactOnRails.serverRenderReactComponent (/tmp/execjs20161208-5336-1ibh6wdjs:32:6073)
    at eval (eval at <anonymous> (/tmp/execjs20161208-5336-1ibh6wdjs:173:8), <anonymous>:10:23)
    at eval (eval at <anonymous> (/tmp/execjs20161208-5336-1ibh6wdjs:173:8), <anonymous>:17:3)
    at /tmp/execjs20161208-5336-1ibh6wdjs:173:8

Q: Brake light on with cruise control kicking off

asked by on

I sometimes have a problem with the braking system in my car that randomly occurs. The dashboard shows brake light illuminated, which usually happens simultaneously with the kickoff of the cruise control. At that moment, the brake light turns off if I apply the brakes. I took it to a shop but they couldn't recreate the problem, so it still happens occasionally. What could cause this? I appreciate your help.

A: Hi there. Most of the time this is caused b...

Hi there. Most of the time this is caused by a bad brake switch. When the switch does not work the computer cannot tell when you apply the brakes, which will affect the braking and cruise control systems. It may also be a speed sensor, but that will usually turn on the check engine light also. If you would like to have this looked at, consider YourMechanic, as a certified mechanic can come to your home or office to diagnose this.

Was this answer helpful?

Need advice from certified mechanic? Get help now!

Over 1000 mechanics are ready to answer your question.
The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

Ask a Mechanic
(100% Free)

Have a car question? Get free advice from our top-rated mechanics.

Ask A Mechanic
Over 10,000 questions answered!

Get an instant quote for your car

Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Save up to 30%

Get a quote

What others are asking

Q: I want to replace the cluster panel. Now does the mileage be stored in cluster panel or in computer. I am getting a used panel.

Hi there. Remove the dash panel cover and take out the gauge cluster. Check to see if the odometer is electronic and see if there is a little cover. If there is a cover to the case, then remove the...

Q: Cruise control has not been working for a while.

Hi there. First check to see if the cruise control fuse is blown. Then check the brake light switch, the brake pressure switch, the speed sensor on the transmission, or the cruise control buttons. Most of the time the brake...

Q: Error code p1516 with check engine and reduced engine power unable to drive over 30mph car is revving up put no power

The code P1516 is is for the throttle position sensor. It looks like the car's computer is putting the engine in "failsafe mode" to prevent the car from being driven much further. A technician would need to examine the system...

Related articles

P0052 OBD-II Trouble Code: HO2S Heater Control Circuit High (Bank 2 Sensor 1)
P0052 code definition HO2S Heater Control Circuit High (Bank 2 Sensor 1) What the P0052 code means This code is seen when the Engine Control Module (ECM) tries to control the...
P2428 OBD-II Trouble Code: Exhaust Gas Temperature Too High Bank 1
P2428 code definition A P2428 trouble code signifies that the PCM has detected a problem in the exhaust gas temperature sensor circuit in bank 1, which subsequently contains the number one...
How Much Does a Mechanic Make in Vermont?
Automotive technician jobs in Vermont have an average mechanic salary of $37k, with some mechanics earning a salary of $53k.