Stack frames (6):
5
Whoops
\
Exception
\
ErrorException
/
web
/
statics
/
themes
/
reverseeditions
/
resources
/
views
/
singles
/
game.php
50
4
Whoops
\
Run
handleError
/
web
/
statics
/
themes
/
reverseeditions
/
resources
/
views
/
singles
/
game.php
50
3
include
/
web
/
statics
/
themes
/
reverseeditions
/
single-game.php
16
2
include
/
web
/
cms
/
wp-includes
/
template-loader.php
74
1
require_once
/
web
/
cms
/
wp-blog-header.php
19
0
require
/
web
/
index.php
33
Whoops \ Exception \ ErrorException (E_WARNING)
Illegal string offset 'team_1' Whoops\Exception\ErrorException thrown with message "Illegal string offset 'team_1'" Stacktrace: #5 Whoops\Exception\ErrorException in /data/vhosts/basketsession/web/wordpress/web/statics/themes/reverseeditions/resources/views/singles/game.php:50 #4 Whoops\Run:handleError in /data/vhosts/basketsession/web/wordpress/web/statics/themes/reverseeditions/resources/views/singles/game.php:50 #3 include in /data/vhosts/basketsession/web/wordpress/web/statics/themes/reverseeditions/single-game.php:16 #2 include in /data/vhosts/basketsession/web/wordpress/web/cms/wp-includes/template-loader.php:74 #1 require_once in /data/vhosts/basketsession/web/wordpress/web/cms/wp-blog-header.php:19 #0 require in /data/vhosts/basketsession/web/wordpress/web/index.php:33
/
data
/
vhosts
/
basketsession
/
web
/
wordpress
/
web
/
statics
/
themes
/
reverseeditions
/
resources
/
views
/
singles
/
game.php
        [
            'key'   => 'post-match_id',
            'value' => $_post['id'],
        ],
        [
            'key'   => 'video-match_id',
            'value' => $_post['id'],
        ],
        [
            'key'   => 'social-match_id',
            'value' => $_post['id'],
        ],
    ]
]);
 
// Vars
$_post['extra']['recap'] = !empty($_post['extra']['content']) || $matchs->have_posts() ? true : false;
$_post['extra']['build'] = [
    'team1' => [
        'slug' => sanitize_title_with_dashes($_post['extra']['details']['team_1']['name']),
        'color' => getNbaColor($_post['extra']['details']['team_1']['code']),
    ],
    'team2' => [
        'slug' => sanitize_title_with_dashes($_post['extra']['details']['team_2']['name']),
        'color' => getNbaColor($_post['extra']['details']['team_2']['code']),
    ],
];
$_post['extra']['team1'] = [
    'slug'      => $_post['extra']['build']['team1']['slug'],
    'name'      => $_post['extra']['details']['team_1']['name'],
    'esc_name'  => esc_html($_post['extra']['details']['team_1']['name']),
    'link'      => get_term_link($_post['extra']['build']['team1']['slug'], 'team'),
    'logo'      => [
        'tiny'      => getNbaAvatar($_post['extra']['details']['team_1']['code'], 30),
        'mini'      => getNbaAvatar($_post['extra']['details']['team_1']['code'], 55),
        'big'       => getNbaAvatar($_post['extra']['details']['team_1']['code'], 90),
    ],
    'color'     => $_post['extra']['build']['team1']['color'],
    'score'     => empty($_post['extra']['details']['team_1']['score']) ? '-' : $_post['extra']['details']['team_1']['score'],
    'style'     => 'border-color:'.$_post['extra']['build']['team1']['color'].';color:'.$_post['extra']['build']['team1']['color'],
/
data
/
vhosts
/
basketsession
/
web
/
wordpress
/
web
/
statics
/
themes
/
reverseeditions
/
resources
/
views
/
singles
/
game.php
        [
            'key'   => 'post-match_id',
            'value' => $_post['id'],
        ],
        [
            'key'   => 'video-match_id',
            'value' => $_post['id'],
        ],
        [
            'key'   => 'social-match_id',
            'value' => $_post['id'],
        ],
    ]
]);
 
// Vars
$_post['extra']['recap'] = !empty($_post['extra']['content']) || $matchs->have_posts() ? true : false;
$_post['extra']['build'] = [
    'team1' => [
        'slug' => sanitize_title_with_dashes($_post['extra']['details']['team_1']['name']),
        'color' => getNbaColor($_post['extra']['details']['team_1']['code']),
    ],
    'team2' => [
        'slug' => sanitize_title_with_dashes($_post['extra']['details']['team_2']['name']),
        'color' => getNbaColor($_post['extra']['details']['team_2']['code']),
    ],
];
$_post['extra']['team1'] = [
    'slug'      => $_post['extra']['build']['team1']['slug'],
    'name'      => $_post['extra']['details']['team_1']['name'],
    'esc_name'  => esc_html($_post['extra']['details']['team_1']['name']),
    'link'      => get_term_link($_post['extra']['build']['team1']['slug'], 'team'),
    'logo'      => [
        'tiny'      => getNbaAvatar($_post['extra']['details']['team_1']['code'], 30),
        'mini'      => getNbaAvatar($_post['extra']['details']['team_1']['code'], 55),
        'big'       => getNbaAvatar($_post['extra']['details']['team_1']['code'], 90),
    ],
    'color'     => $_post['extra']['build']['team1']['color'],
    'score'     => empty($_post['extra']['details']['team_1']['score']) ? '-' : $_post['extra']['details']['team_1']['score'],
    'style'     => 'border-color:'.$_post['extra']['build']['team1']['color'].';color:'.$_post['extra']['build']['team1']['color'],
/
data
/
vhosts
/
basketsession
/
web
/
wordpress
/
web
/
statics
/
themes
/
reverseeditions
/
single-game.php
<?php
 
/**
 * Game post template
 *
 * @package ReverseEditions
 * @author Achraf Chouk <achrafchouk@gmail.com>
 * @since 0.0.1
 */
 
if (!defined('ABSPATH')) {
    die('You are not authorized to directly access to this page');
}
 
// Template
include VIEWS_PATH.'singles'.S.'game.php';
 
/
data
/
vhosts
/
basketsession
/
web
/
wordpress
/
web
/
cms
/
wp-includes
/
template-loader.php
    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;
 
/
data
/
vhosts
/
basketsession
/
web
/
wordpress
/
web
/
cms
/
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( dirname(__FILE__) . '/wp-load.php' );
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once( ABSPATH . WPINC . '/template-loader.php' );
 
}
 
/
data
/
vhosts
/
basketsession
/
web
/
wordpress
/
web
/
index.php
$s = DIRECTORY_SEPARATOR;
$d = dirname(__FILE__);
 
/**
 * Loads the WordPress theme and output it.
 */
define('WP_USE_THEMES', true);
 
/**
 * Loads the WordPress Environment and Template.
 */
if (!file_exists($wpblogheader = $d.$s.'cms'.$s.'wp-blog-header.php')) {
    // Require error class file.
    require_once dirname($d).$s.'app'.$s.'components'.$s.'Error'.$s.'ErrorDebugger.php';
 
    // Use ErrorDebugger class to display error.
    GetOlympus\Components\Error\ErrorDebugger::error500('WordPress is not installed.', 'The default WordPress cms folder seems empty and does not contain the required files. Please, run <code>php composer.phar install</code> command lines from your project folder and refresh this page.', 'File not found');
}
 
require $wpblogheader;
 

Environment & details:

Key Value
debug 1
log 1
empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE nginx/1.10.3
REQUEST_URI /match/wolves-eloignent-plus-clippers-playoffs-415911/
USER basksession
HOME /home/basksession
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION Keep-Alive
HTTP_HOST www.basketsession.com
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/)
SCRIPT_FILENAME /data/vhosts/basketsession/web/wordpress/web/index.php
REDIRECT_STATUS 200
SERVER_NAME www.basketsession.com
SERVER_PORT 443
SERVER_ADDR 164.132.181.81
REMOTE_PORT 35466
REMOTE_ADDR 54.227.31.145
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /data/vhosts/basketsession/web/wordpress/web
DOCUMENT_URI /index.php
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1544953308.4789
REQUEST_TIME 1544953308
SUCURIREAL_REMOTE_ADDR 54.227.31.145
empty
0. Whoops\Handler\PrettyPageHandler