Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/kaleandflax/public_html/wp-includes/functions.php on line 6114
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
Cannot modify header information - headers already sent by (output started at /home1/kaleandflax/public_html/wp-includes/functions.php:6114) Whoops\Exception\ErrorException thrown with message "Cannot modify header information - headers already sent by (output started at /home1/kaleandflax/public_html/wp-includes/functions.php:6114)" Stacktrace: #10 Whoops\Exception\ErrorException in /home1/kaleandflax/public_html/wp-includes/pluggable.php:1435 #9 header in /home1/kaleandflax/public_html/wp-includes/pluggable.php:1435 #8 wp_redirect in /home1/kaleandflax/public_html/wp-includes/pluggable.php:1545 #7 wp_safe_redirect in /home1/kaleandflax/public_html/wp-content/plugins/wordpress-seo/src/helpers/redirect-helper.php:39 #6 Yoast\WP\SEO\Helpers\Redirect_Helper:do_safe_redirect in /home1/kaleandflax/public_html/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-router.php:97 #5 WPSEO_Sitemaps_Router:template_redirect in /home1/kaleandflax/public_html/wp-includes/class-wp-hook.php:324 #4 WP_Hook:apply_filters in /home1/kaleandflax/public_html/wp-includes/class-wp-hook.php:348 #3 WP_Hook:do_action in /home1/kaleandflax/public_html/wp-includes/plugin.php:517 #2 do_action in /home1/kaleandflax/public_html/wp-includes/template-loader.php:13 #1 require_once in /home1/kaleandflax/public_html/wp-blog-header.php:19 #0 require in /home1/kaleandflax/public_html/index.php:17
Stack frames (11)
10
Whoops
\
Exception
\
ErrorException
/
home1
/
kaleandflax
/
public_html
/
wp-includes
/
pluggable.php
1435
9
header
/
home1
/
kaleandflax
/
public_html
/
wp-includes
/
pluggable.php
1435
8
wp_redirect
/
home1
/
kaleandflax
/
public_html
/
wp-includes
/
pluggable.php
1545
7
wp_safe_redirect
/
home1
/
kaleandflax
/
public_html
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
helpers
/
redirect-helper.php
39
6
Yoast
\
WP
\
SEO
\
Helpers
\
Redirect_Helper
do_safe_redirect
/
home1
/
kaleandflax
/
public_html
/
wp-content
/
plugins
/
wordpress-seo
/
inc
/
sitemaps
/
class-sitemaps-router.php
97
5
WPSEO_Sitemaps_Router
template_redirect
/
home1
/
kaleandflax
/
public_html
/
wp-includes
/
class-wp-hook.php
324
4
WP_Hook
apply_filters
/
home1
/
kaleandflax
/
public_html
/
wp-includes
/
class-wp-hook.php
348
3
WP_Hook
do_action
/
home1
/
kaleandflax
/
public_html
/
wp-includes
/
plugin.php
517
2
do_action
/
home1
/
kaleandflax
/
public_html
/
wp-includes
/
template-loader.php
13
1
require_once
/
home1
/
kaleandflax
/
public_html
/
wp-blog-header.php
19
0
require
/
home1
/
kaleandflax
/
public_html
/
index.php
17
/
home1
/
kaleandflax
/
public_html
/
wp-includes
/
pluggable.php
        $location = wp_sanitize_redirect( $location );
 
        if ( ! $is_IIS && 'cgi-fcgi' !== PHP_SAPI ) {
            status_header( $status ); // This causes problems on IIS and some FastCGI setups.
        }
 
        /**
         * Filters the X-Redirect-By header.
         *
         * Allows applications to identify themselves when they're doing a redirect.
         *
         * @since 5.1.0
         *
         * @param string|false $x_redirect_by The application doing the redirect or false to omit the header.
         * @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;
    }
endif;
 
if ( ! function_exists( 'wp_sanitize_redirect' ) ) :
    /**
     * Sanitizes a URL for use in a redirect.
     *
     * @since 2.3.0
     *
     * @param string $location The path to redirect to.
     * @return string Redirect-sanitized URL.
     */
    function wp_sanitize_redirect( $location ) {
        // Encode spaces.
        $location = str_replace( ' ', '%20', $location );
/
home1
/
kaleandflax
/
public_html
/
wp-includes
/
pluggable.php
        $location = wp_sanitize_redirect( $location );
 
        if ( ! $is_IIS && 'cgi-fcgi' !== PHP_SAPI ) {
            status_header( $status ); // This causes problems on IIS and some FastCGI setups.
        }
 
        /**
         * Filters the X-Redirect-By header.
         *
         * Allows applications to identify themselves when they're doing a redirect.
         *
         * @since 5.1.0
         *
         * @param string|false $x_redirect_by The application doing the redirect or false to omit the header.
         * @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;
    }
endif;
 
if ( ! function_exists( 'wp_sanitize_redirect' ) ) :
    /**
     * Sanitizes a URL for use in a redirect.
     *
     * @since 2.3.0
     *
     * @param string $location The path to redirect to.
     * @return string Redirect-sanitized URL.
     */
    function wp_sanitize_redirect( $location ) {
        // Encode spaces.
        $location = str_replace( ' ', '%20', $location );
/
home1
/
kaleandflax
/
public_html
/
wp-includes
/
pluggable.php
     * @return bool False if the redirect was canceled, true otherwise.
     */
    function wp_safe_redirect( $location, $status = 302, $x_redirect_by = 'WordPress' ) {
 
        // Need to look at the URL the way it will end up in wp_redirect().
        $location = wp_sanitize_redirect( $location );
 
        /**
         * Filters the redirect fallback URL for when the provided redirect is not safe (local).
         *
         * @since 4.3.0
         *
         * @param string $fallback_url The fallback URL to use by default.
         * @param int    $status       The HTTP response status code to use.
         */
        $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' ) ) :
    /**
     * Validates a URL for use in a redirect.
     *
     * Checks whether the $location is using an allowed host, if it has an absolute
     * path. A plugin can therefore set or remove allowed host(s) to or from the
     * list.
     *
     * If the host is not allowed, then the redirect is to $fallback_url supplied.
     *
     * @since 2.8.1
     *
     * @param string $location     The redirect to validate.
     * @param string $fallback_url The value to return if $location is not allowed.
     * @return string Redirect-sanitized URL.
     */
    function wp_validate_redirect( $location, $fallback_url = '' ) {
/
home1
/
kaleandflax
/
public_html
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
helpers
/
redirect-helper.php
     */
    public function do_unsafe_redirect( $location, $status = 302, $reason = 'Yoast SEO' ) {
        // phpcs:ignore WordPress.Security.SafeRedirect -- intentional, function has been renamed to make unsafe more clear.
        \wp_redirect( $location, $status, $reason );
        exit;
    }
 
    /**
     * Wraps wp_safe_redirect to allow testing for safe redirects.
     *
     * @codeCoverageIgnore It only wraps a WordPress function.
     *
     * @param string $location The path to redirect to.
     * @param int    $status   The status code to use.
     * @param string $reason   The reason for the redirect.
     *
     * @return void
     */
    public function do_safe_redirect( $location, $status = 302, $reason = 'Yoast SEO' ) {
        \wp_safe_redirect( $location, $status, $reason );
        exit;
    }
 
    /**
     * Sets a header.
     * This is a tiny helper function to enable better testing.
     *
     * @codeCoverageIgnore It only wraps a WordPress function.
     *
     * @param string $header The header to set.
     *
     * @return void
     */
    public function set_header( $header ) {
        \header( $header );
    }
 
    /**
     * Removes a header.
     * This is a tiny helper function to enable better testing.
/
home1
/
kaleandflax
/
public_html
/
wp-content
/
plugins
/
wordpress-seo
/
inc
/
sitemaps
/
class-sitemaps-router.php
    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.
     *
     * @return void
     */
    public function template_redirect() {
        if ( ! $this->needs_sitemap_index_redirect() ) {
            return;
        }
 
        YoastSEO()->helpers->redirect->do_safe_redirect( home_url( '/sitemap_index.xml' ), 301, 'Yoast SEO' );
    }
 
    /**
     * 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://';
        // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
        if ( ! empty( $_SERVER['HTTPS'] ) && strtolower( $_SERVER['HTTPS'] ) === 'on' ) {
            $protocol = 'https://';
        }
 
        $domain = '';
        if ( isset( $_SERVER['SERVER_NAME'] ) ) {
/
home1
/
kaleandflax
/
public_html
/
wp-includes
/
class-wp-hook.php
 
        $this->iterations[ $nesting_level ] = $this->priorities;
 
        $num_args = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
 
            $priority = $this->current_priority[ $nesting_level ];
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // 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 ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        --$this->nesting_level;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
/
home1
/
kaleandflax
/
public_html
/
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;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @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;
        }
    }
 
    /**
     * 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 ] = $this->priorities;
 
        do {
            $priority = current( $this->iterations[ $nesting_level ] );
/
home1
/
kaleandflax
/
public_html
/
wp-includes
/
plugin.php
    if ( ! isset( $wp_filter[ $hook_name ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
 
        return;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $hook_name;
    }
 
    if ( empty( $arg ) ) {
        $arg[] = '';
    } 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 );
}
 
/**
 * Calls the callback functions that have been added to an action hook, specifying arguments in an array.
 *
 * @since 2.1.0
 *
 * @see do_action() This function is identical, but the arguments passed to the
 *                  functions hooked to `$hook_name` are supplied using an array.
 *
 * @global WP_Hook[] $wp_filter         Stores all of the filters and actions.
 * @global int[]     $wp_actions        Stores the number of times each action was triggered.
 * @global string[]  $wp_current_filter Stores the list of current filters with the current one last.
 *
 * @param string $hook_name The name of the action to be executed.
 * @param array  $args      The arguments supplied to the functions hooked to `$hook_name`.
 */
function do_action_ref_array( $hook_name, $args ) {
/
home1
/
kaleandflax
/
public_html
/
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_favicon() ) {
    /**
/
home1
/
kaleandflax
/
public_html
/
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 __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
/
home1
/
kaleandflax
/
public_html
/
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 __DIR__ . '/wp-blog-header.php';
 

Environment & details:

empty
empty
empty
Key Value
care_did 9fc19ebb-65c8-4ca4-9207-33a8097852e4
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /sitemap.xml
LSPHP_ENABLE_USER_INI on
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
CONTENT_LENGTH 0
HTTP_COOKIE care_did=9fc19ebb-65c8-4ca4-9207-33a8097852e4
HTTP_HOST petefest.com
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_HTTPS 1
REDIRECT_UNIQUE_ID Z7oh9pvRlzvRB8iPYZgHvwABKDQ
REDIRECT_QS_ConnectionId 174025163825824828854967
REDIRECT_SCRIPT_URL /sitemap.xml
REDIRECT_SCRIPT_URI https://petefest.com/sitemap.xml
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI petefest.com
REDIRECT_HTTP2 on
REDIRECT_H2PUSH off
REDIRECT_H2_PUSH off
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_STREAM_ID 3
REDIRECT_H2_STREAM_TAG 854967-185-3
REDIRECT_STATUS 200
UNIQUE_ID Z7oh9pvRlzvRB8iPYZgHvwABKDQ
QS_ConnectionId 174025163825824828854967
SCRIPT_URL /sitemap.xml
SCRIPT_URI https://petefest.com/sitemap.xml
HTTP_AUTHORIZATION
HTTPS on
SSL_TLS_SNI petefest.com
HTTP2 on
H2PUSH off
H2_PUSH off
H2_PUSHED
H2_PUSHED_ON
H2_STREAM_ID 3
H2_STREAM_TAG 854967-185-3
SERVER_SIGNATURE
SERVER_NAME petefest.com
SERVER_ADDR 192.254.189.222
SERVER_PORT 443
REMOTE_ADDR 3.142.212.210
DOCUMENT_ROOT /home1/kaleandflax/public_html
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home1/kaleandflax/public_html
SERVER_ADMIN webmaster@petefest.com
SCRIPT_FILENAME /home1/kaleandflax/public_html/index.php
REMOTE_PORT 44355
REDIRECT_URL /sitemap.xml
SERVER_PROTOCOL HTTP/2.0
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1740251638.2726
REQUEST_TIME 1740251638
argv Array ( )
argc 0
empty
0. Whoops\Handler\PrettyPageHandler