I have an error when I upload my website to the server:
Notice: ob_end_flush() [ref.outcontrol]:
failed to delete buffer zlib output compression in
/srv/disk4/simscreation/www/nameofwebsite.com/wp-includes/functions.php
on line 3747
I have an error when I upload my website to the server:
Notice: ob_end_flush() [ref.outcontrol]:
failed to delete buffer zlib output compression in
/srv/disk4/simscreation/www/nameofwebsite.com/wp-includes/functions.php
on line 3747
I found this track here but not sure why all of a sudden my server environment started exposing this problem, apparently it's been around for some time now.
The fix was to add this to the last line in my theme's functions.php:
//added to fix zlib bug - see: https://core.trac.wordpress.org/ticket/18525
remove_action( 'shutdown', 'wp_ob_end_flush_all', 1 );