Exception in rendering!

Message: window is not defined

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

Q: My code reader says I have a bad mass air flow sensor ans crank shat sensor test drive ran better shut off & engine Lt. Same code

asked by on

Car was shuttering at high speed, hesitating and died a few times had to feather gas pedal. Code reader says bad mass air flow sensor and crankshaft sensor replaced both and distributor cap that's where crank sensor was. Still code came back same thing took to mechanic said replace mass air flow sensor again. So I did and it seems to run very well no shudder or he station thought I had it fixed . Took it for a run wow way better out 10 miles as fast as it would go not bad. Stopped the car shut it off for 5 min turned on and check engine light on again code reader says mass air again don't understand runs way better wouldn't think I even have a problem exact for that light which I cleared the fault codes. Engine lite Only comes back on after you take it for a drive and shut the car off for a few minutes and restart light then stays on until you clear it. Any ideas???

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

A: Hi there. The problem you are describing, s...

Hi there. The problem you are describing, sounds like you may have a poor connection in the connector at the mass airflow sensor. Although, sometimes aftermarket parts do not perform as well as factory (OEM) parts. Check for corrosion and/or wide spacing in the terminal ends. Compare the terminal ends in the connector using a flashlight to see better. The terminals can be tightened. If you are not comfortable with doing that, a replacement pigtail (connector) is available. You vehicle may require further diagnosis performed with a scanner that provides parameters that can be viewed as the fault occurs. If that is the case, I recommend having your vehicle's electrical circuits inspected in order to pinpoint the underlying fault.

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: My car is not starting when the MAF sensor is plugged in - 1991 Nissan Serena

This may be a sign of a dirty or failing mass air flow sensor. The mass air flow sensor is a unit in the intake system that monitors air intake as it is mixed with fuel prior to being injected...

Q: Died driving won't start

Hi there. I usually start by checking the supply voltage to the distributor and to the coil. This would tell me if they are getting the necessary power to function. If they are, then you need to see if the...

Q: Rough idle, surging, and hesitation - 1998 Chevrolet Blazer

This may be related to the evaporative purge solenoid. The EVAP system prevents fuel vapors from the fuel tank from escaping into the atmosphere. The EVAP system collects and temporarily stores the fuel vapors in the charcoal canister. The charcoal...

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 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...
P2103 OBD-II Trouble Code: Throttle Actuator Control Motor Circuit High
P2103 means there is a fault with the throttle actuator control motor circuit, likely due to a defective electrical component or part.