Exception in rendering! Message: window is not defined ReferenceError: window is not defined at new c (/tmp/execjs20161208-99848-1tq6np2js:136:3912) at m.mountComponent (/tmp/execjs20161208-99848-1tq6np2js:47:15602) at /tmp/execjs20161208-99848-1tq6np2js:49:31860 at a.r.perform (/tmp/execjs20161208-99848-1tq6np2js:47:12503) at Object.a [as renderToString] (/tmp/execjs20161208-99848-1tq6np2js:49:31821) at r (/tmp/execjs20161208-99848-1tq6np2js:50:21164) at Object.S.ReactOnRails.serverRenderReactComponent (/tmp/execjs20161208-99848-1tq6np2js:32:6073) at eval (eval at <anonymous> (/tmp/execjs20161208-99848-1tq6np2js:173:8), <anonymous>:10:23) at eval (eval at <anonymous> (/tmp/execjs20161208-99848-1tq6np2js:173:8), <anonymous>:17:3) at /tmp/execjs20161208-99848-1tq6np2js:173:8
When I drive over a bump, my headlights get brighter and then dimmer. Why does this happen?
Often headlights seem to get brighter or dimmer when there is a bad connection or a failing switch. Since a bad connection can be inside the light bulb itself, I always start by inspecting the bulbs first to see if the filament is broken. This often happens when the car goes over a particularly violent bump. A mechanic can replace the broken bulb with a new one. If the problem persists, the next step would be to have a mechanic perform an electrical system inspection, where the technician will look for a loose connection at the headlight plug connector, a loose or corroded ground connection or a failing headlight switch.
Some newer cars use high-intensity discharge (HID) bulbs that require a ballast to regulate the voltage going to the bulbs. A faulty ballast won’t provide enough voltage to your headlights, so this can also cause the headlights to flicker.
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%