Errors when using WP_DEBUG
-
When using
WP_DEBUGthe following errors are displayed in the admin plugins page:Notice: Undefined index: PO_group_view in /Users/mikeschinkel/Sites/example/public_html/wp-content/plugins/plugin-organizer/lib/PluginOrganizer.class.php on line 481 Notice: Undefined index: PO_group_view in /Users/mikeschinkel/Sites/example/public_html/wp-content/plugins/plugin-organizer/lib/PluginOrganizer.class.php on line 497 Notice: Undefined index: PO_group_view in /Users/mikeschinkel/Sites/example/public_html/wp-content/plugins/plugin-organizer/lib/PluginOrganizer.class.php on line 566 Notice: Undefined index: plugin_status in /Users/mikeschinkel/Sites/example/public_html/wp-content/plugins/plugin-organizer/lib/PluginOrganizer.class.php on line 398 Notice: Undefined offset: 0 in /Users/mikeschinkel/Sites/example/public_html/wp-content/plugins/plugin-organizer/lib/PluginOrganizer.class.php on line 381Using
WP_DEBUGduring plugin development is a best practice as you can see here:http://nacin.com/2010/04/23/5-ways-to-debug-wordpress/
Would love to see you add the following like to your development system’s
/wp-config.phpfile and then test your plugin with it:define( 'WP_DEBUG', true );
The topic ‘Errors when using WP_DEBUG’ is closed to new replies.