How Do I Debug a Plugin?
-
I’m trying to get my feet wet and learn how to create a WP plugin but I don’t see any way to get some basic debug info to show up. I’ve set define( ‘WP_DEBUG’, true ); in my wp-config.php file but all I see are messages like:
The plugin generated 309 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
when I activate my test plugin. How can I get more detail including things like the 309 characters Wp tells me it sees?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How Do I Debug a Plugin?’ is closed to new replies.