Title: Script Error In IE
Last modified: August 21, 2016

---

# Script Error In IE

 *  Resolved [ibranded](https://wordpress.org/support/users/ibranded/)
 * (@ibranded)
 * [13 years ago](https://wordpress.org/support/topic/script-error-in-ie/)
 * I am building site for friend and using YouTube Gallery plugin. In IE I get nothing
   but the “loading bar”. There are two errors depending on whether or not I have
   another plugin activated (It is currently activated as I do not believe it is
   the conflict).
 *  + (1) ERROR with OTHER plugin ACTIVATED:
 * Webpage error details
 * User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .
   NET CLR
    2.0.50727; .NET4.0C; .NET4.0E; InfoPath.3; .NET CLR 3.0.4506.2152; .
   NET CLR 3.5.30729) Timestamp: Thu, 16 May 2013 07:52:10 UTC
 * Message: Script error
    Line: 0 Char: 0 Code: 0 URI: [http://js.acobot.com/f246ee17183f78a4b319ca651d044976.js](http://js.acobot.com/f246ee17183f78a4b319ca651d044976.js)
 * Message: ‘console’ is undefined
    Line: 2 Char: 33 Code: 0 URI: [http://b3b.ibrandedsolutions.com/wp-content/plugins/sliding-youtube-gallery/js/core/ui/loading/carousel.min.js.php?id=1&ver=1.4.0](http://b3b.ibrandedsolutions.com/wp-content/plugins/sliding-youtube-gallery/js/core/ui/loading/carousel.min.js.php?id=1&ver=1.4.0)
 *  + (2) ERROR with OTHER plugin NOT activated:
 * Webpage error details
 * User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .
   NET CLR
    2.0.50727; .NET4.0C; .NET4.0E; InfoPath.3; .NET CLR 3.0.4506.2152; .
   NET CLR 3.5.30729) Timestamp: Thu, 16 May 2013 07:56:23 UTC
 * Message: ‘console’ is undefined
    Line: 2 Char: 33 Code: 0 URI: [http://b3b.ibrandedsolutions.com/wp-content/plugins/sliding-youtube-gallery/js/core/ui/loading/carousel.min.js.php?id=1&ver=1.4.0](http://b3b.ibrandedsolutions.com/wp-content/plugins/sliding-youtube-gallery/js/core/ui/loading/carousel.min.js.php?id=1&ver=1.4.0)
 *  + (3) When I ran FIREBUG, I received this info:
 * jQuery(window).load(function($){console.log(‘carousel loading function >>
    start’);
   jQuery(‘#syg_video_carousel-1’).removeClass(‘syg_video_carousel_loading-1’).addClass(‘
   syg_video_carousel-1’);jQuery(‘#hidden-carousel-layer_1’).removeAttr(‘style’);
   jQuery(“#left-carousel-button-1”).on(‘mouseenter’,function(){jQuery(this).find(‘.
   left-carousel-button-1’).fadeTo(‘fast’,1);});jQuery(“#left-carousel-button-1”).
   on(‘mouseleave’,function(){jQuery(this).find(‘.left-carousel-button-1’).fadeTo(‘
   slow’,0.3);});jQuery(“#right-carousel-button-1”).on(‘mouseenter’,function(){jQuery(
   this).find(‘.right-carousel-button-1’).fadeTo(‘fast’,1);});jQuery(“#right-carousel-
   button-1”).on(‘mouseleave’,function(){jQuery(this).find(‘.right-carousel-button-
   1’).fadeTo(‘slow’,0.3);});if(jQuery.fn.sygclient(‘isMobileBrowser’,this)){jQuery.
   mobile.hidePageLoadingMsg();} console.log(‘carousel loading function >> end’);});
 *  + (4) I have been “cleaning” excess code out of theme to improve load performance
   and security. I believe I likely removed a key source of reference code but am
   not sure where or what. I am moderately capable with WP & PHP coding.
 *  + (5) I am using a Windows XP machine with IE 8 when I receive the error.
 *  + (6) I would appreciate any and all guidance as to how to resolve this issue
   which can be found on this page:
 * [http://Best3Bids.com](http://Best3Bids.com)
 * THANK YOU
 * [http://wordpress.org/extend/plugins/sliding-youtube-gallery/](http://wordpress.org/extend/plugins/sliding-youtube-gallery/)

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

 *  Plugin Contributor [webEng](https://wordpress.org/support/users/webeng/)
 * (@webeng)
 * [13 years ago](https://wordpress.org/support/topic/script-error-in-ie/#post-3753848)
 * Maybe this could solve the problem ‘console is undefined’
 * [http://stackoverflow.com/questions/3326650/console-is-undefined-error-for-internet-explorer](http://stackoverflow.com/questions/3326650/console-is-undefined-error-for-internet-explorer)
 * I will try to fix the code asap and release a new version.
 * Thank you, Luca
 *  Thread Starter [ibranded](https://wordpress.org/support/users/ibranded/)
 * (@ibranded)
 * [13 years ago](https://wordpress.org/support/topic/script-error-in-ie/#post-3753863)
 * Thanks. I put the below script mentioned on stack in the footer and it resolved
   issue:
 * <script type=”text/javascript”> if (!window.console) console = {log: function(){}};
   </script>
 *  Plugin Contributor [webEng](https://wordpress.org/support/users/webeng/)
 * (@webeng)
 * [13 years ago](https://wordpress.org/support/topic/script-error-in-ie/#post-3753865)
 * Yep, I’m happy about that. I’m going to fix the bug in the next version.
    Please
   rate the plugin if you like it.
 * Thank you, Luca

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

The topic ‘Script Error In IE’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sliding-youtube-gallery_484848.svg)
 * [Sliding Youtube Gallery](https://wordpress.org/plugins/sliding-youtube-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sliding-youtube-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sliding-youtube-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/sliding-youtube-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sliding-youtube-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sliding-youtube-gallery/reviews/)

## Tags

 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [ie](https://wordpress.org/support/topic-tag/ie/)
 * [java](https://wordpress.org/support/topic-tag/java/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [script](https://wordpress.org/support/topic-tag/script/)
 * [Youtube](https://wordpress.org/support/topic-tag/youtube/)

 * 3 replies
 * 2 participants
 * Last reply from: [webEng](https://wordpress.org/support/users/webeng/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/script-error-in-ie/#post-3753865)
 * Status: resolved