Mark Fisher
Mark Fisher

Reputation: 21

ob_end_flush() failed to delete and flush buffer

Our code is this:

//configs
ini_set('display_startup_errors',1);
ini_set('display_errors',1);
error_reporting(-1);
ini_set('max_execution_time', 0);
ini_set('output_buffering', 1);
ob_implicit_flush(true);
ob_end_flush();

This was programmed by a coder for us and it worked fine until a recent PHP upgrade. The notice we are getting now is:

Notice: ob_end_flush() failed to delete and flush buffer. No buffer to delete or flush in ...

Is there a better way to code this or a proper way? Thanks for any help!

Upvotes: 2

Views: 2734

Answers (0)

Related Questions