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

  1. jpbacon
    Posted 4 years ago #


    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?


  2. Jeff Sterup
    Plugin Author

    Posted 4 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

  • Plugin Organizer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic