Exception in rendering!

Message: window is not defined

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

Q: While driving at night, headlights occasionally turn off, so using high beams which do work

asked by on

The headlights are occasionally turning off by themselves and won't come back on. It is happening more often now, so I'm very worried because this is extremely dangerous driving at night. So I turn on my high beams, which do work, but that's not courteous to oncoming traffic. What is causing this and how can it be fixed?

A: It sounds like there is a problem with the ...

It sounds like there is a problem with the headlamp circuit. At first, I was going to say that the headlights have a poor ground connection, but then, looking at the wiring diagram for your vehicle, I noticed the high and low beams have a common ground. So, since the high beams always work, that can't be the problem. My guess is that the multifunction switch has failed. This switch supplies a path to ground when the low beams are selected. Other possible problems include a short somewhere in the circuit or two internally shorted bulbs (which is not very likely). Electrical problems can be difficult to trace. Therefore, I recommend you have a professional, such as one from YourMechanic, inspect and repair your headlights.

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: Lights not working after radiator replacement

Hello! From what you describe, it sounds like when the radiator was replaced. A connector was disconnected for access and was not reconnected. A possible reason for the overheating is the cooling fan may go through the same harness and...

Q: Car is jerking, and Check Engine Light flashes

When the Check Engine Light is flashing, it is telling you that the engine has a problem that may be causing damage to your catalytic converter assembly. The most likely problem is an engine misfiring from an ignition problem, such...

Q: Vehicle stalling within minutes of starting

The vent solenoid could cause the car to stall if there is a buildup of fumes in the fuel lines; this is particularly likely if the computer is generating a code 1451, and the car is stalling. It is relatively...

Related articles

What Causes Hoses to Leak?
While the largest part of your engine is mechanical, hydraulics plays a significant role. You’ll find fluids at work in a number of different areas. Your car's fluids include: Engine oil Transmission...
How Long Does a Distributor O Ring Last?
The distributor is part of the ignition system in your vehicle and its purpose is to route high voltage from the ignition coil to the spark plug. The spark plug then...
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...