Title: stLight is undefined
Last modified: August 21, 2016

---

# stLight is undefined

 *  Resolved [edebe2](https://wordpress.org/support/users/edebe2/)
 * (@edebe2)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/stlight-is-undefined/)
 * Everything looked fine on modern browsers and ie 9, 10. But
    Plugin is throwing
   an error on windows xp in ie8 the stLight.options fail to load. fifty percent
   of my visitors use ie 8. Any idea what causes this and how to fix
 * [http://wordpress.org/extend/plugins/wp-socializer/](http://wordpress.org/extend/plugins/wp-socializer/)

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

 *  Plugin Author [vaakash](https://wordpress.org/support/users/vaakash/)
 * (@vaakash)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/stlight-is-undefined/#post-3719375)
 * Can you please give the site URL ??
 *  Thread Starter [edebe2](https://wordpress.org/support/users/edebe2/)
 * (@edebe2)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/stlight-is-undefined/#post-3719378)
 * the error also happens in ie 9 and 10 but everything displays ok. I am using 
   the plugin for a couple of sites that are in-progress. Both sites are not yet
   public. But I opened one up temporarily for you to see.
    [http://hsbd.org/](http://hsbd.org/)
   If you send me your ip – I will open the other site for you to view. Couple of
   things I noticed. I used shareThis buttons – the page never fully loads (ie8)
   and error message was displayed. I changed to using the AddThis on the another
   site and the page fully loads – works a little better. I only notice the error
   if I have my ie settings set to display every error.
 *  Plugin Author [vaakash](https://wordpress.org/support/users/vaakash/)
 * (@vaakash)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/stlight-is-undefined/#post-3719383)
 * Hello,
 * Seems like the problem is with the plugin.
 * Th version v.2.9 is currently on the way, I’ll add this fix to it. For now, please
   do the below change.
 * 1. Open wp-socializer/includes/wpsr-sharethis.php
    2. Replace line no 30 with
   the on below
 * `'<script type="text/javascript">window.onload = function(){ stLight.options({
   publisher:\'' . $wpsr_sharethis_pubkey . '\'});var st_type=\'wordpress\'; }</
   script>' .`
 * Thank you.
 *  Thread Starter [edebe2](https://wordpress.org/support/users/edebe2/)
 * (@edebe2)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/stlight-is-undefined/#post-3719388)
 * Great – thanks- I previously used the sociable plugin but was having too many
   issues. The WP Socializer seems to be much better.
 *  Plugin Author [vaakash](https://wordpress.org/support/users/vaakash/)
 * (@vaakash)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/stlight-is-undefined/#post-3719395)
 * Hello,
 * The version 2.4.9 is released with this bug fixed. Please update to it.
 * [http://www.aakashweb.com/wordpress-plugins/wp-socializer/](http://www.aakashweb.com/wordpress-plugins/wp-socializer/)
 * Thank you.

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

The topic ‘stLight is undefined’ is closed to new replies.

 * ![](https://ps.w.org/wp-socializer/assets/icon.svg?rev=1616975)
 * [WP Socializer - Simple & Easy Social Media Share Icons](https://wordpress.org/plugins/wp-socializer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-socializer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-socializer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-socializer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-socializer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-socializer/reviews/)

## Tags

 * ["js error"](https://wordpress.org/support/topic-tag/js-error/)

 * 5 replies
 * 2 participants
 * Last reply from: [vaakash](https://wordpress.org/support/users/vaakash/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/stlight-is-undefined/#post-3719395)
 * Status: resolved