Jump to content
  • 0

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


furioussnail

Question

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.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...