( ! ) Warning: Undefined variable $message in /home/mathuqtw/public_stage_html/web/app/themes/mathuset/app/Api/Frontline/Api.php on line 85
Call Stack
#TimeMemoryFunctionLocation
10.0004359792{main}( ).../index.php:0
20.0006360136require( '/home/mathuqtw/public_stage_html/web/wp/wp-blog-header.php ).../index.php:6
30.0006360552require_once( '/home/mathuqtw/public_stage_html/web/wp/wp-load.php ).../wp-blog-header.php:13
40.0007361352require_once( '/home/mathuqtw/public_stage_html/web/wp-config.php ).../wp-load.php:55
50.0052398208require_once( '/home/mathuqtw/public_stage_html/web/wp/wp-settings.php ).../wp-config.php:11
60.284219933032include( '/home/mathuqtw/public_stage_html/web/app/themes/mathuset/functions.php ).../wp-settings.php:555
70.285019934432require_once( '/home/mathuqtw/public_stage_html/web/app/themes/mathuset/bootstrap/app.php ).../functions.php:31
80.288020436392Illuminate\Support\Collection->each( $callback = class Closure { virtual $closure = "{closure}", public $parameter = ['$file' => '<required>'] } ).../app.php:36
90.288220437344{closure:/home/mathuqtw/public_stage_html/web/app/themes/mathuset/bootstrap/app.php:29-36}( $file = 'setup', 1 ).../EnumeratesValues.php:242
100.288220437640locate_template( $template_names = 'app/setup.php', $load = TRUE, $require_once = TRUE, $args = ??? ).../app.php:30
110.288220437736load_template( $_template_file = '/home/mathuqtw/public_stage_html/web/app/themes/mathuset/app/setup.php', $require_once = TRUE, $args = [] ).../template.php:716
120.288420467120require_once( '/home/mathuqtw/public_stage_html/web/app/themes/mathuset/app/setup.php ).../template.php:770
130.290420525704App\Api\Frontline\Api->__construct( $url = 'https://restapi.frontlinesystems.no/api/v1/', $key = 'c103e7e7b37b6f75bcb2f20175c04dcda45123c7e977825ee393777ab95302d0434563e95b5b6060', $secret = 'oVi8xP9hRSPInhsF', $companyID = '3918' ).../setup.php:209
140.298321088520App\Api\Frontline\Api->setTokenHeader( ).../Api.php:42
Whoops! There was an error.
ErrorException (E_WARNING)
Cannot modify header information - headers already sent by (output started at /home/mathuqtw/public_stage_html/web/app/themes/mathuset/app/Api/Frontline/Api.php:85) ErrorException thrown with message "Cannot modify header information - headers already sent by (output started at /home/mathuqtw/public_stage_html/web/app/themes/mathuset/app/Api/Frontline/Api.php:85)" Stacktrace: #8 ErrorException in /home/mathuqtw/public_stage_html/web/wp/wp-includes/functions.php:6830 #7 header in /home/mathuqtw/public_stage_html/web/wp/wp-includes/functions.php:6830 #6 send_frame_options_header in /home/mathuqtw/public_stage_html/web/app/plugins/woocommerce/includes/wc-template-functions.php:89 #5 wc_send_frame_options_header in /home/mathuqtw/public_stage_html/web/wp/wp-includes/class-wp-hook.php:307 #4 WP_Hook:apply_filters in /home/mathuqtw/public_stage_html/web/wp/wp-includes/class-wp-hook.php:331 #3 WP_Hook:do_action in /home/mathuqtw/public_stage_html/web/wp/wp-includes/plugin.php:474 #2 do_action in /home/mathuqtw/public_stage_html/web/wp/wp-includes/template-loader.php:13 #1 require_once in /home/mathuqtw/public_stage_html/web/wp/wp-blog-header.php:19 #0 require in /home/mathuqtw/public_stage_html/web/index.php:6
8
ErrorException
/home/mathuqtw/public_stage_html/web/wp/wp-includes/functions.php6830
7
header
/home/mathuqtw/public_stage_html/web/wp/wp-includes/functions.php6830
6
send_frame_options_header
/home/mathuqtw/public_stage_html/web/app/plugins/woocommerce/includes/wc-template-functions.php89
5
wc_send_frame_options_header
/home/mathuqtw/public_stage_html/web/wp/wp-includes/class-wp-hook.php307
4
WP_Hook apply_filters
/home/mathuqtw/public_stage_html/web/wp/wp-includes/class-wp-hook.php331
3
WP_Hook do_action
/home/mathuqtw/public_stage_html/web/wp/wp-includes/plugin.php474
2
do_action
/home/mathuqtw/public_stage_html/web/wp/wp-includes/template-loader.php13
1
require_once
/home/mathuqtw/public_stage_html/web/wp/wp-blog-header.php19
0
require
/home/mathuqtw/public_stage_html/web/index.php6
/home/mathuqtw/public_stage_html/web/wp/wp-includes/functions.php
        if ( $tortoise == $evanescent_hare || $tortoise == $hare ) {
            return $_return_loop ? $return : $tortoise;
        }
 
        // Increment tortoise by one step.
        $tortoise = isset( $override[ $tortoise ] ) ? $override[ $tortoise ] : call_user_func_array( $callback, array_merge( array( $tortoise ), $callback_args ) );
    }
 
    return false;
}
 
/**
 * Send a HTTP header to limit rendering of pages to same origin iframes.
 *
 * @since 3.1.3
 *
 * @see https://developer.mozilla.org/en/the_x-frame-options_response_header
 */
function send_frame_options_header() {
    header( 'X-Frame-Options: SAMEORIGIN' );
}
 
/**
 * Retrieve a list of protocols to allow in HTML attributes.
 *
 * @since 3.3.0
 * @since 4.3.0 Added 'webcal' to the protocols array.
 * @since 4.7.0 Added 'urn' to the protocols array.
 * @since 5.3.0 Added 'sms' to the protocols array.
 * @since 5.6.0 Added 'irc6' and 'ircs' to the protocols array.
 *
 * @see wp_kses()
 * @see esc_url()
 *
 * @return string[] Array of allowed protocols. Defaults to an array containing 'http', 'https',
 *                  'ftp', 'ftps', 'mailto', 'news', 'irc', 'irc6', 'ircs', 'gopher', 'nntp', 'feed',
 *                  'telnet', 'mms', 'rtsp', 'sms', 'svn', 'tel', 'fax', 'xmpp', 'webcal', and 'urn'.
 *                  This covers all common link protocols, except for 'javascript' which should not
 *                  be allowed for untrusted users.
 */
Arguments
  1. "Cannot modify header information - headers already sent by (output started at /home/mathuqtw/public_stage_html/web/app/themes/mathuset/app/Api/Frontline/Api.php:85)"
    
/home/mathuqtw/public_stage_html/web/wp/wp-includes/functions.php
        if ( $tortoise == $evanescent_hare || $tortoise == $hare ) {
            return $_return_loop ? $return : $tortoise;
        }
 
        // Increment tortoise by one step.
        $tortoise = isset( $override[ $tortoise ] ) ? $override[ $tortoise ] : call_user_func_array( $callback, array_merge( array( $tortoise ), $callback_args ) );
    }
 
    return false;
}
 
/**
 * Send a HTTP header to limit rendering of pages to same origin iframes.
 *
 * @since 3.1.3
 *
 * @see https://developer.mozilla.org/en/the_x-frame-options_response_header
 */
function send_frame_options_header() {
    header( 'X-Frame-Options: SAMEORIGIN' );
}
 
/**
 * Retrieve a list of protocols to allow in HTML attributes.
 *
 * @since 3.3.0
 * @since 4.3.0 Added 'webcal' to the protocols array.
 * @since 4.7.0 Added 'urn' to the protocols array.
 * @since 5.3.0 Added 'sms' to the protocols array.
 * @since 5.6.0 Added 'irc6' and 'ircs' to the protocols array.
 *
 * @see wp_kses()
 * @see esc_url()
 *
 * @return string[] Array of allowed protocols. Defaults to an array containing 'http', 'https',
 *                  'ftp', 'ftps', 'mailto', 'news', 'irc', 'irc6', 'ircs', 'gopher', 'nntp', 'feed',
 *                  'telnet', 'mms', 'rtsp', 'sms', 'svn', 'tel', 'fax', 'xmpp', 'webcal', and 'urn'.
 *                  This covers all common link protocols, except for 'javascript' which should not
 *                  be allowed for untrusted users.
 */
/home/mathuqtw/public_stage_html/web/app/plugins/woocommerce/includes/wc-template-functions.php
        ob_start();
 
        // Ensure gateways and shipping methods are loaded early.
        WC()->payment_gateways();
        WC()->shipping();
    }
}
add_action( 'template_redirect', 'wc_template_redirect' );
 
/**
 * When loading sensitive checkout or account pages, send a HTTP header to limit rendering of pages to same origin iframes for security reasons.
 *
 * Can be disabled with: remove_action( 'template_redirect', 'wc_send_frame_options_header' );
 *
 * @since  2.3.10
 */
function wc_send_frame_options_header() {
 
    if ( ( is_checkout() || is_account_page() ) && ! is_customize_preview() ) {
        send_frame_options_header();
    }
}
add_action( 'template_redirect', 'wc_send_frame_options_header' );
 
/**
 * No index our endpoints.
 * Prevent indexing pages like order-received.
 *
 * @since 2.5.3
 */
function wc_prevent_endpoint_indexing() {
    // phpcs:disable WordPress.Security.NonceVerification.Recommended, WordPress.PHP.NoSilencedErrors.Discouraged
    if ( is_wc_endpoint_url() || isset( $_GET['download_file'] ) ) {
        @header( 'X-Robots-Tag: noindex' );
    }
    // phpcs:enable WordPress.Security.NonceVerification.Recommended, WordPress.PHP.NoSilencedErrors.Discouraged
}
add_action( 'template_redirect', 'wc_prevent_endpoint_indexing' );
 
/**
/home/mathuqtw/public_stage_html/web/wp/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 ] = 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, (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;
    }
 
    /**
     * 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.
/home/mathuqtw/public_stage_html/web/wp/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 ] = array_keys( $this->callbacks );
 
        do {
            $priority = current( $this->iterations[ $nesting_level ] );
/home/mathuqtw/public_stage_html/web/wp/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 ) {
/home/mathuqtw/public_stage_html/web/wp/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() ) {
    /**
/home/mathuqtw/public_stage_html/web/wp/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';
 
}
 
Arguments
  1. "/home/mathuqtw/public_stage_html/web/wp/wp-includes/template-loader.php"
    
/home/mathuqtw/public_stage_html/web/index.php
<?php
/**
 * WordPress View Bootstrapper
 */
define('WP_USE_THEMES', true);
require __DIR__ . '/wp/wp-blog-header.php';
 
Arguments
  1. "/home/mathuqtw/public_stage_html/web/wp/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"LiteSpeed"
REQUEST_URI
"/min-side/glemt-passord/"
LSPHP_ENABLE_USER_INI
"on"
PATH
"/usr/local/bin:/bin:/usr/bin"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_HOST
"stage.mathuset.no"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
DOCUMENT_ROOT
"/home/mathuqtw/public_stage_html/web/"
REMOTE_ADDR
"216.73.217.66"
REMOTE_PORT
"54824"
SERVER_ADDR
"46.250.210.45"
SERVER_NAME
"stage.mathuset.no"
SERVER_ADMIN
"webmaster@stage.mathuset.no"
SERVER_PORT
"443"
REQUEST_SCHEME
"https"
REDIRECT_URL
"/min-side/glemt-passord/"
REDIRECT_REQUEST_METHOD
"GET"
HTTPS
"on"
CRAWLER_USLEEP
"10000"
CRAWLER_LOAD_LIMIT
"4"
WP_DIRECT_UPDATE_PHP_URL
"https://www.proisp.no/guider/sette-php-versjon-webhotell-cpanel/"
HTTP_AUTHORIZATION
""
REDIRECT_STATUS
"200"
X_SPDY
"HTTP2"
SSL_PROTOCOL
"TLSv1.3"
SSL_CIPHER
"TLS_AES_256_GCM_SHA384"
SSL_CIPHER_USEKEYSIZE
"256"
SSL_CIPHER_ALGKEYSIZE
"256"
SCRIPT_FILENAME
"/home/mathuqtw/public_stage_html/web/index.php"
QUERY_STRING
""
SCRIPT_URI
"https://stage.mathuset.no/min-side/glemt-passord/"
SCRIPT_URL
"/min-side/glemt-passord/"
SCRIPT_NAME
"/index.php"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
X-LSCACHE
"on,crawler"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1776602053.1885
REQUEST_TIME
1776602053
DB_NAME
"mathuqtw_stage"
DB_USER
"mathuqtw_stage"
DB_PASSWORD
"*******************"
WP_ENV
"development"
WP_HOME
"https://stage.mathuset.no"
WP_SITEURL
"https://stage.mathuset.no/wp"
WP_DEBUG_LOG
"../logs/wp/"
AUTH_KEY
"****************************************************************"
SECURE_AUTH_KEY
"****************************************************************"
LOGGED_IN_KEY
"****************************************************************"
NONCE_KEY
"****************************************************************"
AUTH_SALT
"****************************************************************"
SECURE_AUTH_SALT
"****************************************************************"
LOGGED_IN_SALT
"****************************************************************"
NONCE_SALT
"****************************************************************"
FRONTLINE_URI
"https://restapi.frontlinesystems.no/api/v1/"
FRONTLINE_KEY
"c103e7e7b37b6f75bcb2f20175c04dcda45123c7e977825ee393777ab95302d0434563e95b5b6060"
FRONTLINE_SECRET
"oVi8xP9hRSPInhsF"
FRONTLINE_COMPANY_ID
"3918"
Key Value
DB_NAME
"mathuqtw_stage"
DB_USER
"mathuqtw_stage"
DB_PASSWORD
"*******************"
WP_ENV
"development"
WP_HOME
"https://stage.mathuset.no"
WP_SITEURL
"https://stage.mathuset.no/wp"
WP_DEBUG_LOG
"../logs/wp/"
AUTH_KEY
"****************************************************************"
SECURE_AUTH_KEY
"****************************************************************"
LOGGED_IN_KEY
"****************************************************************"
NONCE_KEY
"****************************************************************"
AUTH_SALT
"****************************************************************"
SECURE_AUTH_SALT
"****************************************************************"
LOGGED_IN_SALT
"****************************************************************"
NONCE_SALT
"****************************************************************"
FRONTLINE_URI
"https://restapi.frontlinesystems.no/api/v1/"
FRONTLINE_KEY
"c103e7e7b37b6f75bcb2f20175c04dcda45123c7e977825ee393777ab95302d0434563e95b5b6060"
FRONTLINE_SECRET
"oVi8xP9hRSPInhsF"
FRONTLINE_COMPANY_ID
"3918"
0. Whoops\Handler\PrettyPageHandler