ob_flush(): failed to flush buffer. No buffer to flush

coffee

New Member
Jul 23, 2014
83
0
0
Anyone else notice an error like this? I had 1.5TB of logs racked up since yesterday of this in /core/logs/system/ on a file server. No issues with the main server though.

Code:
2014-10-14 00:00:00 - Array
(
    [Error Msg] => ob_flush(): failed to flush buffer. No buffer to flush
    [File] => /home/path/to/public_html/core/includes/coreFunctions.class.php
    [Line Number] => 402
    [Error Type] => E_NOTICE
This is v4 by the way.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
It's not a problem in the code, just when ob_flush() has been called but there's nothing to output. You'd be best tweaking the PHP settings to not log notices on live servers. We do our best to clear them all but there may still be some depending in PHP version, config etc.

http://www.cyberciti.biz/faq/php-stop-notice-variable-warnings-errorlogs/

and in the script admin, site settings, only log errors.