Support » Plugin: WP Socializer - Simple & Easy Social Media Share Icons » WP Socializer causes many Javascript errors

  • Resolved johannes3



    without WP Socializer i’ve no errors, but if the plugin is enabled most of other jscripts wont work anymore.


    Uncaught TypeError: Cannot read property 'msie' of undefined
    (anonymous function)
    (anonymous function)
    The "fb-root" div has not been created, auto-creating all.js:49
    FB.getLoginStatus() called before calling FB.init(). all.js:49
    Uncaught TypeError: Cannot read property 'msie' of undefined jquery.fancybox.js:18
    (anonymous function)jquery.fancybox.js:18
    (anonymous function)jquery.fancybox.js:46
    Uncaught TypeError: Cannot read property 'msie' of undefined responsive-scripts.js:6
    (anonymous function)responsive-scripts.js:6
    Uncaught TypeError: Object [object Object] has no method 'tinyNav' responsive-plugins.js:20
    (anonymous function)responsive-plugins.js:20
    Uncaught TypeError: Object [object Object] has no method 'fancybox' shashin.js:22
    (anonymous function)shashin.js:22

    jquery v. 1.9.0
    wp 3.5
    tested with WP Socializer javascript load on header and footer.

    thanks for any help

Viewing 12 replies - 1 through 12 (of 12 total)
  • If you are using the latest version of jQuery they changed somethings last night which showed the error: Uncaught TypeError: Cannot read property ‘msie’ of undefined on my site, and all the other scripts stopped working too.

    The plugin might be pulling the latest version, in which case change it to an older version of wordpress. Check the plugin homepage.

    i have same problem … of last night my site is crash because ‘WP Socializer’, i cant see half my page … when i deactive all is ok … 🙁

    Until the author updates the plugin you can edit wp-socializer.php, and replace line 1080 with:

    wp_register_script('jquery', (""), false, WPSR_VERSION);

    So it registers the previous version of jquery that works.

    And to the author: i’m concerned that the plugin has to re-register jquery. I suppose this was necesary when wordpress had an older version of jquery, but now it is not.

    or in wp-socializer.php go to line 1077 and comment out the jquery register stuff

    agreed, concerned

    if( !is_admin()){<br />
    	// jQuery<br />
    	//wp_deregister_script('jquery');<br />
    	//wp_register_script('jquery', (""), false, WPSR_VERSION);<br />
    	//wp_enqueue_script('jquery');<br />

    Thank you guys for posting a solution so quickly! Thanks to you my site is functioning again (after hours of trying to figure out what’s wrong)

    yeah. Thanks a lot guys!

    Same issue here!

    Nice patch!

    After freaking out (privately) about an unexpected change on my site, the great guys over at EventEspresso told me about the solution above which I hadn’t seen on my own. Easy to implement and the problem was fixed.

    Similar problem here – it was causing my slider and a collapsible widget to not work right. Thanks for help guys.
    Which sol’n above is best…changing line 1077 OR 1080?

    It seems they just updated the plug-in and fixed it.

    and after update my site is also broken but without jscript error.
    the plugin is gone from wordpress directory
    maybe its better.

    have anyone an alternative?

    Plugin Author vaakash


    @johnnes3 The issue is fixed in v2.4.7
    The plugin is back to normal and is working like a charm.

    Thank you.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘WP Socializer causes many Javascript errors’ is closed to new replies.