Archived topic
Error bug message under footer
5 replies · Started by Carsten on January 2, 2020
Hi there, I'm seeing this bug error, under my footer
Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/domain/public_html/wp-includes/functions.php on line 4552
debugging is disabled
Here is the code its referring to:
/**
* Flush all output buffers for PHP 5.2.
*
* Make sure all output buffers are flushed before our singletons are destroyed.
*
* @since 2.2.0
*/
function wp_ob_end_flush_all() {
$levels = ob_get_level();
for ( $i = 0; $i < $levels; $i++ ) {
ob_end_flush();
}
}
site protection: buddydev
Hi there,
That's a function coming from WordPress itself:
https://developer.wordpress.org/reference/functions/wp_ob_end_flush_all/
Do you get the error with all plugins disabled?
If so what happens if you switch to a twenty series default theme?
Hi Leo, thanks for your help, I will look into this.
No problem :)
Strange why this issue suddenly appears, without any new plugins has been installed.
With all plugins deactivated there is still something wrong. You are right, it is not a theme issue, the same with TwentyTwenty.
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/domain/public_html/wp-includes/functions.php
I would report this to WordPress support.
Maybe they've heard the issue and have a solution already.