Whoops \ Exception \ ErrorException (E_USER_DEPRECATED)
Bestand Thema zonder header.php is sinds versie 3.0.0 <strong>verouderd</strong> en er is geen alternatief beschikbaar. Graag een header.php template aan je thema toevoegen. Whoops\Exception\ErrorException thrown with message "Bestand Thema zonder header.php is sinds versie 3.0.0 <strong>verouderd</strong> en er is geen alternatief beschikbaar. Graag een header.php template aan je thema toevoegen." Stacktrace: #9 Whoops\Exception\ErrorException in /data/sites/web/vaktechnischnl/www/wp-includes/functions.php:5613 #8 trigger_error in /data/sites/web/vaktechnischnl/www/wp-includes/functions.php:5613 #7 _deprecated_file in /data/sites/web/vaktechnischnl/www/wp-includes/theme-compat/header.php:15 #6 require_once in /data/sites/web/vaktechnischnl/www/wp-includes/template.php:783 #5 load_template in /data/sites/web/vaktechnischnl/www/wp-includes/template.php:718 #4 locate_template in /data/sites/web/vaktechnischnl/www/wp-includes/general-template.php:48 #3 get_header in /data/sites/web/vaktechnischnl/www/wp-content/themes/vaktechnisch/fw-page.php:7 #2 include in /data/sites/web/vaktechnischnl/www/wp-includes/template-loader.php:106 #1 require_once in /data/sites/web/vaktechnischnl/www/wp-blog-header.php:19 #0 require in /data/sites/web/vaktechnischnl/www/index.php:17
Stack frames (10)
9
Whoops\Exception\ErrorException
/data/sites/web/vaktechnischnl/www/wp-includes/functions.php5613
8
trigger_error
/data/sites/web/vaktechnischnl/www/wp-includes/functions.php5613
7
_deprecated_file
/data/sites/web/vaktechnischnl/www/wp-includes/theme-compat/header.php15
6
require_once
/data/sites/web/vaktechnischnl/www/wp-includes/template.php783
5
load_template
/data/sites/web/vaktechnischnl/www/wp-includes/template.php718
4
locate_template
/data/sites/web/vaktechnischnl/www/wp-includes/general-template.php48
3
get_header
/fw-page.php7
2
include
/data/sites/web/vaktechnischnl/www/wp-includes/template-loader.php106
1
require_once
/data/sites/web/vaktechnischnl/www/wp-blog-header.php19
0
require
/data/sites/web/vaktechnischnl/www/index.php17
/data/sites/web/vaktechnischnl/www/wp-includes/functions.php
            if ( $replacement ) {
                trigger_error(
                    sprintf(
                        /* translators: 1: PHP file name, 2: Version number, 3: Alternative file name. */
                        __( 'File %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ),
                        $file,
                        $version,
                        $replacement
                    ) . $message,
                    E_USER_DEPRECATED
                );
            } else {
                trigger_error(
                    sprintf(
                        /* translators: 1: PHP file name, 2: Version number. */
                        __( 'File %1$s is <strong>deprecated</strong> since version %2$s with no alternative available.' ),
                        $file,
                        $version
                    ) . $message,
                    E_USER_DEPRECATED
                );
            }
        } else {
            if ( $replacement ) {
                trigger_error(
                    sprintf(
                        'File %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.',
                        $file,
                        $version,
                        $replacement
                    ) . $message,
                    E_USER_DEPRECATED
                );
            } else {
                trigger_error(
                    sprintf(
                        'File %1$s is <strong>deprecated</strong> since version %2$s with no alternative available.',
                        $file,
                        $version
                    ) . $message,
Arguments
  1. "Bestand Thema zonder header.php is sinds versie 3.0.0 <strong>verouderd</strong> en er is geen alternatief beschikbaar. Graag een header.php template aan je thema toevoegen."
    
/data/sites/web/vaktechnischnl/www/wp-includes/functions.php
            if ( $replacement ) {
                trigger_error(
                    sprintf(
                        /* translators: 1: PHP file name, 2: Version number, 3: Alternative file name. */
                        __( 'File %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ),
                        $file,
                        $version,
                        $replacement
                    ) . $message,
                    E_USER_DEPRECATED
                );
            } else {
                trigger_error(
                    sprintf(
                        /* translators: 1: PHP file name, 2: Version number. */
                        __( 'File %1$s is <strong>deprecated</strong> since version %2$s with no alternative available.' ),
                        $file,
                        $version
                    ) . $message,
                    E_USER_DEPRECATED
                );
            }
        } else {
            if ( $replacement ) {
                trigger_error(
                    sprintf(
                        'File %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.',
                        $file,
                        $version,
                        $replacement
                    ) . $message,
                    E_USER_DEPRECATED
                );
            } else {
                trigger_error(
                    sprintf(
                        'File %1$s is <strong>deprecated</strong> since version %2$s with no alternative available.',
                        $file,
                        $version
                    ) . $message,
Arguments
  1. "Bestand Thema zonder header.php is sinds versie 3.0.0 <strong>verouderd</strong> en er is geen alternatief beschikbaar. Graag een header.php template aan je thema toevoegen."
    
  2. 16384
    
/data/sites/web/vaktechnischnl/www/wp-includes/theme-compat/header.php
<?php
/**
 * @package WordPress
 * @subpackage Theme_Compat
 * @deprecated 3.0.0
 *
 * This file is here for backward compatibility with old themes and will be removed in a future version.
 */
_deprecated_file(
    /* translators: %s: Template name. */
    sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ),
    '3.0.0',
    null,
    /* translators: %s: Template name. */
    sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) )
);
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<link rel="profile" href="https://gmpg.org/xfn/11" />
<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
 
<title><?php echo wp_get_document_title(); ?></title>
 
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
 
<?php if ( file_exists( get_stylesheet_directory() . '/images/kubrickbgwide.jpg' ) ) { ?>
<style type="text/css" media="screen">
 
    <?php
    // Checks to see whether it needs a sidebar.
    if ( empty( $withcomments ) && ! is_single() ) {
        ?>
    #page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbg-<?php bloginfo( 'text_direction' ); ?>.jpg") repeat-y top; border: none; }
<?php } else { // No sidebar. ?>
    #page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
<?php } ?>
 
Arguments
  1. "Thema zonder header.php"
    
  2. "3.0.0"
    
  3. null
    
  4. " Graag een header.php template aan je thema toevoegen."
    
/data/sites/web/vaktechnischnl/www/wp-includes/template.php
        extract( $wp_query->query_vars, EXTR_SKIP );
    }
 
    if ( isset( $s ) ) {
        $s = esc_attr( $s );
    }
 
    /**
     * Fires before a template file is loaded.
     *
     * @since 6.1.0
     *
     * @param string $_template_file The full path to the template file.
     * @param bool   $load_once      Whether to require_once or require.
     * @param array  $args           Additional arguments passed to the template.
     */
    do_action( 'wp_before_load_template', $_template_file, $load_once, $args );
 
    if ( $load_once ) {
        require_once $_template_file;
    } else {
        require $_template_file;
    }
 
    /**
     * Fires after a template file is loaded.
     *
     * @since 6.1.0
     *
     * @param string $_template_file The full path to the template file.
     * @param bool   $load_once      Whether to require_once or require.
     * @param array  $args           Additional arguments passed to the template.
     */
    do_action( 'wp_after_load_template', $_template_file, $load_once, $args );
}
 
Arguments
  1. "/data/sites/web/vaktechnischnl/www/wp-includes/theme-compat/header.php"
    
/data/sites/web/vaktechnischnl/www/wp-includes/template.php
function locate_template( $template_names, $load = false, $load_once = true, $args = array() ) {
    $located = '';
    foreach ( (array) $template_names as $template_name ) {
        if ( ! $template_name ) {
            continue;
        }
        if ( file_exists( STYLESHEETPATH . '/' . $template_name ) ) {
            $located = STYLESHEETPATH . '/' . $template_name;
            break;
        } elseif ( file_exists( TEMPLATEPATH . '/' . $template_name ) ) {
            $located = TEMPLATEPATH . '/' . $template_name;
            break;
        } elseif ( file_exists( ABSPATH . WPINC . '/theme-compat/' . $template_name ) ) {
            $located = ABSPATH . WPINC . '/theme-compat/' . $template_name;
            break;
        }
    }
 
    if ( $load && '' !== $located ) {
        load_template( $located, $load_once, $args );
    }
 
    return $located;
}
 
/**
 * Requires the template file with WordPress environment.
 *
 * The globals are set up for the template file to ensure that the WordPress
 * environment is available from within the function. The query variables are
 * also available.
 *
 * @since 1.5.0
 * @since 5.5.0 The `$args` parameter was added.
 *
 * @global array      $posts
 * @global WP_Post    $post          Global post object.
 * @global bool       $wp_did_header
 * @global WP_Query   $wp_query      WordPress Query object.
 * @global WP_Rewrite $wp_rewrite    WordPress rewrite component.
Arguments
  1. "/data/sites/web/vaktechnischnl/www/wp-includes/theme-compat/header.php"
    
  2. true
    
  3. []
    
/data/sites/web/vaktechnischnl/www/wp-includes/general-template.php
     * Fires before the header template file is loaded.
     *
     * @since 2.1.0
     * @since 2.8.0 The `$name` parameter was added.
     * @since 5.5.0 The `$args` parameter was added.
     *
     * @param string|null $name Name of the specific header file to use. Null for the default header.
     * @param array       $args Additional arguments passed to the header template.
     */
    do_action( 'get_header', $name, $args );
 
    $templates = array();
    $name      = (string) $name;
    if ( '' !== $name ) {
        $templates[] = "header-{$name}.php";
    }
 
    $templates[] = 'header.php';
 
    if ( ! locate_template( $templates, true, true, $args ) ) {
        return false;
    }
}
 
/**
 * Loads footer template.
 *
 * Includes the footer template for a theme or if a name is specified then a
 * specialized footer will be included.
 *
 * For the parameter, if the file is called "footer-special.php" then specify
 * "special".
 *
 * @since 1.5.0
 * @since 5.5.0 A return value was added.
 * @since 5.5.0 The `$args` parameter was added.
 *
 * @param string $name The name of the specialized footer.
 * @param array  $args Optional. Additional arguments passed to the footer template.
 *                     Default empty array.
Arguments
  1. array:1 [
      0 => "header.php"
    ]
    
  2. true
    
  3. true
    
  4. []
    
/data/sites/web/vaktechnischnl/www/wp-content/themes/vaktechnisch/fw-page.php
<?php
/*
 * Template Name: Custom Full Width
 * description: >-
  Page template without sidebar
 */
get_header(); ?>
 
  <div id="primary" class="site-content-fw">
    <div id="content" role="main">
 
      <?php while ( have_posts() ) : the_post(); ?>
        <?php get_template_part( 'content', 'page' ); ?>
        <?php comments_template( ’, true ); ?>
      <?php endwhile; // end of the loop. ?>
 
    </div><!-- #content -->
  </div><!-- #primary -->
 
<?php get_footer(); ?>
/data/sites/web/vaktechnischnl/www/wp-includes/template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/data/sites/web/vaktechnischnl/www/wp-content/themes/vaktechnisch/fw-page.php"
    
/data/sites/web/vaktechnischnl/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 __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/data/sites/web/vaktechnischnl/www/wp-includes/template-loader.php"
    
/data/sites/web/vaktechnischnl/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 __DIR__ . '/wp-blog-header.php';
 
Arguments
  1. "/data/sites/web/vaktechnischnl/www/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/campagne"
USER
"vaktechnischnl"
HOME
"/data/sites/web/vaktechnischnl/"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/campagne"
REMOTE_PORT
"53710"
SCRIPT_FILENAME
"/data/sites/web/vaktechnischnl/www/index.php"
SERVER_ADMIN
"support@transip.nl"
CONTEXT_DOCUMENT_ROOT
"/data/sites/web/vaktechnischnl/www"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/data/sites/web/vaktechnischnl/www"
REMOTE_ADDR
"18.232.179.37"
SERVER_PORT
"443"
SERVER_ADDR
"85.10.158.59"
SERVER_NAME
"www.vaktechnisch.nl"
SERVER_SIGNATURE
""
LD_LIBRARY_PATH
"/data/jail/usr/local/httpd-2.4-worker/lib:/data/jail/usr/local/openssl/lib"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
HTTP_ACCEPT_ENCODING
"br,gzip"
HTTP_IF_MODIFIED_SINCE
"Mon, 29 May 2023 06:08:34 GMT"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_X_SCHEME
"https"
HTTP_X_HCL_FORWARDED_PORT
"443"
HTTP_X_HCL_FORWARDED_PROTO
"https"
HTTP_X_REAL_IP
"18.232.179.37"
HTTP_HOST
"www.vaktechnisch.nl"
proxy-nokeepalive
"1"
HTTP_AUTHORIZATION
""
SCRIPT_URI
"https://www.vaktechnisch.nl/campagne"
SCRIPT_URL
"/campagne"
LOGPREFIX
"user_vaktechnischnl"
UNIQUE_ID
"ZRmXzSGC5SyuLlgdxb6PzgAAAG8"
HTTPS
"on"
REDIRECT_STATUS
"200"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_SCRIPT_URI
"https://www.vaktechnisch.nl/campagne"
REDIRECT_SCRIPT_URL
"/campagne"
REDIRECT_LOGPREFIX
"user_vaktechnischnl"
REDIRECT_UNIQUE_ID
"ZRmXzSGC5SyuLlgdxb6PzgAAAG8"
REDIRECT_HTTPS
"on"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1696176077.5629
REQUEST_TIME
1696176077
SMTP_HOST
"smtp.transip.email"
SMTP_PORT
"465"
SMTP_USER
"info@vaktechnisch.nl"
SMTP_PASSWORD
"qknVkT6DfQemLTfD4U33"
SMTP_ENCRYPTION
"ssl"
FROM_EMAIL
"noreply@vaktechnisch.nl"
TO_EMAIL
"redactie@vaktechnisch.nl"
RECAPTCHA_SECRET
"6LcZIrsUAAAAAGJAFJWSALcPM_4yOdgEgVyWXXaE"
TWITTER_API_KEY
"a7HUCP9UeYudyuUIEySes3Jvo"
TWITTER_API_KEY_SECRET
"BuI9EPBsmBaueuebaPas4CeJv6RL5ZAKvpsu7VHLKfbyMxiR0z"
TWITTER_ACCESS_TOKEN
"891463759-DTBebLkHXYBFvK1Y2i1BoqW2T1P0upyB7dUFYg93"
TWITTER_ACCESS_TOKEN_SECRET
"w5MOrv0DeuZnygyYxCw730K8mS465eXhezPEtIag0As7Y"
Key Value
SMTP_HOST
"smtp.transip.email"
SMTP_PORT
"465"
SMTP_USER
"info@vaktechnisch.nl"
SMTP_PASSWORD
"qknVkT6DfQemLTfD4U33"
SMTP_ENCRYPTION
"ssl"
FROM_EMAIL
"noreply@vaktechnisch.nl"
TO_EMAIL
"redactie@vaktechnisch.nl"
RECAPTCHA_SECRET
"6LcZIrsUAAAAAGJAFJWSALcPM_4yOdgEgVyWXXaE"
TWITTER_API_KEY
"a7HUCP9UeYudyuUIEySes3Jvo"
TWITTER_API_KEY_SECRET
"BuI9EPBsmBaueuebaPas4CeJv6RL5ZAKvpsu7VHLKfbyMxiR0z"
TWITTER_ACCESS_TOKEN
"891463759-DTBebLkHXYBFvK1Y2i1BoqW2T1P0upyB7dUFYg93"
TWITTER_ACCESS_TOKEN_SECRET
"w5MOrv0DeuZnygyYxCw730K8mS465eXhezPEtIag0As7Y"
0. Whoops\Handler\PrettyPageHandler