WordPress.org

Ready to get started?Download WordPress

Forums

Plugin Organizer
[resolved] Undefined index and Undefined variables when debugging (2 posts)

  1. jpbacon
    Member
    Posted 2 years ago #

    Hello!

    First of all... great plugin. It's hard to find something this unique and of genuine utility come along in WordPress.

    It was recommended to me that I should develop in debug mode (define('WP_DEBUG', true);). Having turned it on, however, plugin-organizer.php, PluginOrganizer.class.php, and all of the other files are throwing multiple undefined notices.

    I'm not very proficient with PHP, but is this just something I should go through and make conditional? i.e. if ( !empty()) or !isset(), etc? Is this an improvement that could be made in the original plugin?

    http://wordpress.org/extend/plugins/plugin-organizer/

  2. Jeff Sterup
    Member
    Plugin Author

    Posted 2 years ago #

    Undefined variable warnings are generally ignored because they are just that, warnings. You should never have that level of error catching turned on in production and undefined variables wont hurt anything.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic