Why do I get an OB end flush error in WordPress?

Why do I get an OB end flush error in WordPress?

This happens when your WordPress theme or plugins use output buffering but don’t flush the output properly or, in some cases, when there is an issue with zlib compression of the buffer itself. The general recommendation I see for fixing the error is to remove the built-in wp_ob_end_flush_all () function from the shutdown action hook.

What’s the error at the bottom of my WordPress page?

On my WordPress 5.5 RC2 test bench, I get this error at the bottom of my page: Notice: ob_end_flush (): failed to send buffer of zlib output compression (0) in /home/oldrupdk/oldrup.net/wp-includes/functions.php on line 4669

How to fix OB _ end _ flush ( ) failed to send buffer?

– WordPress Development Stack Exchange How to fix ob_end_flush () failed to send buffer of zlib output compression (1)? I already disabled all plugins to see if there was a problem with one of them, but it continued anyway. There is another detail, when I click on any plugin, my admin panel remains blank with the error code in the footer

What to do when you get an OB end flush error?

The general recommendation I see for fixing the error is to remove the built-in wp_ob_end_flush_all () function from the shutdown action hook. This function exists for a reason, and you shouldn’t remove it just to avoid a PHP notice. Here’s a better way to go about solving your “failed to send buffer of zlib output compression” errors in WordPress.

Why does OB end flush return a Boolean?

PHP.net’s Manual documents the return of ob_end_flush () as a boolean, and mentions that it will report any failures as an E_NOTICE. They also mention that: Reasons for failure are first that you called the function without an active buffer or that for some reason a buffer could not be deleted (possible for special buffer).

Is there a problem with the WP reset plugin?

Only 1 of 9 plugins is showing in the “all” plugins area (Askimet Anti-Spam (it’s de-activated). Only 1 of 6 plugins is showing in the “active” plugins section (Envato Market). Have you tried to remove the WP Reset plugin and see if you still have this problem?