Skip to content

If you want more information on IHS, please visit hostservices.net.

ob_end_flush(): Failed to send buffer of zlib output compression (1) (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

ob_end_flush(): Failed to send buffer of zlib output compression (1)

Exception

ErrorException

Show exception properties
ErrorException {#3499
  #severity: E_NOTICE
}
  1. * @since 2.2.0
  2. */
  3. function wp_ob_end_flush_all() {
  4. $levels = ob_get_level();
  5. for ( $i = 0; $i < $levels; $i++ ) {
  6. ob_end_flush();
  7. }
  8. }
  9. /**
  10. * Loads custom DB error or display WordPress DB error.
  1. * @throws \ErrorException
  2. */
  3. public function handleError($level, $message, $file = '', $line = 0, $context = [])
  4. {
  5. try {
  6. parent::handleError($level, $message, $file, $line, $context);
  7. } catch (Throwable $e) {
  8. if (! apply_filters('acorn/throw_error_exception', true, $e)) {
  9. return false;
  10. }
HandleExceptions->handleError()
  1. * @since 2.2.0
  2. */
  3. function wp_ob_end_flush_all() {
  4. $levels = ob_get_level();
  5. for ( $i = 0; $i < $levels; $i++ ) {
  6. ob_end_flush();
  7. }
  8. }
  9. /**
  10. * Loads custom DB error or display WordPress DB error.
  1. // Avoid the array_slice() if possible.
  2. if ( 0 === $the_['accepted_args'] ) {
  3. $value = call_user_func( $the_['function'] );
  4. } elseif ( $the_['accepted_args'] >= $num_args ) {
  5. $value = call_user_func_array( $the_['function'], $args );
  6. } else {
  7. $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
  8. }
  9. }
  10. } while ( false !== next( $this->iterations[ $nesting_level ] ) );
  1. *
  2. * @param array $args Parameters to pass to the callback functions.
  3. */
  4. public function do_action( $args ) {
  5. $this->doing_action = true;
  6. $this->apply_filters( '', $args );
  7. // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
  8. if ( ! $this->nesting_level ) {
  9. $this->doing_action = false;
  10. }
  1. } elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
  2. // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
  3. $arg[0] = $arg[0][0];
  4. }
  5. $wp_filter[ $hook_name ]->do_action( $arg );
  6. array_pop( $wp_current_filter );
  7. }
  8. /**
  1. /**
  2. * Fires just before PHP shuts down execution.
  3. *
  4. * @since 1.2.0
  5. */
  6. do_action( 'shutdown' );
  7. wp_cache_close();
  8. }
  9. /**
shutdown_action_hook()

Stack Trace

ErrorException
ErrorException:
ob_end_flush(): Failed to send buffer of zlib output compression (1)

  at /home/spamhostservices/web/wp/wp-includes/functions.php:5427
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
     (/home/spamhostservices/web/app/themes/spam-theme/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
  at Roots\Acorn\Bootstrap\HandleExceptions->handleError()
  at ob_end_flush()
     (/home/spamhostservices/web/wp/wp-includes/functions.php:5427)
  at wp_ob_end_flush_all()
     (/home/spamhostservices/web/wp/wp-includes/class-wp-hook.php:324)
  at WP_Hook->apply_filters()
     (/home/spamhostservices/web/wp/wp-includes/class-wp-hook.php:348)
  at WP_Hook->do_action()
     (/home/spamhostservices/web/wp/wp-includes/plugin.php:517)
  at do_action()
     (/home/spamhostservices/web/wp/wp-includes/load.php:1280)
  at shutdown_action_hook()