ErrorException {#12501 #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 ( true === $this->do_filter( 'redirection/add_query_string', true, $this->matched ) && Str::is_non_empty( $this->query_string ) ) { $this->redirect_to .= '?' . $this->query_string; } if ( wp_redirect( esc_url_raw( $this->redirect_to ), $header_code, $this->get_redirect_header() ) ) { // phpcs:ignore exit; } } /** * The Constructor. */ public function __construct() { $this->start(); $this->flow(); $this->redirect(); } /** * Set the required values. */ (bool) Param::get( 'elementor-preview' ) ) { return; } $redirector = new Redirector(); } /** * Add admin bar item. * // 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; } if ( ! isset( $wp_filter['all'] ) ) { $wp_current_filter[] = $hook_name; } $wp_filter[ $hook_name ]->do_action( $args ); array_pop( $wp_current_filter );}/** * * @since 2.1.0 * * @param WP $wp Current WordPress environment instance (passed by reference). */ do_action_ref_array( 'wp', array( &$this ) ); }} * @param string|array $query_vars Default WP_Query arguments. */function wp( $query_vars = '' ) { global $wp, $wp_query, $wp_the_query; $wp->main( $query_vars ); if ( ! isset( $wp_the_query ) ) { $wp_the_query = $wp_query; }} // Load the WordPress library. require_once __DIR__ . '/wp-load.php'; // Set up the WordPress query. wp(); // Load the theme template. require_once ABSPATH . WPINC . '/template-loader.php';}<?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/optiquecex/preprod/web/app/plugins/password-protected/freemius/includes/class-freemius.php:15893)
at /home/optiquecex/preprod/web/wp/wp-includes/pluggable.php:1435
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'Cannot modify header information - headers already sent by (output started at /home/optiquecex/preprod/web/app/plugins/password-protected/freemius/includes/class-freemius.php:15893)', '/home/optiquecex/preprod/web/wp/wp-includes/pluggable.php', 1435, array())
(/home/optiquecex/preprod/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
at Roots\Acorn\Bootstrap\HandleExceptions->handleError(2, 'Cannot modify header information - headers already sent by (output started at /home/optiquecex/preprod/web/app/plugins/password-protected/freemius/includes/class-freemius.php:15893)', '/home/optiquecex/preprod/web/wp/wp-includes/pluggable.php', 1435)
at header('X-Redirect-By: Rank Math')
(/home/optiquecex/preprod/web/wp/wp-includes/pluggable.php:1435)
at wp_redirect('https://www.optique-chevalier.com/boutique/', 301, 'Rank Math')
(/home/optiquecex/preprod/web/app/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php:142)
at RankMath\Redirections\Redirector->redirect()
(/home/optiquecex/preprod/web/app/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php:82)
at RankMath\Redirections\Redirector->__construct()
(/home/optiquecex/preprod/web/app/plugins/seo-by-rank-math/includes/modules/redirections/class-redirections.php:118)
at RankMath\Redirections\Redirections->do_redirection(object(WP))
(/home/optiquecex/preprod/web/wp/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters(null, array(object(WP)))
(/home/optiquecex/preprod/web/wp/wp-includes/class-wp-hook.php:348)
at WP_Hook->do_action(array(object(WP)))
(/home/optiquecex/preprod/web/wp/wp-includes/plugin.php:565)
at do_action_ref_array('wp', array(object(WP)))
(/home/optiquecex/preprod/web/wp/wp-includes/class-wp.php:830)
at WP->main('')
(/home/optiquecex/preprod/web/wp/wp-includes/functions.php:1336)
at wp()
(/home/optiquecex/preprod/web/wp/wp-blog-header.php:16)
at require('/home/optiquecex/preprod/web/wp/wp-blog-header.php')
(/home/optiquecex/preprod/web/index.php:6)
|