ParseError
syntax error, unexpected '<', expecting end of file ParseError thrown with message "syntax error, unexpected '<', expecting end of file" Stacktrace: #10 ParseError in /home/proteatru/public_html/wp-content/themes/rt_callisto/header.php:30 #9 load_template in /home/proteatru/public_html/wp-includes/template.php:671 #8 locate_template in /home/proteatru/public_html/wp-includes/general-template.php:41 #7 get_header in /home/proteatru/public_html/wp-content/plugins/themeisle-companion/vendor/codeinwp/full-width-page-templates/builders/class-none-full-width-templates.php:41 #6 ThemeIsle\FullWidthTemplates\None:render_std_before_content in /home/proteatru/public_html/wp-includes/class-wp-hook.php:286 #5 WP_Hook:apply_filters in /home/proteatru/public_html/wp-includes/class-wp-hook.php:310 #4 WP_Hook:do_action in /home/proteatru/public_html/wp-includes/plugin.php:465 #3 do_action in /home/proteatru/public_html/wp-content/plugins/themeisle-companion/vendor/codeinwp/full-width-page-templates/templates/builder-fullwidth-std.php:12 #2 include in /home/proteatru/public_html/wp-includes/template-loader.php:78 #1 require_once in /home/proteatru/public_html/wp-blog-header.php:19 #0 require in /home/proteatru/public_html/index.php:17
Stack frames (11)
10
ParseError
/home/proteatru/public_html/wp-content/themes/rt_callisto/header.php30
9
load_template
/home/proteatru/public_html/wp-includes/template.php671
8
locate_template
/home/proteatru/public_html/wp-includes/general-template.php41
7
get_header
/home/proteatru/public_html/wp-content/plugins/themeisle-companion/vendor/codeinwp/full-width-page-templates/builders/class-none-full-width-templates.php41
6
ThemeIsle\FullWidthTemplates\None render_std_before_content
/home/proteatru/public_html/wp-includes/class-wp-hook.php286
5
WP_Hook apply_filters
/home/proteatru/public_html/wp-includes/class-wp-hook.php310
4
WP_Hook do_action
/home/proteatru/public_html/wp-includes/plugin.php465
3
do_action
/home/proteatru/public_html/wp-content/plugins/themeisle-companion/vendor/codeinwp/full-width-page-templates/templates/builder-fullwidth-std.php12
2
include
/home/proteatru/public_html/wp-includes/template-loader.php78
1
require_once
/home/proteatru/public_html/wp-blog-header.php19
0
require
/home/proteatru/public_html/index.php17
defined('ABSPATH') or die;
 
/*
 * Third party plugins that hijack the theme will call wp_head() to get the header template.
 * We use this to start our output buffer and render into the views/page-plugin.html.twig template in footer.php
 */
 
$gantry = Gantry\Framework\Gantry::instance();
$theme  = $gantry['theme'];
 
// We need to render contents of <head> before plugin content gets added.
$context              = Timber::get_context();
$context['page_head'] = $gantry->isCompatible('5.1.5') ? $theme->render('partials/page_head.html.twig', $context) : null;
 
$GLOBALS['timberContext'] = $context;
 
ob_start();
 
 
<script type="text/javascript" src="//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script><script type="text/javascript">window.dojoRequire(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us4.list-manage.com","uuid":"d47dd2fedd35ff78e8d71d795","lid":"1b705edcef","uniqueMethods":true}) })</script>
function locate_template( $template_names, $load = false, $require_once = true ) {
    $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, $require_once );
    }
 
    return $located;
}
 
/**
 * Require 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
 *
 * @global array      $posts
 * @global WP_Post    $post
 * @global bool       $wp_did_header
 * @global WP_Query   $wp_query
 * @global WP_Rewrite $wp_rewrite
 * @global wpdb       $wpdb
function get_header( $name = null ) {
    /**
     * Fires before the header template file is loaded.
     *
     * @since 2.1.0
     * @since 2.8.0 $name parameter added.
     *
     * @param string|null $name Name of the specific header file to use. null for the default header.
     */
    do_action( 'get_header', $name );
 
    $templates = array();
    $name      = (string) $name;
    if ( '' !== $name ) {
        $templates[] = "header-{$name}.php";
    }
 
    $templates[] = 'header.php';
 
    locate_template( $templates, true );
}
 
/**
 * Load footer template.
 *
 * Includes the footer template for a theme or if a name is specified then a
 * specialised footer will be included.
 *
 * For the parameter, if the file is called "footer-special.php" then specify
 * "special".
 *
 * @since 1.5.0
 *
 * @param string $name The name of the specialised footer.
 */
function get_footer( $name = null ) {
    /**
     * Fires before the footer template file is loaded.
     *
     * @since 2.1.0
        add_action( 'fwpt_std_before_content', array( $this, 'render_std_before_content' ) );
        add_action( 'fwpt_std_after_content', array( $this, 'render_std_after_content' ) );
 
    }
 
    /**
     * Display the WordPress loop
     */
    public function render_content() {
        while ( have_posts() ) : the_post();
            the_content();
        endwhile;
    }
 
 
    /**
     * Display the header of the standard template
     */
    public function render_std_before_content() {
        get_header();
    }
 
    /**
     * Display the footer of the standard template
     */
    public function render_std_after_content() {
        get_footer();
    }
 
 
    /**
     * @static
     * @since 1.0.0
     * @access public
     * @return Elementor
     */
    public static function instance() {
        if ( null ===  self::$instance ) {
            self::$instance = new self();
            self::$instance->init();
        }
 
        $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.
        } 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 ] );
            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;
    }
<?php
/**
 * Template Name: Full Width Standard
 * Template Post Type: page
 *
 * A full width template inherited from the active theme
 *
 * @since   1.0.0
 * @version 1.0.0
 */
 
do_action('fwpt_std_before_content');
 
do_action('fwpt_std_content');
 
do_action('fwpt_std_after_content');
    elseif ( is_single() && $template = get_single_template() ) :
    elseif ( is_page() && $template = get_page_template() ) :
    elseif ( is_singular() && $template = get_singular_template() ) :
    elseif ( is_category() && $template = get_category_template() ) :
    elseif ( is_tag() && $template = get_tag_template() ) :
    elseif ( is_author() && $template = get_author_template() ) :
    elseif ( is_date() && $template = get_date_template() ) :
    elseif ( is_archive() && $template = get_archive_template() ) :
    else :
        $template = get_index_template();
    endif;
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    if ( $template = apply_filters( 'template_include', $template ) ) {
        include( $template );
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
endif;
 
<?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' );
 
}
 
<?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' );
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /bilete-2/
USER proteatru
HOME /home/proteatru
SCRIPT_NAME /index.php
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /bilete-2/
REMOTE_PORT 47436
SCRIPT_FILENAME /home/proteatru/public_html/index.php
SERVER_ADMIN webmaster@proteatru.ro
CONTEXT_DOCUMENT_ROOT /home/proteatru/public_html
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/proteatru/public_html
REMOTE_ADDR 18.204.48.199
SERVER_PORT 443
SERVER_ADDR 178.63.184.232
SERVER_NAME proteatru.ro
SERVER_SIGNATURE
PATH /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
HTTP_X_HTTPS 1
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION Keep-Alive
HTTP_HOST proteatru.ro
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/)
proxy-nokeepalive 1
SSL_TLS_SNI proteatru.ro
HTTPS on
SCRIPT_URI https://proteatru.ro/bilete-2/
SCRIPT_URL /bilete-2/
UNIQUE_ID XdHr19x8thuqwGrkpxTDvAAAABY
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI proteatru.ro
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://proteatru.ro/bilete-2/
REDIRECT_SCRIPT_URL /bilete-2/
REDIRECT_UNIQUE_ID XdHr19x8thuqwGrkpxTDvAAAABY
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1574038487.2234
REQUEST_TIME 1574038487
argv Array ( )
argc 0
empty
0. Whoops\Handler\PrettyPageHandler