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.

  • 0
Posted
On 11/25/2017 at 3:54 PM, furioussnail said:

Yes, as I wrote, the issue is related to bug CORE-2473 but for some reason I still get the error.

The reason is that CORE-2473 is part of v4.2 which has not been released yet.

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...