Exception in rendering!

Message: window is not defined

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

Q: After putting gas in, the car is hard to start. While running, it stalls if I take the gas cap off

asked by on

After putting gas in car it is hard to start. While running, I took the gas cap off and it stalled and quit and the check engine light came on. Have been told it could be MAF Sensor. This only happens after getting gas.

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

A: Hi, thanks for writing in. You may have a p...

Hi, thanks for writing in. You may have a purge control valve that is stuck open letting the fumes into the intake system even when vehicle is off. This will flood the engine with fumes when refueling the car and will allow too much air into intake if you take gas cap off. Check and replace the purge valve. If you are still experiencing issues, I recommend having one of our certified automotive technicians from YourMechanic come to your home or office to inspect, diagnose, and repair the issue.

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 engine starting time with a little bit of noise sounds like it came from crankcase. What's the best thing I can do to check?

Hi there. This sounds like a piston slap sound or a bearing sound. When the engine is cold, the piston skirt will be smaller than the cylinder bore and make the piston slap the cylinder wall until it get hot....

Q: Gurgling sound from behind the dash?

I really liked your idea of including the youtube link of the sound you are hearing. The sound is pretty subtle in the recording, but I think it is coming from the Mode Actuator or Temperature Actuator. Those components...

Q: Dash, Tail/brake, dome, trunk, glovebox, and door lights won't work, dash doing weird things.

Hi there. Sure would appear a lot is going on electrically all at once. This could be, a problem in the PDC (power distribution center). The PDC is typically located under the hood and contains numerous fuses and relays. I...

Related articles

Rules of the Road For Iowa Drivers
Driving on the roads requires knowledge of the rules, many of which are based on common sense and courtesy. However, even though you know the rules in...
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.