WordPress.org

Forums

Easy FancyBox
[resolved] Errors Notices (10 posts)

  1. chriscatfr
    Member
    Posted 2 years ago #

    I always create my Themes with WP-DEBUG true in wp-config.php
    Which ensure that only proper code will be used in my PHP files.

    Sadly when I activate this plugin "easy-fancybox" my theme gets full of this kind of messages :
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301 - Undefined index: title

    Settings -> Media is simply unusable. There are tens of NOTICES errors.

    a proper way to code would be to replace the following line 301
    echo $args['title'];
    by
    echo ( isset($args['title']) ? $args['title'] : '' );

    or maybe you could initialise any var that you will use with an empty string.

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

  2. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, this has been discussed many times before. Could you install the development version from http://wordpress.org/extend/plugins/easy-fancybox/developers/ and tell me if there remain any of these notices? If so, please report the lines so I can weed them out :)

    Thanks!

  3. chriscatfr
    Member
    Posted 2 years ago #

    thank you.

    I installed the developers version. But surprisingly, even on the previous version I had a deal less numerous Notices today on /wp-admin/options-media.php

    After the update, here are some left:

    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:351 - Undefined index: id
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:83 - Undefined index: hide
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:81 - Undefined index: id
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:81 - Undefined index: default
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:82 - Undefined index: input
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:88 - Undefined index: input
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:102 - Undefined index: hide
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:179 - Undefined index: autoAttributeAlt
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:208 - Undefined index: id
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:208 - Undefined index: default
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:209 - Undefined index: input
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:210 - Undefined index: hide
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:211 - Undefined index: noquotes

    I could not let it go, so I installed your Developer version on an other website and turned on "WP-DEBUG", again all the Notices were back in Settings -> Media. Many are the same actually, but nonetheless showing many times:

    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 276
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 276
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 276
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271 Size
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 328
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 328
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 328
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 331
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 276
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 331
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 331
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 276

    Hope it will help. And thank you for your plug in

  4. chriscatfr
    Member
    Posted 2 years ago #

    I forgot the ones on the top :

    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351

    Sorry for the duplicates, but it let you see how annoying it was ;-)

  5. chriscatfr
    Member
    Posted 2 years ago #

    can't understand why they disappeared. but they are back... can't understand either why...

  6. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351

    This would indicate you are still using version 1.3.4.9 not 1.3.4.10devXXX

  7. chriscatfr
    Member
    Posted 2 years ago #

    You are right, here is with Version 1.3.4.10dev13

    There are no Notices on the website side any more.

    On the /wp-admin/ most are the same (125 lines of notices), but can't deal with it right now sorry, here they all are:

    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 293
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 293
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 319
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 330
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 330
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 293
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: default in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 341
    Notice: Undefined index: default in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 341
    Notice: Undefined index: default in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 341
    Notice: Undefined index: default in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 353
    Notice: Undefined index: default in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 353
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 345
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 357
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 293
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 364
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 364
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 364
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 303
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 310
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 357
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 303
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 310
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 293
  8. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks, I'll have a go...

  9. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    Just uploaded dev15 which should take care of the Undefined index notices. If you still see some occuring at some point, please let me know :)

  10. chriscatfr
    Member
    Posted 2 years ago #

    Thank you, I can't see the Notice messages any more.

    And thank you for your plugin, in first place.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic