Title: Uncaught TypeError
Last modified: January 20, 2020

---

# Uncaught TypeError

 *  Resolved [tscandy64](https://wordpress.org/support/users/tscandy64/)
 * (@tscandy64)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/uncaught-typeerror-40/)
 * I love your plugin!
 * I’m getting this error though:
 * (index):105 Uncaught TypeError: Cannot set property ‘innerHTML’ of null
    at HTMLDocument.
   <anonymous> ((index):105) at i (jquery.js?ver=1.12.4-wp:2) at Object.fireWith[
   as resolveWith] (jquery.js?ver=1.12.4-wp:2) at Function.ready (jquery.js?ver=
   1.12.4-wp:2) at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
 * I’m a designer, not a skilled developer, so I’m not sure how to fix this. The
   banner isn’t currently showing unless I’m logged into the website.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-typeerror-40%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [rpetersen29](https://wordpress.org/support/users/rpetersen29/)
 * (@rpetersen29)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/uncaught-typeerror-40/#post-12349010)
 * So the way the banner is set created is via two javascript functions. If you 
   have a plugin that optimizes the javascript for your site then there’s a chance
   that those functions are run out of order. Unfortunately, other than disabled
   other plugins, there is not an easy way to fix the issue. However, i am working
   on a better way of placing the banner on the screen since there are a few other
   issues caused by this. I am planning on doing it this week so look out for an
   update.
 *  Thread Starter [tscandy64](https://wordpress.org/support/users/tscandy64/)
 * (@tscandy64)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/uncaught-typeerror-40/#post-12349386)
 * Thank you for your help! Look forward to future updates.
 *  Plugin Author [rpetersen29](https://wordpress.org/support/users/rpetersen29/)
 * (@rpetersen29)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/uncaught-typeerror-40/#post-12351459)
 * Hey [@tscandy64](https://wordpress.org/support/users/tscandy64/) I just updated
   the plugin and hopefully your error is eliminated. Let me know if anything works.

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

The topic ‘Uncaught TypeError’ is closed to new replies.

 * ![](https://ps.w.org/simple-banner/assets/icon-256x256.png?rev=1198700)
 * [Simple Banner - Easily add multiple Banners/Bars/Notifications/Announcements to the top or bottom of your website](https://wordpress.org/plugins/simple-banner/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-banner/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-banner/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-banner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-banner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-banner/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [rpetersen29](https://wordpress.org/support/users/rpetersen29/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/uncaught-typeerror-40/#post-12351459)
 * Status: resolved