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
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.
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.
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%