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/masterrivera/public_html/wp-content/themes/g5_helium/author.php:34 #3 Gantry\Component\Whoops\SystemFacade:handleError in /home/masterrivera/public_html/wp-content/themes/g5_helium/author.php:34 #2 include in /home/masterrivera/public_html/wp-includes/template-loader.php:106 #1 require_once in /home/masterrivera/public_html/wp-blog-header.php:19 #0 require in /home/masterrivera/public_html/index.php:17
Stack frames (5)
4
Whoops\Exception\ErrorException
/home/masterrivera/public_html/wp-content/themes/g5_helium/author.php34
3
Gantry\Component\Whoops\SystemFacade handleError
/home/masterrivera/public_html/wp-content/themes/g5_helium/author.php34
2
include
/home/masterrivera/public_html/wp-includes/template-loader.php106
1
require_once
/home/masterrivera/public_html/wp-blog-header.php19
0
require
/home/masterrivera/public_html/index.php17
 
/*
 * The template for displaying Author Archive pages
 */
 
global $wp_query;
 
$gantry = Gantry\Framework\Gantry::instance();
 
/** @var \Gantry\Framework\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 \Timber\User($authordata->ID);
    $context['author'] = $author;
    $context['title']  = \__('Author:', 'g5_helium') . ' ' . $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\Framework\Gantry::instance();
 
/** @var \Gantry\Framework\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 \Timber\User($authordata->ID);
    $context['author'] = $author;
    $context['title']  = \__('Author:', 'g5_helium') . ' ' . $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 /author/lance/page/2/
LSPHP_ENABLE_USER_INI on
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
HTTP_ACCEPT */*
CONTENT_LENGTH 0
HTTP_HOST karatearecibo.com
HTTP_USER_AGENT claudebot
REDIRECT_UNIQUE_ID ZgaQnpvRXPGazWZftw7LsAAAAGQ
REDIRECT_SCRIPT_URL /author/lance/page/2/
REDIRECT_SCRIPT_URI http://karatearecibo.com/author/lance/page/2/
REDIRECT_USER_ID 4248083
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_STATUS 200
UNIQUE_ID ZgaQnpvRXPGazWZftw7LsAAAAGQ
SCRIPT_URL /author/lance/page/2/
SCRIPT_URI http://karatearecibo.com/author/lance/page/2/
USER_ID 4248083
HTTP_AUTHORIZATION
SERVER_SIGNATURE
SERVER_NAME karatearecibo.com
SERVER_ADDR 160.153.74.195
SERVER_PORT 80
REMOTE_ADDR 3.89.163.156
DOCUMENT_ROOT /home/masterrivera/public_html
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/masterrivera/public_html
SERVER_ADMIN webmaster@karatearecibo.com
SCRIPT_FILENAME /home/masterrivera/public_html/index.php
REMOTE_PORT 59262
REDIRECT_URL /author/lance/page/2/
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711706270.9189
REQUEST_TIME 1711706270
empty
0. Whoops\Handler\PrettyPageHandler