ErrorException {#4113 #severity: E_WARNING }
* @param int $status Status code to use. * @param string $location The path to redirect to. */ $x_redirect_by = apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location ); if ( is_string( $x_redirect_by ) ) { header( "X-Redirect-By: $x_redirect_by" ); } header( "Location: $location", true, $status ); return true; * @throws \ErrorException */ public function handleError($level, $message, $file = '', $line = 0, $context = []) { try { parent::handleError($level, $message, $file, $line, $context); } catch (Throwable $e) { if (! apply_filters('acorn/throw_error_exception', true, $e)) { return false; } * @param int $status Status code to use. * @param string $location The path to redirect to. */ $x_redirect_by = apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location ); if ( is_string( $x_redirect_by ) ) { header( "X-Redirect-By: $x_redirect_by" ); } header( "Location: $location", true, $status ); return true; if ( ! empty( $redirect_to_url ) ) { $redirect_to = add_query_arg( 'redirect_to', urlencode( $redirect_to_url ), $redirect_to ); } nocache_headers(); wp_redirect( $redirect_to ); exit(); } } // Avoid the array_slice() if possible. if ( 0 === $the_['accepted_args'] ) { $value = call_user_func( $the_['function'] ); } elseif ( $the_['accepted_args'] >= $num_args ) { $value = call_user_func_array( $the_['function'], $args ); } else { $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) ); } } } while ( false !== next( $this->iterations[ $nesting_level ] ) ); * * @param array $args Parameters to pass to the callback functions. */ public function do_action( $args ) { $this->doing_action = true; $this->apply_filters( '', $args ); // If there are recursive calls to the current action, we haven't finished it until we get to the last one. if ( ! $this->nesting_level ) { $this->doing_action = false; } } elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) { // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`. $arg[0] = $arg[0][0]; } $wp_filter[ $hook_name ]->do_action( $arg ); array_pop( $wp_current_filter );}/** /** * Fires before determining which template to load. * * @since 1.5.0 */ do_action( 'template_redirect' );}/** * Filters whether to allow 'HEAD' requests to generate content. * // Set up the WordPress query. wp(); // Load the theme template. require_once ABSPATH . WPINC . '/template-loader.php';} * @var bool */define( 'WP_USE_THEMES', true );/** Loads the WordPress Environment and Template */require __DIR__ . '/wp-blog-header.php';|
ErrorException
|
|---|
ErrorException:
Cannot modify header information - headers already sent by (output started at /var/www/ibirapitanga.mandelbrot.com.br/wordpress/wp-content/themes/ibirapitanga/vendor/illuminate/collections/Collection.php:751)
at /var/www/ibirapitanga.mandelbrot.com.br/wordpress/wp-includes/pluggable.php:1435
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
(/var/www/ibirapitanga.mandelbrot.com.br/wordpress/wp-content/themes/ibirapitanga/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
at Roots\Acorn\Bootstrap\HandleExceptions->handleError()
at header()
(/var/www/ibirapitanga.mandelbrot.com.br/wordpress/wp-includes/pluggable.php:1435)
at wp_redirect()
(/var/www/ibirapitanga.mandelbrot.com.br/wordpress/wp-content/plugins/password-protected/password-protected.php:496)
at Password_Protected->maybe_show_login()
(/var/www/ibirapitanga.mandelbrot.com.br/wordpress/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/var/www/ibirapitanga.mandelbrot.com.br/wordpress/wp-includes/class-wp-hook.php:348)
at WP_Hook->do_action()
(/var/www/ibirapitanga.mandelbrot.com.br/wordpress/wp-includes/plugin.php:517)
at do_action()
(/var/www/ibirapitanga.mandelbrot.com.br/wordpress/wp-includes/template-loader.php:13)
at require_once('/var/www/ibirapitanga.mandelbrot.com.br/wordpress/wp-includes/template-loader.php')
(/var/www/ibirapitanga.mandelbrot.com.br/wordpress/wp-blog-header.php:19)
at require('/var/www/ibirapitanga.mandelbrot.com.br/wordpress/wp-blog-header.php')
(/var/www/ibirapitanga.mandelbrot.com.br/wordpress/index.php:17)
|