ParseError
syntax error, unexpected '<', expecting end of file ParseError thrown with message "syntax error, unexpected '<', expecting end of file" Stacktrace: #2 ParseError in /home/emme01/public_html/wp-content/themes/g5_helium/woocommerce.php:43 #1 require_once in /home/emme01/public_html/wp-blog-header.php:19 #0 require in /home/emme01/public_html/index.php:17
Stack frames (3)
2
ParseError
/home/emme01/public_html/wp-content/themes/g5_helium/woocommerce.php43
1
require_once
/home/emme01/public_html/wp-blog-header.php19
0
require
/home/emme01/public_html/index.php17
 * /mytheme/views/page-mypage.html.twig
 * (which will still route through this PHP file)
 * OR
 * /mytheme/page-mypage.php
 * (in which case you'll want to duplicate this file and save to the above path)
 */
 
$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'] = $theme->render('partials/page_head.html.twig', $context);
 
$post            = Timber::query_post();
$context['post'] = $post;
 
Timber::render(['page-' . $post->post_name . '.html.twig', 'page.html.twig'], $context);
    
<?php woocommerce_content(); ?>
 
<?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';
 
}
 
<?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
empty
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /tecaj/ticket-modul-4-2020-01-10-2020-01-11-copy-copy-copy/
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING br,gzip
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_CONNECTION Keep-Alive
CONTENT_LENGTH 0
HTTP_HOST www.emmett.si
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
REDIRECT_UNIQUE_ID X3QpAkQxymO1D9utO8C5IAAAAMM
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI www.emmett.si
REDIRECT_STATUS 200
UNIQUE_ID X3QpAkQxymO1D9utO8C5IAAAAMM
HTTPS on
SSL_TLS_SNI www.emmett.si
SERVER_SIGNATURE
SERVER_NAME www.emmett.si
SERVER_ADDR 193.9.21.48
SERVER_PORT 443
REMOTE_ADDR 3.216.28.250
DOCUMENT_ROOT /home/emme01/public_html
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/emme01/public_html
SERVER_ADMIN webmaster@emmett.si
SCRIPT_FILENAME /home/emme01/public_html/index.php
REMOTE_PORT 35728
REDIRECT_URL /tecaj/ticket-modul-4-2020-01-10-2020-01-11-copy-copy-copy/
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1601448195.0067
REQUEST_TIME 1601448195
Key Value
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
0. Whoops\Handler\PrettyPageHandler