I have problem with activating my own written plugin. My plugin have code like this:
When I try to activate this plugin, wordpress give this error:
"The plugin generated 4 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 try to logout from wordpress, it gives another long list of warning that prevent me from logging out.
Any idea how to fix this? Not sure is my settings problem or wordpress issue, so far it it working for wordpress 2.9.