Support » Plugins and Hacks » [Resolved] [Plugin: Affiliate Hoover] Error

[Resolved] [Plugin: Affiliate Hoover] Error

  • Warning: Cannot modify header information – headers already sent by (output started at /home/content/37/9009037/html/wordpress/wp-content/plugins/affiliate-hoover/home.php:77) in /home/content/37/9009037/html/wordpress/wp-includes/pluggable.php on line 881

    Checked code and other issues, such as beginning with <?php and end with <? as I have seen before, but this does not fix. Only happens with Affiliate Hoover activated. When I try to edit a post to add seo or title information or even post.

    Love the program, please help!


Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author AndyWalpole


    hmm, that’s interesting.

    At the bottom of the home.php is the following PHP function:


    Underneath that is a closing PHP bracket. Completely remove the closing bracket and make sure that there is no space underneath the ob_flush()

    Now try that.

    When does this error occur? What version of WordPress are you using?

    Anytime it tries to update any post, rather Affiliate Hoover created or not. I removed the closing tag and left no space and still get: Warning: Cannot modify header information – headers already sent by (output started at /home/content/37/9009037/html/wordpress/wp-content/plugins/affiliate-hoover/home.php:77) in /home/content/37/9009037/html/wordpress/wp-includes/pluggable.php on line 881

    I can deactivate the plugin after creating the posts and it will let me edit them, so that has been my workaround.

    Plugin Author AndyWalpole


    What about if you complete take out ob_start(); from the top of the home.php and ob_flush(); from the bottom?

    (I can’t replicate this error because it is not doing that on my server)

    So it is causing this error after you create posts and when you go to edit it in the usual admin edit posts area?

    Plugin Author AndyWalpole


    actually scrub that instead of ob_flush() at the end use ob_end_flush() if that doesn’t work try ob_end_clean();

    Plugin Author AndyWalpole


    in fact I’m almost certain this is the problem and I’ve put out a new version of the plugin

    Awesome! Working perfect! Thanks so much! Any possibility of adding in a drip feed so they could all post in a range of time? For example, 1 post from 3 different feeds every hour or something? I hate to bombard folks with posts. Thanks!

    Plugin Author AndyWalpole


    Maybe I’ll think about it

    Make sure you update to the latest versions because I left some stupid bugs in yesterdays release.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Affiliate Hoover] Error’ is closed to new replies.