Title: Javascript Errors message &#8211; Opt-in form
Last modified: July 2, 2023

---

# Javascript Errors message – Opt-in form

 *  [dennie12](https://wordpress.org/support/users/dennie12/)
 * (@dennie12)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/javascript-errors-message-opt-in-form/)
 * Hi I want to show 3rd party digital Ads on my website and I installed an Ad Inserter
   plug-in today. I have added some Javascript code to the plug-in to create an 
   Ad before content (in a post -Ad size 336 x 280) but I am receiving Javascript
   Errors message. **I’m being told that the Opt-in form (on the same page) is causing
   the error – Error message is:**
 * placeholder.js?ver=1.3.1:47 Uncaught TypeError: Cannot read properties of null(
   reading ‘addEventListener’)
 * Cause by script from plugin optin forms: [https://www.afrowomanonline.com/wp-content/plugins/optin-forms/js/placeholder.js?ver=1.3.1](https://www.afrowomanonline.com/wp-content/plugins/optin-forms/js/placeholder.js?ver=1.3.1)
 * Can you please provide any advice on how to fix this error with the opt-in form?
 * Thanks in advance
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-errors-message-opt-in-form%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/javascript-errors-message-opt-in-form/#post-16877097)
 * Hi [@dennie12](https://wordpress.org/support/users/dennie12/)
 * Will release an update today that should fix that issue.
 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/javascript-errors-message-opt-in-form/#post-16878720)
 * Hi [@dennie12](https://wordpress.org/support/users/dennie12/)
 * The update is released, it’s version 1.3.2

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

The topic ‘Javascript Errors message – Opt-in form’ is closed to new replies.

 * ![](https://ps.w.org/optin-forms/assets/icon-256x256.png?rev=998391)
 * [Optin Forms - Simple List Building Plugin for WordPress](https://wordpress.org/plugins/optin-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/optin-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/optin-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/optin-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/optin-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/optin-forms/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [WPKube](https://wordpress.org/support/users/wpkube/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/javascript-errors-message-opt-in-form/#post-16878720)
 * Status: not resolved