• Resolved Mike Schinkel

    (@mikeschinkel)


    When using WP_DEBUG the 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 381

    Using WP_DEBUG during 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.php file and then test your plugin with it:

    define( 'WP_DEBUG', true );

Viewing 16 replies (of 16 total)
Viewing 16 replies (of 16 total)

The topic ‘Errors when using WP_DEBUG’ is closed to new replies.