• I’ve been debugging a warning that has been showing up a lot for a site:

    Cannot modify header information – headers already sent in /home/…/public_html/wp-content/advanced-cache.php

    I have tracked it down to hypercache trying to add a header to a wp-cron.php call. My workaround is to add the following towards the top of advanced-cache.php:

    if(isset($_SERVER[“SCRIPT_NAME”]) && $_SERVER[“SCRIPT_NAME”] == “/wp-cron.php”) {
    $cache_stop = true;
    return false;
    }

    Do you think this a good idea? If so, can it be added to the next version of hypercache?

  • The topic ‘Headers Already Output’ is closed to new replies.