Exception in rendering!

Message: window is not defined

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

Q: Engine Computer Issues (spark plugs & coils were changed 5 months ago as well).

asked by on

About 6 months ago my eml/service & brake lights came on. The car started running rough & wouldn't go over 50mph. I had car towed to mechanic. After much investigation, the mechanic said the engine computer would need replaced. He didnt do this without much investigating. He is the local mechanic who does all imported cars in my city. He gets very high remarks from customers. He purchased a new computer from the BMW dealer. He did the programming and installed the unit. I got the car back and all was good. Last week, out of nowhere, when I started the car, the eml/service lights came on. The car was running rough again. This time the lights didn't always come on at startup. When not on, the car would run perfect. Car is back to mechanic. The codes he is getting are saying the eng. computer is a problem. He is still investigating because he doesn't understand how this happened. I am very confused too. Any ideas on what could be happening and what we should do? Help?

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

A: Do you have ANY aftermarket electrical equi...

Do you have ANY aftermarket electrical equipment in the car? Such components can impact the function of the PCM. Also, check the alternator output and stability. If the power supply to the PCM is not within specification, that could damage or alter normal function of the PCM. Check for defective, inadequate, or missing ground wires and terminals as well.

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: The car occasionally idles high until it stalls

It sounds like this is an intermittent issue. These are generally the hardest to diagnose because they are just infrequent enough to not trip the ECU into triggering a code, but they still have a fault somewhere. The most common...

Q: Abnormal oil loss

Blue smoke from the tailpipe, either at idle or under power, is an indication that the engine is consuming oil internally. Common causes for oil consumption are oil getting past the piston rings into the combustion chamber or oil leaking...

Q: RKE and TPMS problems

As strange as it seems, I'm positive this is a coincidence. The most likely cause of the remote key system only working part of the time is due to a low battery. The batteries in remote keys do not last...

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...
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...
P2428 OBD-II Trouble Code: Exhaust Gas Temperature Too High Bank 1
P2428 code definition A P2428 trouble code signifies that the PCM has detected a problem in the exhaust gas temperature sensor circuit in bank 1, which subsequently contains the number one...