Exception in rendering!

Message: window is not defined

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

Q: Vehicle started running rough while driving. Now running/idling rough running rich.

asked by on

I was driving the other day around 35mph and 2 miles from home, when it suddenly started running rough. Felt like a misfire but was not getting a check engine light. I drove it home. After letting run for a little while, it finally threw a check engine light and gave a P0172 error code. After a couple restarts and quick drive, it then also gave a P0152 code for upstream 02 sensor on passenger side. I replaced sensor with new sensor and vehicle still running rough and rich. Reset codes and after running, got the P0152 code and also now a P0158 code but no P0172. Also get black smoke when revving engine along with black soot on to my driveway. Reading up, it seems it could be leaking fuel injector, fuel pressure regulator, defective new O2 sensor, or something else?

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

A: Hello. From the symptoms you describe, it w...

Hello. From the symptoms you describe, it would appear that your vehicle is having issues with the oxygen sensors. P0172 is the code for bank 1 being too rich. This can be caused by a wide variety of issues. The other two codes are for the sensors on bank 2, having excessively high voltage.

This may be due to the rich condition, faulty oxygen sensors, or faulty wiring. The black smoke and soot is a result of excessive fuel that is not being properly burned, and exiting the tailpipe as smoke. A few common causes for these symptoms are a bad fuel pump, fuel pressure regulator, or engine management sensor. As engine management systems can sometimes be difficult to diagnose, I would recommend having the rough idling issue inspected by a professional technician.

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: Car idles and multiple trouble codes are triggered

Hi there. If this vehicle is having an idle concern, I have to ask if you may be having a stumble or stall issue when coming to a stop. If so, your vehicle may be covered under a special...

Q: Car stopped working - 2002 Dodge Stratus

Hello there, many faults will cause your 2002 Dodge Stratus to die while running and not restart. There two types of problems that will cause this, they are either electrical, or fuel-related. Common fuel problems are the fuel pump, fuel...

Q: My car will be starting perfect and when the gas tank gets lower it will start having problems .

Based on the information you gave, it sounds like a possible fuel starvation issue, caused by a partially blocked, in-tank fuel filter or a crack in the fuel pump housing. The remedy would be to replace the fuel pump assembly...

Related articles

What Causes Hoses to Leak?
While the largest part of your engine is mechanical, hydraulics plays a significant role. You’ll find fluids at work in a number of different areas. Your car's fluids include: Engine oil Transmission...
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...
P0240 OBD-II Trouble Code: Turbocharger Boost Sensor B Circuit Range/Performance
P0240 code definition Turbocharger Boost Sensor B Circuit Range/Performance What the P0240 code means P0240 is an OBD-II generic code triggered when the Engine Control Module (ECM) detects the intake boost...