WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
[resolved] Notice: Undefined index (3 posts)

  1. webvitaly
    Member
    Posted 1 year ago #

    Plugin generates "Notice: Undefined index" when debug mode is turned on:

    Notice: Undefined index: id in D:\htdocs\site\wp-content\plugins\easy-fancybox\easy-fancybox.php on line 351

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. acmb3
    Member
    Posted 1 year ago #

    Not a huge deal, shouldn't hurt the function of the code but you can remove that error by doing this:

    CHANGE:
    if ($_value['id']) register_setting( 'media', $_value['id'] );

    To:
    if (isset($_value['id']) && $_value['id']) register_setting( 'media', $_value['id'] );

  3. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Or easier: upgrade to the latest development version from http://wordpress.org/extend/plugins/easy-fancybox/developers/ :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.