Whoops \ Exception \ ErrorException (E_NOTICE)
Undefined index: src Whoops\Exception\ErrorException thrown with message "Undefined index: src" Stacktrace: #4 Whoops\Exception\ErrorException in /home/woodwerk/site/wp-content/themes/woodwerk/single.php:21 #3 Whoops\Run:handleError in /home/woodwerk/site/wp-content/themes/woodwerk/single.php:21 #2 include in /home/woodwerk/site/wp-includes/template-loader.php:106 #1 require_once in /home/woodwerk/site/wp-blog-header.php:19 #0 require in /home/woodwerk/site/index.php:17
Stack frames (5)
4
Whoops\Exception\ErrorException
/home/woodwerk/site/wp-content/themes/woodwerk/single.php21
3
Whoops\Run handleError
/home/woodwerk/site/wp-content/themes/woodwerk/single.php21
2
include
/home/woodwerk/site/wp-includes/template-loader.php106
1
require_once
/home/woodwerk/site/wp-blog-header.php19
0
require
/home/woodwerk/site/index.php17
/home/woodwerk/site/wp-content/themes/woodwerk/single.php
/**
 * The template for displaying all single posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package woodwerk
 */
 
get_header();
while ( have_posts() ) :
    the_post();
    ?>
 
    <article class="content post">
 
        <figure class="interstitial">
            <?php 
            $main_thumb_url = fly_get_attachment_image_src(get_post_thumbnail_id(), array(1860,860),true);
            ?>
            <img class="interstitial-image" alt="<?= the_title(); ?>" src="<?php echo $main_thumb_url['src']; ?>">
        </figure>
 
        <header class="post-header">
            <?php
            if ( function_exists('yoast_breadcrumb') ) {
                yoast_breadcrumb( '<div class="post-breadcrumbs breadcrumbs">','</div>' );
            }
            ?>
            <h1 class="post-title"><?php the_title(); ?></h1>
            <!--seoshield_formulas--blog-->
        </header>
        <div class="post-content">
            <?php
            if( have_rows('post_parts') ):
                while ( have_rows('post_parts') ) : the_row();
                    get_template_part( 'template-parts/acf', get_row_layout() );
                endwhile;
            endif;
            ?>
        </div>
/home/woodwerk/site/wp-content/themes/woodwerk/single.php
/**
 * The template for displaying all single posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package woodwerk
 */
 
get_header();
while ( have_posts() ) :
    the_post();
    ?>
 
    <article class="content post">
 
        <figure class="interstitial">
            <?php 
            $main_thumb_url = fly_get_attachment_image_src(get_post_thumbnail_id(), array(1860,860),true);
            ?>
            <img class="interstitial-image" alt="<?= the_title(); ?>" src="<?php echo $main_thumb_url['src']; ?>">
        </figure>
 
        <header class="post-header">
            <?php
            if ( function_exists('yoast_breadcrumb') ) {
                yoast_breadcrumb( '<div class="post-breadcrumbs breadcrumbs">','</div>' );
            }
            ?>
            <h1 class="post-title"><?php the_title(); ?></h1>
            <!--seoshield_formulas--blog-->
        </header>
        <div class="post-content">
            <?php
            if( have_rows('post_parts') ):
                while ( have_rows('post_parts') ) : the_row();
                    get_template_part( 'template-parts/acf', get_row_layout() );
                endwhile;
            endif;
            ?>
        </div>
/home/woodwerk/site/wp-includes/template-loader.php
            }
 
            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;
}
 
/home/woodwerk/site/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 __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
/home/woodwerk/site/index.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 nginx/1.18.0
REQUEST_URI /artem-ponomarenko-na-rti/5-8/
LANG en_US.UTF-8
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
NOTIFY_SOCKET /run/systemd/notify
INVOCATION_ID 4a53a5e5a6ac4783809fb43e32077a96
JOURNAL_STREAM 9:528917
VIPSHOME /usr
USER woodwerk
HOME /home/woodwerk
HTTP_CONNECTION Keep-Alive
HTTP_HOST woodwerk.com
HTTP_ACCEPT_ENCODING br,gzip
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/)
REDIRECT_STATUS 200
SERVER_NAME woodwerk.com
SERVER_PORT 443
SERVER_ADDR 142.132.167.246
REMOTE_PORT 53746
REMOTE_ADDR 3.238.94.194
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /home/woodwerk/site
DOCUMENT_URI /index.php
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /home/woodwerk/site/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1653127982.558
REQUEST_TIME 1653127982
empty
0. Whoops\Handler\PrettyPageHandler