Exception in rendering! Message: window is not defined ReferenceError: window is not defined at new c (/tmp/execjs20161208-83728-h68xl2js:136:3912) at m.mountComponent (/tmp/execjs20161208-83728-h68xl2js:47:15602) at /tmp/execjs20161208-83728-h68xl2js:49:31860 at a.r.perform (/tmp/execjs20161208-83728-h68xl2js:47:12503) at Object.a [as renderToString] (/tmp/execjs20161208-83728-h68xl2js:49:31821) at r (/tmp/execjs20161208-83728-h68xl2js:50:21164) at Object.S.ReactOnRails.serverRenderReactComponent (/tmp/execjs20161208-83728-h68xl2js:32:6073) at eval (eval at <anonymous> (/tmp/execjs20161208-83728-h68xl2js:173:8), <anonymous>:10:23) at eval (eval at <anonymous> (/tmp/execjs20161208-83728-h68xl2js:173:8), <anonymous>:17:3) at /tmp/execjs20161208-83728-h68xl2js:173:8
My car’s headlight is having trouble intermittently. Many times I have replaced the bulb and also the switch. In my research online, I have noticed that this is a recurring problem among owners of my make/model. In the state where I live, if you only have one headlight on, you will get a ticket. This problem is intermittent so I never know when it will blink off. It seems to fail at 0mph or 60mph. This can be so dangerous at night and especially when it is raining, plus the constant worry of getting a ticket. Can you tell me if there is a permanent fix for this headlight?
An intermittent headlight issue is a common problem. The most likely cause are the headlight assembly itself, a wiring issue, or a faulty switch. Any of these have the potential to cause the headlight to intermittently fail. If the headlight assembly is cracked or shows signs of condensation, then the assembly is most likely the issue. A qualified technician, such as one from YourMechanic, will be able to diagnose the headlight fault and perform any repairs required.
Have a car question? Get free advice from our top-rated mechanics.
Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Save up to 30%