WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] Cannot modify header information - headers already sent by (4 posts)

  1. podictionary
    Member
    Posted 5 years ago #

    running WordPress 2.6.3 with WP Super Cache 0.8.4 "half on" mode

    when first appearing pages on the blog show warning message (below), refresh and the warning goes away, Super Cache off, goes away too.

    Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 0 in [my-webhost-directory]/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 87

    Warning: Cannot modify header information - headers already sent by (output started at [my-webhost-directory]/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:87) in [my-webhost-directory]/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 38 [followed by two appearances of ShareThis followed by the web page as it should look]

  2. Donncha O Caoimh
    Member
    Posted 5 years ago #

    That's the reject uri check. Do you have anything in that textarea in the admin page? Are you using some PHP accelerator?

    Don't show php warnings/errors and you won't see the error which is a temporary fix.

  3. iridiax
    Member
    Posted 5 years ago #

  4. podictionary
    Member
    Posted 5 years ago #

    Thanks donncha
    The URI check seemed to come with the following already there
    wp-.*.php
    index.php

    I added also
    ?s=

    IF I'm using a PHP accelerator I don't know about it.

    Sorry, I also don't know how not to show warnings (though I'd rather get the fix)

Topic Closed

This topic has been closed to new replies.

About this Topic