WordPress.org

Ready to get started?Download WordPress

Forums

File Gallery
[resolved] File Gallery plug-in triggers a lot of notices when enabling WP_DEBUG (5 posts)

  1. Hubert Nguyen
    Member
    Posted 2 years ago #

    Hello,

    Thanks for coming up with this plug-in. I'm not sure if the authors have used WP_DEBUG=true recently, but it may be worth trying. A lot of notices are coming up in the admin UI of WordPress, and although it's not going to cause any bugs, it makes it a bit annoying to develop when the plug-in ON on a dev server.

    http://wordpress.org/extend/plugins/file-gallery/

  2. Aesqe
    Member
    Plugin Author

    Posted 2 years ago #

    @Hubert: I've installed a fresh testing copy of WP a few months ago and forgot to turn on debugging on it - sorry about the notices. There was one variable that wasn't initialized and somehow it messed up some constants definitions.

    I'll release an updated version of the plugin tomorrow.

  3. Hubert Nguyen
    Member
    Posted 2 years ago #

    Hi, no sweat - it happens to us all :) Thanks!

  4. aklouie
    Member
    Posted 2 years ago #

    Hi,
    Thanks for this plugin.
    Just letting you know, on a near vanilla install and with debug mode on, there are some warnings popping up:

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of do_action(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in/home/pathtosite/site.com/wp-content/plugins/file-gallery/includes/attachments.php on line 710

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of do_action(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in/home/pathtosite/site.com/wp-content/plugins/file-gallery/includes/attachments.php on line 761

  5. Aesqe
    Member
    Plugin Author

    Posted 2 years ago #

    @aklouie: thanks for the heads-up, it'll be fixed in v1.7.5 :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic