Site logo

Archived topic

Notice: ob_end_flush(): failed to send buffer of zlib output compression (0)

15 replies · Started by ruxandra on June 28, 2019

Viewing posts 1–15 of 16

Hello,
After I updated the theme to its latest version today, I am having issues with various plugins, Elementor and Amelia.
1) Every time I update an element like the popup, I get server error on my wordpress dashboard.
as well as this notice on my site:
Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/digit601/smoothdivision.com/wp-includes/functions.php on line 4339
I initially switched off the zlib output compression, but the issue didn't get resolved.
I deactivated all plugins, issue still present. How do I resolve this please?

https://smoothdivision/info.php

Hi there,

The theme (and GPP) don't use ob_end_flush() anywhere, so it's possible that code is in one of your plugins (or a custom function).

What's the server error you're getting? When exactly is it happening? What kind of element are you updating? A GPP Element?

Yes,
I updated the GP theme today.
I was making a popup in elementor. When I click on the update button, on the dashboard I get server error message.
On the other hand, I deactivated ALL plugin and the issue persisted, the notice persisted.

What's the server error message? Have you checked with Elementor support yet?

Oh, I'm sorry.It says "server error" on the WP dashboard.

Can you show me a screenshot?

You may want to report it to your hosting as well, as they'll be able to take a look at your error logs.

I would've, but I don't see how i can upload one here..

Have you reported it to Elementor yet? GP itself shouldn't interfere with anything inside Elementor like this.

I did. I just didn't understand why [Notice: ob_end_flush(): failed to send buffer of zlib output compression (0)] issue would still show after plugins deactivation, so i assumed it must be GP.

So that notice displays with all plugins turned off? What about GP Premium?

Are you using a child theme? If so, are there any custom functions in it?

The notice displayed with ALL plugins deactivated. I did not use a child theme. I just used elementor in top of GP.
I get two warnings about wp-rocket, then it goes away.
I don't know, but it either has to be GP theme update or ELementor. But I don't know why issues would persist if I deactivate all plugins.

This is what I get when I deactivated everything the second time:
Warning: include(/home/digit601/smoothdivision.com/wp-content/wp-rocket-config/smoothdivision.com.php): failed to open stream: No such file or directory in /home/digit601/smoothdivision.com/wp-content/plugins/wp-rocket/inc/classes/Buffer/class-config.php on line 124

Warning: include(): Failed opening '/home/digit601/smoothdivision.com/wp-content/wp-rocket-config/smoothdivision.com.php' for inclusion (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/digit601/smoothdivision.com/wp-content/plugins/wp-rocket/inc/classes/Buffer/class-config.php on line 124
Skip to content
Then it goes away.
I'm still waiting for the Elementor people to reply.
Thanks for your help.

I wonder if it's an error in WP Rocket which is persisting even with the plugin deactivated. It seems like a fairly common WordPress error:
https://wordpress.org/support/topic/error-ob_end_flush-failed-to-send-buffer-of-zlib-output-compression/
https://wordpress.org/support/topic/plugin-problem-and-ob_end_flush-error/
https://wordpress.org/support/topic/failed-to-send-buffer-or-zlib-output-compression/

Does the error go away if you add this code to your site?:

remove_action( 'shutdown', 'wp_ob_end_flush_all', 1 );

Adding PHP: https://docs.generatepress.com/article/adding-php/

YES! Finally. I thought I added this already..THANK YOU Tom!!

This archived topic is closed to new replies.