Exception in rendering! Message: window is not defined ReferenceError: window is not defined at new c (/tmp/execjs20161208-103658-13z78mtjs:136:3912) at m.mountComponent (/tmp/execjs20161208-103658-13z78mtjs:47:15602) at /tmp/execjs20161208-103658-13z78mtjs:49:31860 at a.r.perform (/tmp/execjs20161208-103658-13z78mtjs:47:12503) at Object.a [as renderToString] (/tmp/execjs20161208-103658-13z78mtjs:49:31821) at r (/tmp/execjs20161208-103658-13z78mtjs:50:21164) at Object.S.ReactOnRails.serverRenderReactComponent (/tmp/execjs20161208-103658-13z78mtjs:32:6073) at eval (eval at <anonymous> (/tmp/execjs20161208-103658-13z78mtjs:173:8), <anonymous>:10:23) at eval (eval at <anonymous> (/tmp/execjs20161208-103658-13z78mtjs:173:8), <anonymous>:17:3) at /tmp/execjs20161208-103658-13z78mtjs:173:8
Hello. I was driving my 06 sonata and then it would not let me accelerate and would no longer drive. I turned it off and back on the it worked. The error code said it was a camshaft sensor so I replaced it and the check engine light was gone. I drove it the next morning and once I hit 70mph the check engine light came back on. What else could it be?
The P0340 problem code references a camshaft position sensor malfunction. The ability to restart the engine suggests it is failing versus has failed. There was an issue with this engine with the cam chain tensioner - which also affects cam timing, and could set a P0340. The Technical Service Bulletin is # 219296, and involves replacing the tensioner. I would consult your Hyundai Service Manager to discuss whether this tensioner replacement has been done on your car, and the possible impact of that problem component.
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%