WordPress attempts to flush the output buffers on shutdown. It fails because you have already called
You should be able to keep compression on, and simply unhook the flush action:
remove_action( 'shutdown', 'wp_ob_end_flush_all', 1 );
You can now call
ob_end_flush() manually, and keep zlib compression on.
Tags: ob end flush failed to send buffer of zlib output compression,failed to send buffer,output compression,how to fix wordpress fatal error,how to fix the 403 forbidden error in wordpress,wp zlib compression enabled,how to turn on compression in the cpanel,ob_end_flush(),send buffer of zlib,how to optimize your website using compression in the cpanel,cpanel compression,how to increse php max input vars in wordpress,optimizing your website using compression in cpanel