Exception in rendering!

Message: window is not defined

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

Q: Automatic headlights not working

asked by on

The automatic headlights in my car don't work.

A: The automatic headlights require the sun se...

The automatic headlights require the sun sensor on the dash and rear view mirror to work correctly. The issue could also stem from a faulty automatic headlight switch module. I recommend having a mechanic, such as one from YourMechanic, run a diagnostic on your inoperable headlight issue, and quote the repairs needed.

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: Suspension Problems

Since your issue is more noticeable when you hit bumps or potholes, your problem may reside with the spring/strut assembly. It could be a worn or broken strut, worn strut mount, or even a broken spring. If you raise the...

Q: Small fluid leak in front after car is shut off and sits,temperature gauge rising.

You should have the cooling system pressure and leak checked to locate the leak in the cooling system and also check to see why your engine ran hotter than normal. This overheating inspection will locate the leak and then a...

Q: How do I use the flash-to-pass feature in a 2012 Hyundai Elantra?

The flash-to-pass feature can be used to get someone’s attention, or to let them know that you will be passing them. When you use the flash-to-pass feature, the high beam headlights will briefly flash on, and then turn off. To...

Related articles

How Do Power Car Windows Increase Passenger Safety?
Power windows are responsible for approximately 2,000 emergency room visits every year. When a power window closes, it exerts enough force to bruise or break bones, crush fingers, or restrict an airway. Though...
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 Avoid Back Pain in a Car
If you have back problems, sitting in a car for an extended period of time can be excruciating. Even without back problems, you could experience discomfort and soreness from...