How to Solve Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in?

Answered

Hello, I’m facing this Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in – error in my WordPress theme. Anyone can please help me in solving this issue?

Default Asked on November 26, 2019 in PHP Coding,   Website Development.
Add Comment
2 Answer(s)
Best answer

Hello 9084maya, I have seen so many WordPress developers having this Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in –  issue. But, you will hardly find an accurate answer to this.

Fortunately, I have shared step by step method with images so you can fix this issue in just 1 minute… This issue can be resolved through the cPanel only

Step 1: Login into the cPanel of your domain.

Notice-ob_end_flush-failed to send buffer of zlib output compression-0-in-1Click on the RED highlighted text in your cPanel.

Step 2: From the drop-down in Next Page. Select the domain which is causing Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in – error.

Select the domain which is causing Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in - errorSelect the domain which is causing Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in - error

Step 3: Now, see the highlight RED box, the zlib.output_compression will be enabled there. DISABLE it.

Notice-ob_end_flush-failed to send buffer of zlib output compression-0-in-3Disable the zlib.output_compression Option.

And guess what? You are done.

Refresh your website and see the error must be gone forever 🙂

Professor Answered on November 26, 2019.

Many people facing this issue of ob_end_flush(): failed to send buffer of zlib output compression. But, thank you for sharing your valuable answer on this topic and we are sure this must be helping many users.

on October 16, 2020.
Add Comment

Was struggling with this ob_end_flush(): failed to send buffer of zlib output compression (0) error and accidentally found this post with the best answer on failed to send buffer of zlib output compression. Thanks to Anubhav sir for helping.

Default Answered on October 16, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.