I am making my first plugin for wordpress. It's not a big plugin but it has some files, it works with new tables in de database...
Well, from the begining when I activate my plugin I can see a message: "Plugin generates XXX of unexpected outputs. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin."
But my plugin was working well so I did't care about it and I keept on programming. Now I have 8439 unexpected outputs.
The problem came when I tried to create a new user. Then, this warning appeared:
"Warning: Cannot modify header information - headers already sent by (output started at C:\servidor\xampp\htdocs\labowordpress\wp-content\plugins\acrcard\acrcard.php:235) in C:\servidor\xampp\htdocs\labowordpress\wp-includes\pluggable.php on line 934"
And this warning appears when I create an article, an user, when I log out from the wordpress... anything I do out of my plugin. My plugin stills working well, without errors and without warnings.
The files of my plugin are written in UTF-8 format and I have seen something about this can be the problem, so I change the format to ANSI but this doesn't fix nothing.
There is something curious: If I delete a blank space inside mi PHP code (inside!, not before <?php or later than ?>), I have one unexpected output less.
I think is something about the format of my files or I don't know, buy I have spent hours reading forums and trying all kind of stupid and desesperated things... and i can not fix it.
Please, any ideas?
Thank you very mutch!
PD: Sorry about my english!!!