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

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
1 Answer(s)

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

Your Answer

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