Home › Forums › Support › Notice: ob_end_flush(): failed to send buffer of zlib output compression (0)
- This topic has 15 replies, 2 voices, and was last updated 1 year, 6 months ago by
Tom.
-
AuthorPosts
-
June 28, 2019 at 1:21 pm #944189
ruxandra
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?June 28, 2019 at 1:24 pm #944193Tom
Lead DeveloperLead DeveloperHi 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?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 28, 2019 at 1:36 pm #944197ruxandra
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.June 28, 2019 at 1:44 pm #944199Tom
Lead DeveloperLead DeveloperWhat’s the server error message? Have you checked with Elementor support yet?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 28, 2019 at 2:02 pm #944212ruxandra
Oh, I’m sorry.It says “server error” on the WP dashboard.
June 28, 2019 at 2:07 pm #944216Tom
Lead DeveloperLead DeveloperCan 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.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 28, 2019 at 2:21 pm #944229ruxandra
I would’ve, but I don’t see how i can upload one here..
June 28, 2019 at 2:22 pm #944232Tom
Lead DeveloperLead DeveloperYou can use a service like this: https://postimages.org/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 28, 2019 at 2:34 pm #944242June 28, 2019 at 2:39 pm #944247Tom
Lead DeveloperLead DeveloperHave you reported it to Elementor yet? GP itself shouldn’t interfere with anything inside Elementor like this.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 28, 2019 at 4:26 pm #944278ruxandra
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.
June 28, 2019 at 5:39 pm #944303Tom
Lead DeveloperLead DeveloperSo 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?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 28, 2019 at 6:20 pm #944324ruxandra
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 124Warning: 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.June 29, 2019 at 8:09 am #944667Tom
Lead DeveloperLead DeveloperI 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/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 29, 2019 at 9:10 am #944718ruxandra
YES! Finally. I thought I added this already..THANK YOU Tom!!
-
AuthorPosts
- You must be logged in to reply to this topic.