ErrorException {#5521 #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; */ $fallback_url = apply_filters( 'wp_safe_redirect_fallback', admin_url(), $status ); $location = wp_validate_redirect( $location, $fallback_url ); return wp_redirect( $location, $status, $x_redirect_by ); }endif;if ( ! function_exists( 'wp_validate_redirect' ) ) : /** if ( $url ) { wp_safe_redirect( $url ); exit; } elseif ( 'yes' === get_option( 'woocommerce_cart_redirect_after_add' ) ) { wp_safe_redirect( wc_get_cart_url() ); 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 );}/** * * @link https://developer.wordpress.org/plugins/javascript/ajax * * @since 3.0.0 */do_action( 'wp_loaded' ); * 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/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/app/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Processor/OrderMetaTrait.php:29)
at /home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp/wp-includes/pluggable.php:1435
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
(/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/app/themes/ekstratheme/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
at Roots\Acorn\Bootstrap\HandleExceptions->handleError()
at header()
(/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp/wp-includes/pluggable.php:1435)
at wp_redirect()
(/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp/wp-includes/pluggable.php:1545)
at wp_safe_redirect()
(/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/app/plugins/woocommerce/includes/class-wc-form-handler.php:837)
at WC_Form_Handler::add_to_cart_action()
(/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp/wp-includes/class-wp-hook.php:348)
at WP_Hook->do_action()
(/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp/wp-includes/plugin.php:517)
at do_action()
(/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp/wp-settings.php:726)
at require_once('/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp/wp-settings.php')
(/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp-config.php:9)
at require_once('/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp-config.php')
(/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp/wp-load.php:55)
at require_once('/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp/wp-load.php')
(/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp/wp-blog-header.php:13)
at require('/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/wp/wp-blog-header.php')
(/home/ekstrasens-jluv0/ekstrasens.nuuk.fr/web/index.php:6)
|