[wp-hackers] wpblogmail fails when mail contact plugins present

Sam Angove sam at rephrase.net
Mon Jun 26 05:34:09 GMT 2006


On 6/26/06, Scot Hacker <shacker at birdhouse.org> wrote:
> Any idea why these plugins
> are invoked at all in this situation? And is there a way to
> deactivate them while the script runs, or another way around this
> anyone can think of?

The Dagon plugin runs session_start() when it's loaded, which tries to
set a session cookie. It probably shouldn't, but there's nothing you
can do about it.

You get "headers already sent" warnings because you've echoed
something in your script before the other plugin tries to send the
cookie header.

Do you still get them if you don't 'echo $header;' until *after*
including wp-blog-header.php ?


More information about the wp-hackers mailing list