Title: Receiving javascript error when using pop up
Last modified: November 26, 2018

---

# Receiving javascript error when using pop up

 *  Resolved [fbatiri](https://wordpress.org/support/users/fbatiri/)
 * (@fbatiri)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/receiving-javascript-error-when-using-pop-up/)
 * Hi,
    Plugin looks really great but I’m receiving a java script error when trying
   to use pop-up:
 *     ```
       Uncaught TypeError: Cannot read property 'messages' of undefined
           at (index):1003
       (anonymous) @ (index):1003
       2VM813:1 Uncaught SyntaxError: Unexpected end of JSON input
           at Function.parse [as parseJSON] (<anonymous>)
           at SGPBPopup.filterPopupLimitationCookie (PopupBuilder.js?ver=3.1.1:456)
           at SGPBPopup.getPopupShowLimitationCookie (PopupBuilder.js?ver=3.1.1:436)
           at SGPBPopup.isSatistfyForShowingLimitation (PopupBuilder.js?ver=3.1.1:423)
           at SGPBPopup.checkCurrentPopupType (PopupBuilder.js?ver=3.1.1:328)
           at SGPBPopup.prepareOpen (PopupBuilder.js?ver=3.1.1:312)
           at PopupBuilder.js?ver=3.1.1:2082
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Freceiving-javascript-error-when-using-pop-up%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Sygnoos Support](https://wordpress.org/support/users/sygnoossupport/)
 * (@sygnoossupport)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/receiving-javascript-error-when-using-pop-up/#post-10920147)
 * Dear [@fbatiri](https://wordpress.org/support/users/fbatiri/),
 * Could you, please, share a URL where we can see the issue live?
    If you’re not
   ok with sharing the URL here, you can contact our private support: [support@sygnoos.com](https://wordpress.org/support/topic/receiving-javascript-error-when-using-pop-up/support@sygnoos.com?output_format=md)
 *  Thread Starter [fbatiri](https://wordpress.org/support/users/fbatiri/)
 * (@fbatiri)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/receiving-javascript-error-when-using-pop-up/#post-11002303)
 * unfortunately site is down for major updates at the time. I’ll notify you as 
   soon as it is back on.
 *  [Sygnoos Support](https://wordpress.org/support/users/sygnoossupport/)
 * (@sygnoossupport)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/receiving-javascript-error-when-using-pop-up/#post-11002461)
 * Dear [@fbatiri](https://wordpress.org/support/users/fbatiri/),
 * We’ll be happy to help you! Let us know as the site is available.

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

The topic ‘Receiving javascript error when using pop up’ is closed to new replies.

 * ![](https://ps.w.org/popup-builder/assets/icon-128x128.gif?rev=2698840)
 * [Popup Builder - Create highly converting, mobile friendly marketing popups.](https://wordpress.org/plugins/popup-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-builder/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 3 replies
 * 2 participants
 * Last reply from: [Sygnoos Support](https://wordpress.org/support/users/sygnoossupport/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/receiving-javascript-error-when-using-pop-up/#post-11002461)
 * Status: resolved