• Resolved thisisbbc

    (@thisisbbc)


    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://ww.wp.xz.cn/plugins/modal-dialog/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    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

    (@thisisbbc)

    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

    (@jackdewey)

    Please try upgrading to the new version I just published and confirm that the warning has disappeared.

    Thread Starter thisisbbc

    (@thisisbbc)

    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

    (@jackdewey)

    Please try latest version now.

    Thread Starter thisisbbc

    (@thisisbbc)

    Hi Yan!

    No more notices! Hurray!

    Thanks for the help 😉

    Regards,
    Bastien

    Thread Starter thisisbbc

    (@thisisbbc)

    *solved*

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

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