Title: PHP Notice
Last modified: August 22, 2016

---

# PHP Notice

 *  Resolved [thisisbbc](https://wordpress.org/support/users/thisisbbc/)
 * (@thisisbbc)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-notice-45/)
 * Hi,
    Just wanted to let you know we have a PHP Notice when using your plugin,
   doesn’t seems to prevent the plugin from working but it’s always nice to avoid
   these.
 *     ```
       Undefined index: popupscript
       Count : 1
       wp-content/plugins/modal-dialog/modal-dialog.php:654
       Call Stack :
       wp_footer()
       load_template('~/wp-content/themes/x/framework/views/global/_footer.php')
       locate_template()
       get_template_part('framework/views/global/_footer','')
       x_get_view()
       load_template('~/wp-content/themes/x/framework/views/integrity/wp-footer.php')
       locate_template()
       get_template_part('framework/views/integrity/wp','footer')
       x_get_view()
       load_template('~/wp-content/themes/x/footer.php')
       locate_template()
       get_footer()
       load_template('~/wp-content/themes/x/framework/views/integrity/woocommerce.php')
       locate_template()
       get_template_part('framework/views/integrity/woocommerce','')
       x_get_view()
       ```
   
 * [https://wordpress.org/plugins/modal-dialog/](https://wordpress.org/plugins/modal-dialog/)

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

 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-notice-45/#post-5800525)
 * As a quick fix, just go to the general configuration panel for Modal Dialog and
   save options. This should resolve the issue. I will look at doing better variable
   initialization in an upcoming update.
 *  Thread Starter [thisisbbc](https://wordpress.org/support/users/thisisbbc/)
 * (@thisisbbc)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-notice-45/#post-5800539)
 * Hi Yannick,
 * I followed your instruction but sadly it hasn’t patched the notice.
    We’ll wait
   for an update 🙂
 * PS : If you could consider allowing more than 1 modal window per page that would
   be fantastic!
 * Cheers,
    Bastien
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-notice-45/#post-5800637)
 * Please try upgrading to the new version I just published and confirm that the
   warning has disappeared.
 *  Thread Starter [thisisbbc](https://wordpress.org/support/users/thisisbbc/)
 * (@thisisbbc)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-notice-45/#post-5800702)
 * Hey Yan,
    The popupscript error is gone but a new one came up 🙂
 *     ```
       Notice
       Undefined index: dialogposition
       Count : 1
       Location : wp-content/plugins/modal-dialog/modal-dialog.php:654
       ```
   
 * Same Call Stacks
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-notice-45/#post-5800746)
 * Please try latest version now.
 *  Thread Starter [thisisbbc](https://wordpress.org/support/users/thisisbbc/)
 * (@thisisbbc)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-notice-45/#post-5800781)
 * Hi Yan!
 * No more notices! Hurray!
 * Thanks for the help 😉
 * Regards,
    Bastien
 *  Thread Starter [thisisbbc](https://wordpress.org/support/users/thisisbbc/)
 * (@thisisbbc)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-notice-45/#post-5800782)
 * *solved*

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

The topic ‘PHP Notice’ is closed to new replies.

 * ![](https://ps.w.org/modal-dialog/assets/icon-256x256.jpg?rev=971132)
 * [Modal Dialog](https://wordpress.org/plugins/modal-dialog/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/modal-dialog/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/modal-dialog/)
 * [Active Topics](https://wordpress.org/support/plugin/modal-dialog/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/modal-dialog/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/modal-dialog/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [thisisbbc](https://wordpress.org/support/users/thisisbbc/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/php-notice-45/#post-5800782)
 * Status: resolved