Exception in rendering!

Message: window is not defined

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

Q: Headlight problem

asked by on

When I start the car both headlights come on. Upon driving about 30s-2 mins the passenger side headlight will go out. Don't know why I can turn the headlights off and back on. The headlight will come but the same thing happens over and over.

My car has 145000 miles.
My car has an automatic transmission.

A: Hi there, thanks for writing in. I&#39;d be...

Hi there, thanks for writing in. I'd be happy to help.

If it is only the one headlamp that is doing this, then that headlamp needs to be replaced. There is a ballast system in the headlamp that fails and causes this to occur. I typically check the connections first to make sure that they are clean and tight and if they are, then I replace the assembly. I also check the bulb first as that may be shorting internally. If you want to have this looked at, consider YourMechanic, as a certified mechanic can come to your home or office to inspect and diagnose this, and make any necessary repairs.

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: Engine losing power, gas pedal unresonsive

Hello there, a few common faults can cause these type of symptoms. The most common would be the vehicle going into limp mode, a fuel pump problem, bad spark plugs, faulty MAF sensor, a vacuum leak, or faulty oxygen sensor....

Q: Should I Replace My Headlight Bulbs With LED Bulbs

The best answer to this will depend on what your intentions are with respect to your lights. The standard headlights on vehicles come in many forms including halogen, Xenon HID, or LED (light emitting diode). There are different types of...

Q: Won't start

Hello. This is often times a sign of a faulty starter relay. This is a small unit near the starter that directs power from the battery to the starter allowing it to engage the flywheel. When this is faulty, it...

Related articles

How Long Does a Heater Control Valve Last?
Keeping the right amount of coolant in a car is essential in keeping the engine at the right temperature. Failing to have the right amount of coolant or even bad elements...
How to Renew Your Car Registration in Oklahoma(DELETED)
Having your car registered with the Oklahoma Tax Commission is an important part of driving legally in this state. You will need to do this within 30 days of moving to Oklahoma...
P0240 OBD-II Trouble Code: Turbocharger Boost Sensor B Circuit Range/Performance
P0240 code definition Turbocharger Boost Sensor B Circuit Range/Performance What the P0240 code means P0240 is an OBD-II generic code triggered when the Engine Control Module (ECM) detects the intake boost...