ParseError
Unclosed '(' does not match ']' ParseError thrown with message "Unclosed '(' does not match ']'" Stacktrace: #2 ParseError in /home/vudopake/www/badog.ch/wp-content/themes/g5_hadron/single.php:35 #1 require_once in /home/vudopake/www/badog.ch/wp-blog-header.php:19 #0 require in /home/vudopake/www/badog.ch/index.php:17
Stack frames (3)
2
ParseError
/home/vudopake/www/badog.ch/wp-content/themes/g5_hadron/single.php35
1
require_once
/home/vudopake/www/badog.ch/wp-blog-header.php19
0
require
/home/vudopake/www/badog.ch/index.php17
use Timber\Timber;
 
/*
 * The Template for displaying all single posts
 */
 
$gantry = Gantry::instance();
 
/** @var Theme $theme */
$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;
$context['wp_title'] .= ' - ' . $post->title();
 
Timber::render('single-' . $post->ID . '.html.twig', 'single-' . $post->post_type . '.html.twig', 'single.html.twig'], $context);
 
<?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
Key Value
wp-wpml_current_language en
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /en/blog-en/badog-news-and-events/machines-cnc-doccasion-a-vendre-2013-08-12/
HOME /home/vudopake
USER vudopake
PATH /usr/local/bin:/usr/bin:/bin
SCRIPT_NAME /index.php
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /en/blog-en/badog-news-and-events/machines-cnc-doccasion-a-vendre-2013-08-12/
REMOTE_PORT 13286
SCRIPT_FILENAME /home/vudopake/www/badog.ch/index.php
SERVER_ADMIN webmaster@badog.ch
CONTEXT_DOCUMENT_ROOT /home/vudopake/www/badog.ch
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/vudopake/www/badog.ch
REMOTE_ADDR 2600:1f28:365:80b0:194e:56dd:d3a6:4135
SERVER_PORT 443
SERVER_ADDR 127.0.0.2
SERVER_NAME www.badog.ch
SERVER_SIGNATURE
LD_LIBRARY_PATH /usr/local/lib
HTTP_X_FORWARDED_FOR 2600:1f28:365:80b0:194e:56dd:d3a6:4135
HTTP_FORWARDED proto=https;for=\"[2600:1f28:365:80b0:194e:56dd:d3a6:4135]\"
HTTP_HP_UNIQUE_ID 1a287a24-5511-40b8-ac27-d5f14a599468
HTTP_VIA 2.0 p33.server.hostpoint.internal
HTTP_X_FORWARDED_HOST www.badog.ch
HTTP_X_FORWARDED_PROTO https
HTTP_ACCEPT_ENCODING zstd, br, gzip
HTTP_IF_MODIFIED_SINCE Mon, 16 Feb 2026 09:15:43 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_HOST www.badog.ch
SSL_SESSION_RESUMED Initial
SSL_SESSION_ID 213b6a2bdd9712bb808867b753cd5f43d876ab97ff73b73dc2c68c442e2b8095
SSL_SERVER_A_SIG sha256WithRSAEncryption
SSL_SERVER_A_KEY rsaEncryption
SSL_SERVER_I_DN CN=YR2,O=Let\'s Encrypt,C=US
SSL_SERVER_S_DN CN=www.badog.ch
SSL_SERVER_V_END Oct 24 22:11:15 2026 GMT
SSL_SERVER_V_START Jul 26 22:11:16 2026 GMT
SSL_SERVER_M_SERIAL 06F03536DD2EFF094FD02576E76500461288
SSL_SERVER_M_VERSION 3
SSL_CLIENT_VERIFY NONE
SSL_CIPHER_ALGKEYSIZE 256
SSL_CIPHER_USEKEYSIZE 256
SSL_CIPHER_EXPORT false
SSL_CIPHER TLS_AES_256_GCM_SHA384
SSL_COMPRESS_METHOD NULL
SSL_SECURE_RENEG false
SSL_PROTOCOL TLSv1.3
SSL_VERSION_LIBRARY OpenSSL/3.5.7
SSL_VERSION_INTERFACE mod_ssl/2.4.68
SSL_SERVER_SAN_DNS_0 www.badog.ch
SSL_SERVER_I_DN_CN YR2
SSL_SERVER_I_DN_O Let\'s Encrypt
SSL_SERVER_I_DN_C US
SSL_SERVER_S_DN_CN www.badog.ch
SSL_TLS_SNI www.badog.ch
HTTPS on
HTTP_AUTHORIZATION
WPR_ENC _gzip
WPR_SSL -https
MM_COUNTRY_CODE US
MM_ASN 14618
MM_ASORG Amazon.com, Inc.
MMDB_INFO result found
MMDB_ADDR 2600:1f28:365:80b0:194e:56dd:d3a6:4135
UNIQUE_ID aoNHBdrAJZrMSEvmhUwuXQAAAEw
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI www.badog.ch
REDIRECT_HTTPS on
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_WPR_ENC _gzip
REDIRECT_WPR_SSL -https
REDIRECT_MM_COUNTRY_CODE US
REDIRECT_MM_ASN 14618
REDIRECT_MM_ASORG Amazon.com, Inc.
REDIRECT_MMDB_INFO result found
REDIRECT_MMDB_ADDR 2600:1f28:365:80b0:194e:56dd:d3a6:4135
REDIRECT_UNIQUE_ID aoNHBdrAJZrMSEvmhUwuXQAAAEw
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1786988293.0563
REQUEST_TIME 1786988293
empty
0. Whoops\Handler\PrettyPageHandler