ErrorException {#21493 #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; * @return void */ protected function redirect_to( $target ) { // This is a known redirect, possibly extenal // phpcs:ignore $redirect = wp_redirect( $target, $this->get_code(), 'redirection' ); if ( $redirect ) { /** @psalm-suppress InvalidGlobal */ global $wp_version; */ public function run() { $target = $this->get_target(); if ( $target !== null ) { $this->redirect_to( $target ); } } /** * Does this action need a target? if ( $action ) { $this->matched = $item; do_action( 'redirection_matched', $request->get_decoded_url(), $item, $redirects ); $action->run(); break; } } // We will only get here if there is no match (check $this->matched) or the action does not result in redirecting away // 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 );}/** * * If you wish to plug an action once WP is loaded, use the {@see 'wp_loaded'} hook below. * * @since 1.5.0 */do_action( 'init' );// Check site status.if ( is_multisite() ) { $file = ms_site_check(); if ( true !== $file ) { * This file is required in the root directory so WordPress can find it. * WP is hardcoded to look in its own directory or one directory up for wp-config.php. */require_once dirname(__DIR__) . '/vendor/autoload.php';require_once dirname(__DIR__) . '/config/application.php';require_once ABSPATH . 'wp-settings.php'; require_once ABSPATH . 'wp-config.php';} elseif ( @file_exists( dirname( ABSPATH ) . '/wp-config.php' ) && ! @file_exists( dirname( ABSPATH ) . '/wp-settings.php' ) ) { /** The config file resides one level above ABSPATH but is not part of another installation */ require_once dirname( ABSPATH ) . '/wp-config.php';} else { // A config file doesn't exist.if ( ! isset( $wp_did_header ) ) { $wp_did_header = true; // Load the WordPress library. require_once __DIR__ . '/wp-load.php'; // Set up the WordPress query. wp(); // Load the theme template.<?php/** * WordPress View Bootstrapper */define('WP_USE_THEMES', true);require __DIR__ . '/wp/wp-blog-header.php';|
ErrorException
|
|---|
ErrorException:
Cannot modify header information - headers already sent by (output started at /home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/app/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php:90)
at /home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/wp/wp-includes/pluggable.php:1435
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
(/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
at Roots\Acorn\Bootstrap\HandleExceptions->handleError()
at header()
(/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/wp/wp-includes/pluggable.php:1435)
at wp_redirect()
(/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/app/plugins/redirection/actions/url.php:16)
at Url_Action->redirect_to()
(/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/app/plugins/redirection/actions/url.php:39)
at Url_Action->run()
(/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/app/plugins/redirection/modules/wordpress.php:345)
at WordPress_Module->init()
(/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/wp/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/wp/wp-includes/class-wp-hook.php:348)
at WP_Hook->do_action()
(/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/wp/wp-includes/plugin.php:517)
at do_action()
(/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/wp/wp-settings.php:643)
at require_once('/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/wp/wp-settings.php')
(/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/wp-config.php:9)
at require_once('/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/wp-config.php')
(/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/wp/wp-load.php:55)
at require_once('/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/wp/wp-load.php')
(/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/wp/wp-blog-header.php:13)
at require('/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/wp/wp-blog-header.php')
(/home/kopdigitaaldev/domains/hbosafe.kopdigitaal-dev.nl/public_html/web/index.php:6)
|