Exception in rendering! Message: window is not defined ReferenceError: window is not defined at new c (/tmp/execjs20161208-99848-ypdbf3js:136:3912) at m.mountComponent (/tmp/execjs20161208-99848-ypdbf3js:47:15602) at /tmp/execjs20161208-99848-ypdbf3js:49:31860 at a.r.perform (/tmp/execjs20161208-99848-ypdbf3js:47:12503) at Object.a [as renderToString] (/tmp/execjs20161208-99848-ypdbf3js:49:31821) at r (/tmp/execjs20161208-99848-ypdbf3js:50:21164) at Object.S.ReactOnRails.serverRenderReactComponent (/tmp/execjs20161208-99848-ypdbf3js:32:6073) at eval (eval at <anonymous> (/tmp/execjs20161208-99848-ypdbf3js:173:8), <anonymous>:10:23) at eval (eval at <anonymous> (/tmp/execjs20161208-99848-ypdbf3js:173:8), <anonymous>:17:3) at /tmp/execjs20161208-99848-ypdbf3js:173:8
truck recently started idling really rough, stalling at times with exhaust popping sounds. i had to hold the gas pedal just to keep it from stalling. it would finally smooth out once it warmed up, only stalling or bogging down every now and then. it definitely has a hard time staying cranked when the engine it cold. a mechanic a few days ago replaced the EGR gasket and pressure sensor and cleaned out the ports and replaced the spark plugs and wires. he said it could be the air filter being dirty and possibly the MAF could be bad. i cleaned the air filter out and re-oiled it. still the same problem. just hoping to get a second opinion on if the MAF could be the culprit. thanks!
My car has 220000 miles.
My car has an automatic transmission.
The first thing to do is to get rid of the oil type air filter. This oil bath type filter can cause the mass air flow to be contaminated with the oil from the filter you are using. You should first try and change out the air filter with a factory paper type. Then clean out the mass air flow sensor using special mass air cleaner spray and let it dry completely and reinstall it. Road test vehicle to see if problem is corrected. If it is then scan the computer and clear the Check Engine Light. If codes to the mass airflow sensor return and vehicle runs bad still then replace the mass airflow sensor. Sometimes cleaning the oil that contaminated the sensor will fix the problem if the sensor was not shorted out or damaged by the oil from the air filter oil.
Have a car question? Get free advice from our top-rated mechanics.
Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Save up to 30%