og
I'm developing a plugin which should, under some circumstances display a message to the user. Something like "msg()". At the time the plugin will output the information, the page has still not rendered and if e.g. msg() print something to the browser direclty, the session headers could not be sent and i see only a white page with my feedback information on it.
og
Uh, found my error! I used print_r() inside msg() without giving it the "true" param to return a string. Instead it write to STDOUT and kills the session.
Now i use "msg(print_r($arr,true),0);" and all works like expected. SORRY!