Exception in rendering!

Message: window is not defined

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

Q: Car is having starting and idle issues when its first started or it will shut off

asked by on

It will start after that but usually have a rough idle and then I have to keep my foot on the gas and the brake or it will stall so my question is any ideas of what it might be the pushing on the gas as I start it gets it to start

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

A: Hello there, many different faults will cau...

Hello there, many different faults will cause your 2000 Ford Focus to die after startup. The fact that the vehicle runs after it warms up tells us there is a fault in the cold start system or a fault that is only visible until the vehicle reaches operating temperature. The most common would be a vacuum leak, fuel pump, exhaust leak, oxygen sensor, spark plugs, wires, coil or a fuel injector. A qualified Technician such as one from YourMechanic will be able to diagnose your dies after starting and make any repairs required.

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: After being driven for 20 minutes and parked for 1 hour, the car won't idle after restarting. What is a possible cause of this?

If the vehicle drives fine when cold and starts showing issues after the engine warms up, there may be a problem with the idle air control system. Another possibility is a gasket that may seal fine when the car is...

Q: Check engine light on, error code P0300, P0302, P0171,

Hi there. Why are you going to replace the O2 sensor? Did testing reveal a problem with the sensor itself? It sounds like there could be an air leak concern or an airflow meter concern. Has anyone checked for cracked,...

Q: When turned to the "On" position, there is a clicking noise as if there's a dead battery.

Hello and thank you for contacting YourMechanic. Check the connections from the ignition switch to the starter. It seems to me like there is a short within the ignition switch making the starter engage when the ignition switch is selected...

Related articles

How Do Power Car Windows Increase Passenger Safety?
Power windows are responsible for approximately 2,000 emergency room visits every year. When a power window closes, it exerts enough force to bruise or break bones, crush fingers, or restrict an airway. Though...
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...
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...