Title: Plugin errors and functionality
Last modified: November 24, 2016

---

# Plugin errors and functionality

 *  [Cityproject](https://wordpress.org/support/users/nikpar/)
 * (@nikpar)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-errors-prevent-functionality/)
 * Hello,
    Installed your plugin and created a popup with mailchimp form. Everything
   worked great but at the page the popup apears, 2 errors are created, the following
   ones:
 * Notice: Undefined property: stdClass::$popup_target_first_time in /home/******/
   wp-content/plugins/popup-manager/popup-manager.php on line 2486
 * Notice: Undefined property: stdClass::$popup_disabled_mobile in /home/******/
   wp-content/plugins/popup-manager/popup-manager.php on line 2743
 * I think that the above errors prevent the popup from not-apearing again on a 
   page reload but i am not yet sure this is included in the plugins functionality.(
   If possible, point me to the right place to find the controls for hiding the 
   popup after the first apearance.)
 * How can this be fixed?
 * Thanks in advance,
    Nikos Paraskevopoulos

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

 *  Plugin Author [Madars](https://wordpress.org/support/users/cohhe/)
 * (@cohhe)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-errors-prevent-functionality/#post-8483401)
 * Hello,
 * have you set this option? [https://cl.ly/070J043R2U2n](https://cl.ly/070J043R2U2n)
 * We will fix the notices.
 * Regards,
    Madars
 *  Thread Starter [Cityproject](https://wordpress.org/support/users/nikpar/)
 * (@nikpar)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-errors-prevent-functionality/#post-8486001)
 * Hi Madars,
 * Thanks for the screenshot, had missed that one, is exactly what I need, will 
   grab it Monday morning.
 * Something else that happens is the update of a popup. When I edit any of them
   i get the message/error:
 * WordPress database error: [You have an error in your SQL syntax; check the manual
   that corresponds to your MySQL server version for the right syntax to use near’
   email-popup-preview modal-popup” style=”width: 600px; box-shadow: rgba(34, 34,
   3′ at line 1]
    UPDATE kf_popup_manager SET popup_html=”<div class=”email-popup-
   preview modal-popup” style=”width: 600px; box-shadow: rgba(34, 34, 34, 0.2) 0px
   0px 5px 0px; background: url(“[http://2016.musicaparaelalma.org/wp-content/uploads/2016/08/2016-07-pirovano-desta-1120×467.jpg&#8221](http://2016.musicaparaelalma.org/wp-content/uploads/2016/08/2016-07-pirovano-desta-1120×467.jpg&#8221);)
   no-repeat;”><div class=”email-popup-preview-inner”><style type=”text/css”>.email-
   popup-preview input:not([type=submit]) {border-radius: 0px;padding: 10px 12px;
   font-size: 15px;margin-bottom: 0;}.email-popup-main-form .form-inpu (code continues
   to complete the html)
 * Thiw results in not being able to save any changes after i first make a popup.
   I bypassed that by making new ones with the changes but afte the 3rd i now get
   the following when i first try to save:
 * Notice: Trying to get property of non-object in /home/*****/wp-content/plugins/
   popup-manager/popup-manager.php on line 727
 * Warning: Invalid argument supplied for foreach() in /home/*****/wp-content/plugins/
   popup-manager/popup-manager.php on line 727
 * Notice: Trying to get property of non-object in /home/*****/wp-content/plugins/
   popup-manager/popup-manager.php on line 748
 * Notice: Trying to get property of non-object in /home/*****/wp-content/plugins/
   popup-manager/popup-manager.php on line 749
 * Notice: Trying to get property of non-object in /home/*****/wp-content/plugins/
   popup-manager/popup-manager.php on line 750
 * Notice: Trying to get property of non-object in /home/*****/wp-content/plugins/
   popup-manager/popup-manager.php on line 751
 * Notice: Trying to get property of non-object in /home/*****/wp-content/plugins/
   popup-manager/popup-manager.php on line 752
 * Notice: Trying to get property of non-object in /home/*****/wp-content/plugins/
   popup-manager/popup-manager.php on line 753
 * Notice: Trying to get property of non-object in /home/*****/wp-content/plugins/
   popup-manager/popup-manager.php on line 754
 * Notice: Trying to get property of non-object in /home/*****/wp-content/plugins/
   popup-manager/popup-manager.php on line 755
 * Notice: Trying to get property of non-object in /home/*****/wp-content/plugins/
   popup-manager/popup-manager.php on line 762
 * And the new popup isnt working. These two might be related, not sure. The addon
   might fix this issue?
 * Best regards,
    Nikos Paraskevopoulos
 *  Plugin Author [Madars](https://wordpress.org/support/users/cohhe/)
 * (@cohhe)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-errors-prevent-functionality/#post-8514855)
 * Can you please contact me at [http://www.wppopupmanager.com/contact/](http://www.wppopupmanager.com/contact/)
   so we can take a closer look at it? Thanks!
 *  Plugin Author [Madars](https://wordpress.org/support/users/cohhe/)
 * (@cohhe)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-errors-prevent-functionality/#post-8542743)
 * Turns out the database issue was caused because of some not necessary code in
   the script which we now have removed and it should function well (v1.6.3).
 * Regards,
    Madars
 *  Thread Starter [Cityproject](https://wordpress.org/support/users/nikpar/)
 * (@nikpar)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-errors-prevent-functionality/#post-8542847)
 * Thank you very much, updated the plugin to 1.6.3 and it works great now!

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

The topic ‘Plugin errors and functionality’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/popup-manager_ead6b9.svg)
 * [Popup Manager](https://wordpress.org/plugins/popup-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-manager/reviews/)

## Tags

 * [Undefined property](https://wordpress.org/support/topic-tag/undefined-property/)

 * 5 replies
 * 2 participants
 * Last reply from: [Cityproject](https://wordpress.org/support/users/nikpar/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-errors-prevent-functionality/#post-8542847)
 * Status: not resolved