Title: [Plugin: JS Banner Rotate] script error
Last modified: August 20, 2016

---

# [Plugin: JS Banner Rotate] script error

 *  [jackieaz](https://wordpress.org/support/users/jackieaz/)
 * (@jackieaz)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-js-banner-rotate-script-error/)
 * I’m using IE 9 and seeing a script error that appears to be related to this plugin.
   The error is:
 * SCRIPT5007: Unable to get value of the property ‘getElementsByTagName’: object
   is null or undefined
    jsbrotate.js?ver=1.3, line 4 character 2
 * and it points to this line:
 * var allBanners = document.getElementById(“jsBanners”).getElementsByTagName(“span”);
 * Strangely, the error does not occur on the page WITH the rotate banner, but only
   on other pages on the site.
 * You can see it occur here, for example:
    [http://www.itracs.com/solutions/](http://www.itracs.com/solutions/)
 * I have version 1.3.3 of the plugin installed. Love the plugin btw, I only noticed
   this because I was trying to track down something else.
 * [http://wordpress.org/extend/plugins/js-banner-rotate/](http://wordpress.org/extend/plugins/js-banner-rotate/)

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

 *  Thread Starter [jackieaz](https://wordpress.org/support/users/jackieaz/)
 * (@jackieaz)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-js-banner-rotate-script-error/#post-2263786)
 * I’m calling the plugin with php on the home page, if that matters.
 *  Plugin Author [Eric Mann](https://wordpress.org/support/users/ericmann/)
 * (@ericmann)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-js-banner-rotate-script-error/#post-2263976)
 * This is expected, and a known issue that will be fixed in an upcoming version.
   IE in particular complains when you try to run `getElementById()` and the element
   you’re trying to select don’t exist. Other browsers just return either `null`
   or `undefined` and let you go on your merry way.
 * This error won’t actually affect the performance of your site but _will_ display
   an error message at the bottom of the page for users who have debugging turned
   on.
 * It will also be fixed in the next version.
 *  Thread Starter [jackieaz](https://wordpress.org/support/users/jackieaz/)
 * (@jackieaz)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-js-banner-rotate-script-error/#post-2263978)
 * Thanks!

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

The topic ‘[Plugin: JS Banner Rotate] script error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/js-banner-rotate_8389a9.svg)
 * [JS Banner Rotate](https://wordpress.org/plugins/js-banner-rotate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/js-banner-rotate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/js-banner-rotate/)
 * [Active Topics](https://wordpress.org/support/plugin/js-banner-rotate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/js-banner-rotate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/js-banner-rotate/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [jackieaz](https://wordpress.org/support/users/jackieaz/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-js-banner-rotate-script-error/#post-2263978)
 * Status: not resolved