Does anyone know what this is or how to fix it?
[18-Apr-2021 07:09:42 UTC] PHP Warning: ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression' in /home/roulettecalc/public_html/application/index.php on line 124 [18-Apr-2021 07:09:42 UTC] PHP Notice: ob_start(): failed to create buffer in /home/roulettecalc/public_html/application/index.php on line 124
Here is the segment of code it is referring to:
// Get Gzipping Option
if (file_exists(APPLICATION_PATH_SET . DS . 'cache.php')) {
$cache_array = include APPLICATION_PATH_SET . DS . 'cache.php';
if (isset($cache_array['frontend']['core']['gzip'])) {
if ($cache_array['frontend']['core']['gzip'] == true) {
if (!empty($_SERVER['HTTP_ACCEPT_ENCODING']) && substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) {
ob_start("ob_gzhandler");
} else {
ob_start();
}
}
}
}
Follow posting guidelines when posting code. I fixed yours rather than delete which is normal policy. The code tag button is to the right of the smiley button. It will create a popup to add your code.
I'm not sure about the error you show but please have the host check our requirements in case it is a conflict. https://www.socialengine.com/support/article/81788966/se-php-socialengine-requirements