Whoops \ Exception \ ErrorException (E_WARNING)
Attempt to read property "ID" on bool Whoops\Exception\ErrorException thrown with message "Attempt to read property "ID" on bool" Stacktrace: #4 Whoops\Exception\ErrorException in /home/shinnymoon/public_html/tuffstakes/wp-content/themes/rt_studius/author.php:37 #3 Gantry\Component\Whoops\SystemFacade:handleError in /home/shinnymoon/public_html/tuffstakes/wp-content/themes/rt_studius/author.php:37 #2 include in /home/shinnymoon/public_html/tuffstakes/wp-includes/template-loader.php:106 #1 require_once in /home/shinnymoon/public_html/tuffstakes/wp-blog-header.php:19 #0 require in /home/shinnymoon/public_html/tuffstakes/index.php:17
Stack frames (5)
4
Whoops\Exception\ErrorException
/home/shinnymoon/public_html/tuffstakes/wp-content/themes/rt_studius/author.php37
3
Gantry\Component\Whoops\SystemFacade handleError
/home/shinnymoon/public_html/tuffstakes/wp-content/themes/rt_studius/author.php37
2
include
/home/shinnymoon/public_html/tuffstakes/wp-includes/template-loader.php106
1
require_once
/home/shinnymoon/public_html/tuffstakes/wp-blog-header.php19
0
require
/home/shinnymoon/public_html/tuffstakes/index.php17
 
/*
 * The template for displaying Author Archive pages
 */
 
global $wp_query;
 
$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);
 
$context['posts'] = Timber::get_posts();
 
if (isset($authordata)) {
    $author            = new User($authordata->ID);
    $context['author'] = $author;
    $context['title']  = __('Author:', 'g5_studius') . ' ' . $author->name();
}
 
Timber::render(['author.html.twig', 'archive.html.twig', 'index.html.twig'], $context);
 
 
/*
 * The template for displaying Author Archive pages
 */
 
global $wp_query;
 
$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);
 
$context['posts'] = Timber::get_posts();
 
if (isset($authordata)) {
    $author            = new User($authordata->ID);
    $context['author'] = $author;
    $context['title']  = __('Author:', 'g5_studius') . ' ' . $author->name();
}
 
Timber::render(['author.html.twig', 'archive.html.twig', 'index.html.twig'], $context);
 
            }
 
            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;
}
 
<?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 /shop-stakes-lath/
LSPHP_ENABLE_USER_INI on
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
CONTENT_LENGTH 0
HTTP_HOST new.tuffstakes.com
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_IF_MODIFIED_SINCE Fri, 13 Dec 2024 14:03:59 GMT
HTTP_X_HTTPS 1
REDIRECT_UNIQUE_ID aAGPSnnX_4iHyUG3shiu-gACrSQ
REDIRECT_SCRIPT_URL /shop-stakes-lath/
REDIRECT_SCRIPT_URI https://new.tuffstakes.com/shop-stakes-lath/
REDIRECT_USER_ID 3605204
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI new.tuffstakes.com
REDIRECT_HTTP2 on
REDIRECT_H2PUSH on
REDIRECT_H2_PUSH on
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_STREAM_ID 5
REDIRECT_H2_STREAM_TAG 279514-1786-5
REDIRECT_STATUS 200
UNIQUE_ID aAGPSnnX_4iHyUG3shiu-gACrSQ
SCRIPT_URL /shop-stakes-lath/
SCRIPT_URI https://new.tuffstakes.com/shop-stakes-lath/
USER_ID 3605204
HTTP_AUTHORIZATION
HTTPS on
SSL_TLS_SNI new.tuffstakes.com
HTTP2 on
H2PUSH on
H2_PUSH on
H2_PUSHED
H2_PUSHED_ON
H2_STREAM_ID 5
H2_STREAM_TAG 279514-1786-5
SERVER_SIGNATURE
SERVER_NAME new.tuffstakes.com
SERVER_ADDR 132.148.208.187
SERVER_PORT 443
REMOTE_ADDR 18.97.14.80
DOCUMENT_ROOT /home/shinnymoon/public_html/tuffstakes
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/shinnymoon/public_html/tuffstakes
SERVER_ADMIN webmaster@new.tuffstakes.com.grizzlysolution.com
SCRIPT_FILENAME /home/shinnymoon/public_html/tuffstakes/index.php
REMOTE_PORT 59560
REDIRECT_URL /shop-stakes-lath/
SERVER_PROTOCOL HTTP/2.0
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1744932682.1071
REQUEST_TIME 1744932682
empty
0. Whoops\Handler\PrettyPageHandler