Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-includes/pomo/plural-forms.php on line 210
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
Cannot modify header information - headers already sent by (output started at /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-includes/pomo/plural-forms.php:210) Whoops\Exception\ErrorException thrown with message "Cannot modify header information - headers already sent by (output started at /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-includes/pomo/plural-forms.php:210)" Stacktrace: #11 Whoops\Exception\ErrorException in /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-includes/rest-api/class-wp-rest-server.php:1248 #10 header in /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-includes/rest-api/class-wp-rest-server.php:1248 #9 WP_REST_Server:send_header in /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-includes/rest-api/class-wp-rest-server.php:220 #8 WP_REST_Server:serve_request in /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-includes/rest-api.php:266 #7 rest_api_loaded in /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-includes/class-wp-hook.php:286 #6 WP_Hook:apply_filters in /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-includes/class-wp-hook.php:310 #5 WP_Hook:do_action in /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-includes/plugin.php:515 #4 do_action_ref_array in /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-includes/class-wp.php:373 #3 WP:parse_request in /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-includes/class-wp.php:713 #2 WP:main in /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-includes/functions.php:960 #1 wp in /home/lantoki/www/fr/mespiedsdetable/htdocs/cms/wp-blog-header.php:16 #0 require in /home/lantoki/www/fr/mespiedsdetable/htdocs/index.php:11
Stack frames (12)
11
Whoops
\
Exception
\
ErrorException
/
htdocs
/
cms
/
wp-includes
/
rest-api
/
class-wp-rest-server.php
1248
10
header
/
htdocs
/
cms
/
wp-includes
/
rest-api
/
class-wp-rest-server.php
1248
9
WP_REST_Server
send_header
/
htdocs
/
cms
/
wp-includes
/
rest-api
/
class-wp-rest-server.php
220
8
WP_REST_Server
serve_request
/
htdocs
/
cms
/
wp-includes
/
rest-api.php
266
7
rest_api_loaded
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
286
6
WP_Hook
apply_filters
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
310
5
WP_Hook
do_action
/
htdocs
/
cms
/
wp-includes
/
plugin.php
515
4
do_action_ref_array
/
htdocs
/
cms
/
wp-includes
/
class-wp.php
373
3
WP
parse_request
/
htdocs
/
cms
/
wp-includes
/
class-wp.php
713
2
WP
main
/
htdocs
/
cms
/
wp-includes
/
functions.php
960
1
wp
/
htdocs
/
cms
/
wp-blog-header.php
16
0
require
/
htdocs
/
index.php
11
/
home
/
lantoki
/
www
/
fr
/
mespiedsdetable
/
htdocs
/
cms
/
wp-includes
/
rest-api
/
class-wp-rest-server.php
    }
 
    /**
     * Sends an HTTP header.
     *
     * @since 4.4.0
     *
     * @param string $key Header key.
     * @param string $value Header value.
     */
    public function send_header( $key, $value ) {
        /*
         * Sanitize as per RFC2616 (Section 4.2):
         *
         * Any LWS that occurs between field-content MAY be replaced with a
         * single SP before interpreting the field value or forwarding the
         * message downstream.
         */
        $value = preg_replace( '/\s+/', ' ', $value );
        header( sprintf( '%s: %s', $key, $value ) );
    }
 
    /**
     * Sends multiple HTTP headers.
     *
     * @since 4.4.0
     *
     * @param array $headers Map of header name to header value.
     */
    public function send_headers( $headers ) {
        foreach ( $headers as $key => $value ) {
            $this->send_header( $key, $value );
        }
    }
 
    /**
     * Removes an HTTP header from the current response.
     *
     * @since 4.8.0
     *
/
home
/
lantoki
/
www
/
fr
/
mespiedsdetable
/
htdocs
/
cms
/
wp-includes
/
rest-api
/
class-wp-rest-server.php
    }
 
    /**
     * Sends an HTTP header.
     *
     * @since 4.4.0
     *
     * @param string $key Header key.
     * @param string $value Header value.
     */
    public function send_header( $key, $value ) {
        /*
         * Sanitize as per RFC2616 (Section 4.2):
         *
         * Any LWS that occurs between field-content MAY be replaced with a
         * single SP before interpreting the field value or forwarding the
         * message downstream.
         */
        $value = preg_replace( '/\s+/', ' ', $value );
        header( sprintf( '%s: %s', $key, $value ) );
    }
 
    /**
     * Sends multiple HTTP headers.
     *
     * @since 4.4.0
     *
     * @param array $headers Map of header name to header value.
     */
    public function send_headers( $headers ) {
        foreach ( $headers as $key => $value ) {
            $this->send_header( $key, $value );
        }
    }
 
    /**
     * Removes an HTTP header from the current response.
     *
     * @since 4.8.0
     *
/
home
/
lantoki
/
www
/
fr
/
mespiedsdetable
/
htdocs
/
cms
/
wp-includes
/
rest-api
/
class-wp-rest-server.php
        return wp_json_encode( $error );
    }
 
    /**
     * Handles serving an API request.
     *
     * Matches the current server URI to a route and runs the first matching
     * callback then outputs a JSON representation of the returned value.
     *
     * @since 4.4.0
     *
     * @see WP_REST_Server::dispatch()
     *
     * @param string $path Optional. The request route. If not set, `$_SERVER['PATH_INFO']` will be used.
     *                     Default null.
     * @return false|null Null if not served and a HEAD request, false otherwise.
     */
    public function serve_request( $path = null ) {
        $content_type = isset( $_GET['_jsonp'] ) ? 'application/javascript' : 'application/json';
        $this->send_header( 'Content-Type', $content_type . '; charset=' . get_option( 'blog_charset' ) );
        $this->send_header( 'X-Robots-Tag', 'noindex' );
 
        $api_root = get_rest_url();
        if ( ! empty( $api_root ) ) {
            $this->send_header( 'Link', '<' . esc_url_raw( $api_root ) . '>; rel="https://api.w.org/"' );
        }
 
        /*
         * Mitigate possible JSONP Flash attacks.
         *
         * https://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/
         */
        $this->send_header( 'X-Content-Type-Options', 'nosniff' );
        $this->send_header( 'Access-Control-Expose-Headers', 'X-WP-Total, X-WP-TotalPages' );
        $this->send_header( 'Access-Control-Allow-Headers', 'Authorization, Content-Type' );
 
        /**
         * Send nocache headers on authenticated requests.
         *
         * @since 4.4.0
/
home
/
lantoki
/
www
/
fr
/
mespiedsdetable
/
htdocs
/
cms
/
wp-includes
/
rest-api.php
        return;
    }
 
    /**
     * Whether this is a REST Request.
     *
     * @since 4.4.0
     * @var bool
     */
    define( 'REST_REQUEST', true );
 
    // Initialize the server.
    $server = rest_get_server();
 
    // Fire off the request.
    $route = untrailingslashit( $GLOBALS['wp']->query_vars['rest_route'] );
    if ( empty( $route ) ) {
        $route = '/';
    }
    $server->serve_request( $route );
 
    // We're done.
    die();
}
 
/**
 * Retrieves the URL prefix for any API resource.
 *
 * @since 4.4.0
 *
 * @return string Prefix.
 */
function rest_get_url_prefix() {
    /**
     * Filters the REST URL prefix.
     *
     * @since 4.4.0
     *
     * @param string $prefix URL prefix. Default 'wp-json'.
     */
/
home
/
lantoki
/
www
/
fr
/
mespiedsdetable
/
htdocs
/
cms
/
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.
/
home
/
lantoki
/
www
/
fr
/
mespiedsdetable
/
htdocs
/
cms
/
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 ] );
/
home
/
lantoki
/
www
/
fr
/
mespiedsdetable
/
htdocs
/
cms
/
wp-includes
/
plugin.php
    else
        ++$wp_actions[$tag];
 
    // Do 'all' actions first
    if ( isset($wp_filter['all']) ) {
        $wp_current_filter[] = $tag;
        $all_args = func_get_args();
        _wp_call_all_hook($all_args);
    }
 
    if ( !isset($wp_filter[$tag]) ) {
        if ( isset($wp_filter['all']) )
            array_pop($wp_current_filter);
        return;
    }
 
    if ( !isset($wp_filter['all']) )
        $wp_current_filter[] = $tag;
 
    $wp_filter[ $tag ]->do_action( $args );
 
    array_pop($wp_current_filter);
}
 
/**
 * Check if any action has been registered for a hook.
 *
 * @since 2.5.0
 *
 * @see has_filter() has_action() is an alias of has_filter().
 *
 * @param string        $tag               The name of the action hook.
 * @param callable|bool $function_to_check Optional. The callback to check for. Default false.
 * @return bool|int If $function_to_check is omitted, returns boolean for whether the hook has
 *                  anything registered. When checking a specific function, the priority of that
 *                  hook is returned, or false if the function is not attached. When using the
 *                  $function_to_check argument, this function may return a non-boolean value
 *                  that evaluates to false (e.g.) 0, so use the === operator for testing the
 *                  return value.
 */
/
home
/
lantoki
/
www
/
fr
/
mespiedsdetable
/
htdocs
/
cms
/
wp-includes
/
class-wp.php
        if ( isset($error) )
            $this->query_vars['error'] = $error;
 
        /**
         * Filters the array of parsed query variables.
         *
         * @since 2.1.0
         *
         * @param array $query_vars The array of requested query variables.
         */
        $this->query_vars = apply_filters( 'request', $this->query_vars );
 
        /**
         * Fires once all query variables for the current request have been parsed.
         *
         * @since 2.1.0
         *
         * @param WP $this Current WordPress environment instance (passed by reference).
         */
        do_action_ref_array( 'parse_request', array( &$this ) );
    }
 
    /**
     * Sends additional HTTP headers for caching, content type, etc.
     *
     * Sets the Content-Type header. Sets the 'error' status (if passed) and optionally exits.
     * If showing a feed, it will also send Last-Modified, ETag, and 304 status if needed.
     *
     * @since 2.0.0
     * @since 4.4.0 `X-Pingback` header is added conditionally after posts have been queried in handle_404().
     */
    public function send_headers() {
        $headers = array();
        $status = null;
        $exit_required = false;
 
        if ( is_user_logged_in() )
            $headers = array_merge($headers, wp_get_nocache_headers());
        if ( ! empty( $this->query_vars['error'] ) ) {
            $status = (int) $this->query_vars['error'];
/
home
/
lantoki
/
www
/
fr
/
mespiedsdetable
/
htdocs
/
cms
/
wp-includes
/
class-wp.php
        // Guess it's time to 404.
        $wp_query->set_404();
        status_header( 404 );
        nocache_headers();
    }
 
    /**
     * Sets up all of the variables required by the WordPress environment.
     *
     * The action {@see 'wp'} has one parameter that references the WP object. It
     * allows for accessing the properties and methods to further manipulate the
     * object.
     *
     * @since 2.0.0
     *
     * @param string|array $query_args Passed to parse_request().
     */
    public function main($query_args = '') {
        $this->init();
        $this->parse_request($query_args);
        $this->send_headers();
        $this->query_posts();
        $this->handle_404();
        $this->register_globals();
 
        /**
         * Fires once the WordPress environment has been set up.
         *
         * @since 2.1.0
         *
         * @param WP $this Current WordPress environment instance (passed by reference).
         */
        do_action_ref_array( 'wp', array( &$this ) );
    }
}
 
/
home
/
lantoki
/
www
/
fr
/
mespiedsdetable
/
htdocs
/
cms
/
wp-includes
/
functions.php
    if ( is_wp_error( $response ) )
        return false;
 
    return wp_remote_retrieve_body( $response );
}
 
/**
 * Set up the WordPress query.
 *
 * @since 2.0.0
 *
 * @global WP       $wp_locale
 * @global WP_Query $wp_query
 * @global WP_Query $wp_the_query
 *
 * @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;
}
 
/**
 * Retrieve the description for the HTTP status.
 *
 * @since 2.3.0
 *
 * @global array $wp_header_to_desc
 *
 * @param int $code HTTP status code.
 * @return string Empty string if not found, or description if found.
 */
function get_status_header_desc( $code ) {
    global $wp_header_to_desc;
 
    $code = absint( $code );
 
/
home
/
lantoki
/
www
/
fr
/
mespiedsdetable
/
htdocs
/
cms
/
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' );
 
}
 
/
home
/
lantoki
/
www
/
fr
/
mespiedsdetable
/
htdocs
/
index.php
<?php
 
/**
 * 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__).'/cms/wp-blog-header.php';
 

Environment & details:

Key Value
format xml
url https://mespiedsdetable.fr/produit/carre/
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /wp-json/oembed/1.0/embed?format=xml&url=https%3A%2F%2Fmespiedsdetable.fr%2Fproduit%2Fcarre%2F
PHPRC /home/lantoki/admin/config/php/php-537422.ini
PHP_VERSION 7.3.20
PWD /usr/bin
HOME /home/lantoki
LANG en_US.UTF-8
SHLVL 0
LC_ALL en_US.UTF-8
PATH /home/lantoki/.local/bin:/home/lantoki/.local/share/gem/ruby/1.9.1/bin:/home/lantoki/.gem/ruby/1.9.1/bin:/home/lantoki/.composer/vendor/bin:/home/lantoki/.npm-packages/bin:/usr/local/bin:/usr/bin:/bin
CONTENT_LENGTH 0
HTTP_CONNECTION close
HTTPS on
SCRIPT_NAME /index.php
QUERY_STRING format=xml&url=https%3A%2F%2Fmespiedsdetable.fr%2Fproduit%2Fcarre%2F
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING format=xml&url=https%3A%2F%2Fmespiedsdetable.fr%2Fproduit%2Fcarre%2F
REDIRECT_URL /wp-json/oembed/1.0/embed
REMOTE_PORT 36736
SCRIPT_FILENAME /home/lantoki/www/fr/mespiedsdetable/htdocs/index.php
SERVER_ADMIN [no address given]
CONTEXT_DOCUMENT_ROOT /home/lantoki/www/fr/mespiedsdetable/htdocs/
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/lantoki/www/fr/mespiedsdetable/htdocs/
REMOTE_ADDR 3.149.237.231
SERVER_PORT 443
SERVER_ADDR fd00::1:9670
SERVER_NAME mespiedsdetable.fr
SERVER_SIGNATURE
HTTP_X_FORWARDED_PROTO https
HTTP_VIA 2.0 alproxy
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_HOST mespiedsdetable.fr
REDIRECT_STATUS 200
REDIRECT_LC_ALL en_US.UTF-8
REDIRECT_LANG en_US.UTF-8
REDIRECT_HOME /home/lantoki
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1733244171.5234
REQUEST_TIME 1733244171
argv Array ( [0] => format=xml&url=https%3A%2F%2Fmespiedsdetable.fr%2Fproduit%2Fcarre%2F )
argc 1
DB_NAME lantoki_mespieds
DB_USER lantoki_mespieds
DB_PASSWORD [yMq;745Ge
DB_HOST mysql-lantoki.alwaysdata.net
WP_HOME https://mespiedsdetable.fr
WP_SITEURL https://mespiedsdetable.fr/cms
Key Value
PHPRC /home/lantoki/admin/config/php/php-537422.ini
PHP_VERSION 7.3.20
PWD /usr/bin
HOME /home/lantoki
LANG en_US.UTF-8
SHLVL 0
LC_ALL en_US.UTF-8
PATH /home/lantoki/.local/bin:/home/lantoki/.local/share/gem/ruby/1.9.1/bin:/home/lantoki/.gem/ruby/1.9.1/bin:/home/lantoki/.composer/vendor/bin:/home/lantoki/.npm-packages/bin:/usr/local/bin:/usr/bin:/bin
CONTENT_LENGTH 0
HTTP_CONNECTION close
HTTPS on
SCRIPT_NAME /index.php
REQUEST_URI /wp-json/oembed/1.0/embed?format=xml&url=https%3A%2F%2Fmespiedsdetable.fr%2Fproduit%2Fcarre%2F
QUERY_STRING format=xml&url=https%3A%2F%2Fmespiedsdetable.fr%2Fproduit%2Fcarre%2F
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING format=xml&url=https%3A%2F%2Fmespiedsdetable.fr%2Fproduit%2Fcarre%2F
REDIRECT_URL /wp-json/oembed/1.0/embed
REMOTE_PORT 36736
SCRIPT_FILENAME /home/lantoki/www/fr/mespiedsdetable/htdocs/index.php
SERVER_ADMIN [no address given]
CONTEXT_DOCUMENT_ROOT /home/lantoki/www/fr/mespiedsdetable/htdocs/
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/lantoki/www/fr/mespiedsdetable/htdocs/
REMOTE_ADDR 3.149.237.231
SERVER_PORT 443
SERVER_ADDR fd00::1:9670
SERVER_NAME mespiedsdetable.fr
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
HTTP_X_FORWARDED_PROTO https
HTTP_VIA 2.0 alproxy
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_HOST mespiedsdetable.fr
REDIRECT_STATUS 200
REDIRECT_LC_ALL en_US.UTF-8
REDIRECT_LANG en_US.UTF-8
REDIRECT_HOME /home/lantoki
FCGI_ROLE RESPONDER
DB_NAME lantoki_mespieds
DB_USER lantoki_mespieds
DB_PASSWORD [yMq;745Ge
DB_HOST mysql-lantoki.alwaysdata.net
WP_HOME https://mespiedsdetable.fr
WP_SITEURL https://mespiedsdetable.fr/cms
0. Whoops\Handler\PrettyPageHandler