Jump to content
  • 0

Getting "ob_flush(): failed to flush buffer" on cron


Question

Posted

Hello.

Any idea why I get the following notification on cron run:

[2017-11-25 20:20:01] general.NOTICE: E_NOTICE: ob_flush(): failed to flush buffer. No buffer to flush {"code":8,"message":"ob_flush(): failed to flush buffer. No buffer to flush","file":"/var/www/example.com/app/controllers/cron.php","line":3260} []

This may be related to CORE-2473 but that bug is marked as fixed.

Thank you.

6 answers to this question

Recommended Posts

  • 0
Posted

Hm...

In cron I have this:

*/5 * * * * /usr/bin/php /srv/http/portal.harubik.com/index.php cron > /dev/null

However once the cron task gets executed the following message is sent (just the snippet):

[2017-11-26 16:05:02] general.INFO: Created Invoice

Any idea why are general.INFO notifications (stdout) treated as errors?

Thank you.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...