Title: Javascript error (TypeError)
Last modified: September 12, 2019

---

# Javascript error (TypeError)

 *  Resolved [Paula](https://wordpress.org/support/users/pollensteyn/)
 * (@pollensteyn)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-typeerror/)
 * Hi there.
    After the latest update I see a javascript error whenever I click 
   the homepage from a landing page (not the other way round though), and only in
   Chrome (v76 Mac OS), both local development and live.
 * “TypeError: target_node.className.split is not a function
    at Object.ss_track(
   [https://www.pauladieterman.nl/wp-content/plugins/wp-slimstat/wp-slimstat.min.js:1:4622](https://www.pauladieterman.nl/wp-content/plugins/wp-slimstat/wp-slimstat.min.js:1:4622))
   at HTMLAnchorElement.<anonymous> ([https://www.pauladieterman.nl/wp-content/plugins/wp-slimstat/wp-slimstat.min.js:1:7824](https://www.pauladieterman.nl/wp-content/plugins/wp-slimstat/wp-slimstat.min.js:1:7824))”
 * On my local dev environment I tried the latest github version (4.8.7.1), no luck
   either.
 * Thanks
    P

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

 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-typeerror/#post-11926509)
 * Hi [@pollensteyn](https://wordpress.org/support/users/pollensteyn/)
 * thank you for pointing this out. I cannot reproduce the issue on my local sandbox.
   I will investigate and report back.
 * Best,
    Jason
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-typeerror/#post-11926542)
 * Hi [@pollensteyn](https://wordpress.org/support/users/pollensteyn/)
 * quick update: it seems to be related to your logo being an SVG element instead
   of a regular image. I’m going to amend the code to include this use case.
 * Best,
    Jason
 *  Thread Starter [Paula](https://wordpress.org/support/users/pollensteyn/)
 * (@pollensteyn)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-typeerror/#post-11926720)
 * Thanks for the quick response. Still puzzling though that only Chrome would produce
   this error.
 * Thanks again
    P
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-typeerror/#post-11926849)
 * Hi [@pollensteyn](https://wordpress.org/support/users/pollensteyn/)
 * Chrome has a slight different way of processing the document object model in 
   its Javascript engine. That would explain the difference.
 * Anyway, we just pushed version 4.8.7.2 to the repository, please update your 
   local environment and let me know if it solves this issue.
 * Best,
    Jason
 *  Thread Starter [Paula](https://wordpress.org/support/users/pollensteyn/)
 * (@pollensteyn)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-typeerror/#post-11926953)
 * Hi Jason
    I’ve updated to 4.8.7.2 and can confirm that the error is gone. Thanks!
 * All the best,
    Paula
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-typeerror/#post-11926971)
 * Terrific! Thank you for getting back to me right away!
 * Best,
    Jason

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

The topic ‘Javascript error (TypeError)’ is closed to new replies.

 * ![](https://ps.w.org/wp-slimstat/assets/icon.svg?rev=2832242)
 * [SlimStat Analytics](https://wordpress.org/plugins/wp-slimstat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-slimstat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-slimstat/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-slimstat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-slimstat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-slimstat/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-typeerror/#post-11926971)
 * Status: resolved