Title: Runtime error
Last modified: November 28, 2016

---

# Runtime error

 *  Resolved [Oliver Nielsen](https://wordpress.org/support/users/oliver-nielsen/)
 * (@oliver-nielsen)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/runtime-error-3/)
 * Hi
    Install your plugin, but I cannot open local-ga.js file in cache. wp-content/
   plugins/host-analyticsjs-local/cache/local-ga.js I get this error: jscript-runtime-
   error-code-800a1391-console-is-undefined
 * What to do?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [Oliver Nielsen](https://wordpress.org/support/users/oliver-nielsen/)
 * (@oliver-nielsen)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/runtime-error-3/#post-8493748)
 * Ok, local-ga.js works now, but it I cannot get it to work with W3TC. Still gets
   2 hours and 60 minuttes warnings
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/runtime-error-3/#post-8500897)
 * Check your htaccess file, probably the cache time for your js files is set to
   2 hours. If you can’t find it there, then check your W3TC settings. If these 
   are accurate, there must ve a permission issue on your server and W3TC can’t 
   write to the htaccess file.
    -  This reply was modified 9 years, 6 months ago by [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/).
 *  Thread Starter [Oliver Nielsen](https://wordpress.org/support/users/oliver-nielsen/)
 * (@oliver-nielsen)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/runtime-error-3/#post-8508457)
 * Hmmm, I already check this and W3TC writes to htaccess. Expires header A31536000
   for js files in Browser JS settings.
    I also have diffent expires google-analytics.
   js (2 hours) pagead2.googlesyndication/pagead/osd.js (60 minuts) s7.addthis.com/
   js/300/addthis_widget.js (10 minuts) m.addthisedge.com/…-507c6a8569bd453d/_ate.
   track.config_resp (60 seconds)
    -  This reply was modified 9 years, 6 months ago by [Oliver Nielsen](https://wordpress.org/support/users/oliver-nielsen/).
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/runtime-error-3/#post-8516270)
 * These are all externally loaded js files and are not related to CAOS. Please 
   check your other plugins or any other custom tracking code in your header and/
   or footer.
 * You probably have another Analytics plugin running, which is adding google-analytics.
   js from an external source. Same counts for the other files.
 *  Thread Starter [Oliver Nielsen](https://wordpress.org/support/users/oliver-nielsen/)
 * (@oliver-nielsen)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/runtime-error-3/#post-8521334)
 * Ok, thanks,
    yes I found the code both header and in theme. Codes removed now.
   However, the problem is still there because of the adsense ads. If I disable 
   google ads, problem solved, but I do not want to disable ads.
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/runtime-error-3/#post-8521518)
 * Jep, but unfortunately Google ads’ js files can’t be hosted locally. Furthermore,
   that’s not what CAOS is for. CAOS appears to working fine as expected. That’s
   why I’m marking this topic resolved. Enjoy!
 *  [viet0viet](https://wordpress.org/support/users/viet0viet/)
 * (@viet0viet)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/runtime-error-3/#post-8528905)
 * Hello Daan,
 * I have a question. Why doesn’t seositecheckup.com see the Google Ananlytics? 
   Do you have a solution for this problem?
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/runtime-error-3/#post-8537584)
 * That depends on the way they scrape the page for the script. If they’re running
   an exact match on the script advised by Google, it wouldn’t match on behalf of
   the url being different.
 * As long as Analytics is detecting your visitors, though, it’s nothing to worry
   about.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Runtime error’ is closed to new replies.

 * ![](https://ps.w.org/host-analyticsjs-local/assets/icon-256x256.png?rev=3307068)
 * [CAOS | Host Google Analytics Locally](https://wordpress.org/plugins/host-analyticsjs-local/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/host-analyticsjs-local/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/host-analyticsjs-local/)
 * [Active Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/host-analyticsjs-local/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/runtime-error-3/#post-8537584)
 * Status: resolved