example:
ob_end_flush(): failed to send buffer of zlib output compression (1)
To fix this, you can try putting this code in your "functions.php" file
/**
* Proper ob_end_flush() for all levels
*
* This replaces the WordPress `wp_ob_end_flush_all()` function
* with a replacement that doesn't cause PHP notices.
*/
remove_action( 'shutdown', 'wp_ob_end_flush_all', 1 );
add_action( 'shutdown', function() {
while ( @ob_end_flush() );
} );
You can also try placing this code into the "php.ini"
zlib.output_compression = Off
In the end, if that doesn't work you can just set wp-debug to OFF which turns off all PHP Errors (this can be found in your "config.php" file
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );