mtpultz
Member
Posted 4 months ago #
Why is this being printed out when I activate my plugin?
"The plugin generated 338 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."
http://pastebin.com/YhMLLUhi
Thanks
jonradio
Member
Posted 4 months ago #
Coincidentally, I ran into the same error message less than a month ago when developing a plugin of my own. This occurs whenever anything is echo'ed or otherwise output to "the screen" during Activation. In my case, I was trying to create an error message explaining why I couldn't activate the plugin.
I looked at your code, but couldn't see anything obvious. In your case, I'd be looking for a "logic error" in the php code that accidentally is executing code that outputs anything during Activation.
mtpultz
Member
Posted 4 months ago #
Thanks Adiant, I'll stub through my code and see if I can figure out where it is happening.
Thanks for the reply