PHP: Cannot modify header information — headers already sent

Автор: | 10/18/2012
 

Ещё одна ошибка PHP:

[Thu Oct 18 20:04:45 2012] [warn] [client 77.120.***.**] mod_fcgid: stderr: PHP Warning:  Cannot modify header information — headers already sent by (output started at /usr/local/www/users/***.php:1) in /usr/local/www/users/rtfm/rtfm.co.ua/wp-includes/class-wp-ajax-response.php on line 129

Проверяем конфигурацию PHP:

# cat php.ini | grep output_buffering
; a value for this directive (e.g., output_buffering=4096).
output_buffering = Off

Меняем параметр на On и перезагружаем Apache:

# apachectl restart