Exception in rendering!

Message: window is not defined

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

Q: Engine light is on

asked by on

The engine light on our 2007 Mazda 3 came on. We purchased it thru a car dealer over a month ago. The code that appeared when the mechanic looked at it was/is P0126. The sensor was changed and the light stayed off for 2 days, but then came back on.

We took it back, being that it failed inspection and they drained and replaced the coolant. From there, the light stayed off for about a week and within that week, the car passed inspection.

The light is now back on, but the temp in the car has not changed and has been consistent since we purchased it and it is not running rough either.

Could the thermostat need to be changed? Again, a new sensor was put in after the coolant was replaced.

Any information that you can provide will be greatly appreciated!

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

A: Hello. Diagnostic Trouble Codes (DTC&#39;s)...

Hello. Diagnostic Trouble Codes (DTC's) do not necessarily identify faulty parts. For example, the Code you are inquiring about, namely, P0126 could set the Check Engine Light (CEL) simply because the coolant level in your car is too low. If the liquid level is too low, the sensor will not work properly. No faulty part is involved in that scenario. To condemn the sensor, the mechanic would have had to use a scan tool to read out the temperature that the sensor is reporting to the PCM (engine computer) and compare that reported temperature against a physical temperature measurement at the sensor base. If the two match, there is nothing wrong with the sensor.

So, there might not have even been anything wrong with the sensor unless that diagnostic was done. Of course, the foregoing is relevant because you are reporting that after sensor was replaced, the CEL came back on. A key point is when you take your car for repair and they tell you such and so code(s) were set, so we are going to replace "Part X", you should ask, "Did you actually test and diagnose that specific part?" "What other possible causes are associated with the DTC and did you consider those other possible causes before condemning Part X?" DTC's only give clues or indications as to where to look, but then a Mechanic has to separately diagnose or test each possible cause.

So, the sensor should have been tested and it probably wasn't. Draining coolant and refilling is not a recognized repair strategy to resolve Code P0126. If you paid money for that, you are due a refund excepting if you agreed to it as preventive maintenance. If the present Code is still P0126, what a Mechanic (from YourMechanic for instance) would do is read the engine operating temperature as reported by the sensor using a scan tool and then simply see if that is the actual (physically) measured temperature. If the sensor is working (presumably it is as it is new but one still has to check the wiring to the sensor.

It could be the PCM is getting a faulty signal due to a wiring problem but this would NOT apply if the ACTUAL measured temperature matches the scan tool reading), reports an out of range temperature AND the physically measured engine operating temperature is in fact too low, you probably have a faulty thermostat. But, even before the thermostat is condemned you still have to check and make sure that the engine cooling fans are not stuck on, thus running continuously, and overcooling the engine. Also, the coolant level has to be re-checked just in case you have a leak. A certified technician from YourMechanic would be happy to walk you through all of this and, in the end, give you a Check Engine Light diagnosis that will permanently resolve this issue for you. Thanks for your question and best wishes to you on this.

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: Air blows out of oil cap when car running

Hello. From my experience most motors will blow air from the oil filler cap due to the pressure generated in the crankcase from all of the moving components. If the air blowing out seems excessive, smells like fuel, or is...

Q: Car independently downshifts on startup

There seems to be a problem inside the transmission and the code that has turned on the Check Engine Light may point to it. Other vehicles having similar symptoms have had faulty torque converter clutch solenoids or line pressure solenoids....

Q: P1510 trouble code is showing up. Cleaned the idle control valve but it won't start.

The idle air control valve monitors the air intake as it is mixed with fuel prior to being injected into the engine. This valve is controlled by the vehicle's computer which will adjust idle speed based upon other measurements such...

Related articles

How to Renew Your Car Registration in Oklahoma(DELETED)
Having your car registered with the Oklahoma Tax Commission is an important part of driving legally in this state. You will need to do this within 30 days of moving to Oklahoma...
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...
How Much Does a Mechanic Make in Vermont?
Automotive technician jobs in Vermont have an average mechanic salary of $37k, with some mechanics earning a salary of $53k.