Title: Batcache errors
Last modified: August 20, 2016

---

# Batcache errors

 *  [Joss Winn](https://wordpress.org/support/users/josswinn/)
 * (@josswinn)
 * [14 years ago](https://wordpress.org/support/topic/batcache-errors/)
 * I’ve just installed Batcache with APC and it’s working fine, except that the 
   apache logs are filling up with errors like this:
 *     ```
       [Mon May 28 16:45:59 2012] [error] [client 66.249.72.114] PHP Warning:  Cannot modify header information - headers already sent in /var/www/html/wp-content/advanced-cache.php on line 145
       [Mon May 28 16:45:59 2012] [error] [client 66.249.72.114] PHP Warning:  Cannot modify header information - headers already sent in /var/www/html/wp-content/advanced-cache.php on line 146
       ```
   
 * NewRelic (the monitoring tool we use) provides this report. I don’t know where
   to start, I’m afraid.
 * I’m running the development version of Batcache, v2.03 of [https://wordpress.org/extend/plugins/apc/](https://wordpress.org/extend/plugins/apc/)
   and WP 3.3.2
 * Here’s the stacktrace:
 *     ```
       Error: Cannot modify header information - headers already sent
   
       Sample stack trace
   
                       in header called at /var/www/html/wp-content/advanced-cache.php (145)
       in batcache::ob called at ? (?)
                     in ob_end_flush called at /var/www/html/wp-includes/functions.php (3335)
       in wp_ob_end_flush_all called at ? (?)
                in call_user_func_array called at /var/www/html/wp-includes/plugin.php (405)
                             in do_action called at /var/www/html/wp-includes/load.php (556)
       in shutdown_action_hook called at ? (?)
       ```
   
 * Thanks for any help.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Joss Winn](https://wordpress.org/support/users/josswinn/)
 * (@josswinn)
 * [14 years ago](https://wordpress.org/support/topic/batcache-errors/#post-2775918)
 * I think I know why this is now. I’m using mod_deflate with apache. Turning off
   cache-control for batcache has stopped the errors.

Viewing 1 replies (of 1 total)

The topic ‘Batcache errors’ is closed to new replies.

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [headers](https://wordpress.org/support/topic-tag/headers/)

 * 1 reply
 * 1 participant
 * Last reply from: [Joss Winn](https://wordpress.org/support/users/josswinn/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/batcache-errors/#post-2775918)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
