Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I made a custom plugin for my wordpress admin for view user detail. This plugin is working fine after showing this error but the main issue is by this plugin , when i try to open some link the page went blank. I dont know why and what is this error..Searched on internet but unable to resolve this issue. Your help would be appreciated...here is the fulll error comes when i activate this plugin...I

The plugin generated 751 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

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Your plugin is causing some errors, but not fatal ones, so plugin works, but as the error messages says, it can cause some problems, i.e. the feed that can output the plugin error so not valid xml content, or when somewhere in the code there is a redirect once "headers already sent" it fail.

If you are asking yourself why the plugin works despite that error, it's because not all errors are fatal (make script die), just as example see following code

if ( ! $number ) {
  $number = 1;
echo "My number is " . $number;

If you have a code like this in your plugin it will works, but it causes an error because in first line there is a variable that is not defined anywhere.

This is just an example, but there are a lot of situations like this where code works but causes errors.

When you develop a plugin, activate debug and error log and also I suggest to use some debug tools: some are really useful.

share|improve this answer
Thanks for help, actually it was a charecter tag problem, some charecter of my plugin page was outside of php tag, i fixed it....now everything fine. –  Dk-Macadamia Nov 12 '13 at 10:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.