Whoops \ Exception \ ErrorException (E_WARNING)
Trying to access array offset on false Whoops\Exception\ErrorException thrown with message "Trying to access array offset on false" Stacktrace: #4 Whoops\Exception\ErrorException in /home/ekonow/ekonow.ru/www/wp-content/themes/tutmee/single-tovar.php:38 #3 Whoops\Run:handleError in /home/ekonow/ekonow.ru/www/wp-content/themes/tutmee/single-tovar.php:38 #2 include in /home/ekonow/ekonow.ru/www/wp-includes/template-loader.php:106 #1 require_once in /home/ekonow/ekonow.ru/www/wp-blog-header.php:19 #0 require in /home/ekonow/ekonow.ru/www/index.php:17
Stack frames (5)
4
Whoops\Exception\ErrorException
/home/ekonow/ekonow.ru/www/wp-content/themes/tutmee/single-tovar.php38
3
Whoops\Run handleError
/home/ekonow/ekonow.ru/www/wp-content/themes/tutmee/single-tovar.php38
2
include
/home/ekonow/ekonow.ru/www/wp-includes/template-loader.php106
1
require_once
/home/ekonow/ekonow.ru/www/wp-blog-header.php19
0
require
/home/ekonow/ekonow.ru/www/index.php17
/home/ekonow/ekonow.ru/www/wp-content/themes/tutmee/single-tovar.php
if ($container->has(General::class)) {
    $data[ 'general' ]       = $container->get(General::class)
                                         ->getData();
    $data[ 'configuration' ] = $container->get(Configuration::class)
                                         ->getData();
    $data[ 'complectation' ] = $container->get(Complectation::class)
                                         ->getData();
    $data[ 'params' ]        = $container->get(Parameter::class)
                                         ->getData();
    $data[ 'im_methods' ]    = $container->get(ImplementationMethods::class)
                                         ->getData();
    $data[ 'maintenance' ]   = $container->get(Maintenance::class)
                                         ->getData();
    $data[ 'relations' ]     = $container->get(Relations::class)
                                         ->getData();
 
    // Modify breadcrumbs
    $breadcrumbs         = bcn_display(true);
    
    $product_cat        = get_the_terms( get_the_ID(), 'category-product' )[0];
    $additional_pages   = get_field('breadcrumbs_additional', 'term_' . $product_cat->term_id );
    
    
    if( $additional_pages ){
    
        $exploder             = '<div class="breadcrumbs__item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">';
        
        $breadcrumbs_html   = '';
        foreach( $additional_pages as $page ){
            $breadcrumbs_html .= '<div class="breadcrumbs__item" itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem"><a class="breadcrumbs__link p-breadcrumbs" href="'. get_the_permalink( $page->ID ) .'" itemprop="item"><span itemprop="name">'. $page->post_title .'</span></a><meta itemprop="position" content="2"></div>'; 
        }
        //var_dump( $product_cat );
        
        
        
        $breadcrumbs_arr     = explode( $exploder, $breadcrumbs );
        $breadcrumbs_arr[1] .= $breadcrumbs_html;
    
        // $breadcrumbs;
    
Arguments
  1. "Trying to access array offset on false"
    
/home/ekonow/ekonow.ru/www/wp-content/themes/tutmee/single-tovar.php
if ($container->has(General::class)) {
    $data[ 'general' ]       = $container->get(General::class)
                                         ->getData();
    $data[ 'configuration' ] = $container->get(Configuration::class)
                                         ->getData();
    $data[ 'complectation' ] = $container->get(Complectation::class)
                                         ->getData();
    $data[ 'params' ]        = $container->get(Parameter::class)
                                         ->getData();
    $data[ 'im_methods' ]    = $container->get(ImplementationMethods::class)
                                         ->getData();
    $data[ 'maintenance' ]   = $container->get(Maintenance::class)
                                         ->getData();
    $data[ 'relations' ]     = $container->get(Relations::class)
                                         ->getData();
 
    // Modify breadcrumbs
    $breadcrumbs         = bcn_display(true);
    
    $product_cat        = get_the_terms( get_the_ID(), 'category-product' )[0];
    $additional_pages   = get_field('breadcrumbs_additional', 'term_' . $product_cat->term_id );
    
    
    if( $additional_pages ){
    
        $exploder             = '<div class="breadcrumbs__item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">';
        
        $breadcrumbs_html   = '';
        foreach( $additional_pages as $page ){
            $breadcrumbs_html .= '<div class="breadcrumbs__item" itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem"><a class="breadcrumbs__link p-breadcrumbs" href="'. get_the_permalink( $page->ID ) .'" itemprop="item"><span itemprop="name">'. $page->post_title .'</span></a><meta itemprop="position" content="2"></div>'; 
        }
        //var_dump( $product_cat );
        
        
        
        $breadcrumbs_arr     = explode( $exploder, $breadcrumbs );
        $breadcrumbs_arr[1] .= $breadcrumbs_html;
    
        // $breadcrumbs;
    
Arguments
  1. 2
    
  2. "Trying to access array offset on false"
    
  3. "/home/ekonow/ekonow.ru/www/wp-content/themes/tutmee/single-tovar.php"
    
  4. 38
    
/home/ekonow/ekonow.ru/www/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;
}
 
Arguments
  1. "/home/ekonow/ekonow.ru/www/wp-content/themes/tutmee/single-tovar.php"
    
/home/ekonow/ekonow.ru/www/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';
 
}
 
Arguments
  1. "/home/ekonow/ekonow.ru/www/wp-includes/template-loader.php"
    
/home/ekonow/ekonow.ru/www/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';
 
Arguments
  1. "/home/ekonow/ekonow.ru/www/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
Key Value
pvc_visits
array:1 [
  0 => "1758034663b2849"
]
empty
Key Value
SERVER_SOFTWARE
"Apache/2.4.54 (Debian)"
REQUEST_URI
"/products/ultrazvukovoy-uvlazhnitel-vozduha-gt-1-0/"
PHP_FCGI_MAX_REQUESTS
"3000"
PHPRC
"/home/ekonow/etc/php"
PWD
"/usr/lib/cgi-bin"
SHLVL
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
ORIG_SCRIPT_NAME
"/cgi-wrapper/php"
ORIG_PATH_TRANSLATED
"/home/ekonow/ekonow.ru/www/index.php"
ORIG_PATH_INFO
"/index.php"
ORIG_SCRIPT_FILENAME
"/usr/lib/cgi-bin/php"
CONTENT_LENGTH
"0"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/index.php"
REMOTE_PORT
"51168"
SCRIPT_FILENAME
"/home/ekonow/ekonow.ru/www/index.php"
SERVER_ADMIN
"support@netangels.ru"
CONTEXT_DOCUMENT_ROOT
"/usr/lib/cgi-bin/"
CONTEXT_PREFIX
"/cgi-wrapper/"
REQUEST_SCHEME
"http"
DOCUMENT_ROOT
"/home/ekonow/ekonow.ru/www/"
REMOTE_ADDR
"216.73.216.121"
SERVER_PORT
"80"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"ekonow.ru"
SERVER_SIGNATURE
"<address>Apache/2.4.54 (Debian) Server at ekonow.ru Port 80</address>\n"
HTTP_COOKIE
"pvc_visits[0]=1758034663b2849"
HTTP_REFERER
"https://ekonow.ru/products/ultrazvukovoy-uvlazhnitel-vozduha-gt-1-0"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_REAL_IP
"216.73.216.121"
HTTP_HOST
"ekonow.ru"
HTTPS
"on"
REDIRECT_STATUS
"200"
REDIRECT_HANDLER
"application/x-httpd-php"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_REDIRECT_HTTPS
"on"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1757948264.0019
REQUEST_TIME
1757948264
argv
[]
argc
0
Key Value
PHP_FCGI_MAX_REQUESTS
"3000"
PHPRC
"/home/ekonow/etc/php"
PWD
"/usr/lib/cgi-bin"
SHLVL
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
ORIG_SCRIPT_NAME
"/cgi-wrapper/php"
ORIG_PATH_TRANSLATED
"/home/ekonow/ekonow.ru/www/index.php"
ORIG_PATH_INFO
"/index.php"
ORIG_SCRIPT_FILENAME
"/usr/lib/cgi-bin/php"
CONTENT_LENGTH
"0"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/products/ultrazvukovoy-uvlazhnitel-vozduha-gt-1-0/"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/index.php"
REMOTE_PORT
"51168"
SCRIPT_FILENAME
"/home/ekonow/ekonow.ru/www/index.php"
SERVER_ADMIN
"support@netangels.ru"
CONTEXT_DOCUMENT_ROOT
"/usr/lib/cgi-bin/"
CONTEXT_PREFIX
"/cgi-wrapper/"
REQUEST_SCHEME
"http"
DOCUMENT_ROOT
"/home/ekonow/ekonow.ru/www/"
REMOTE_ADDR
"216.73.216.121"
SERVER_PORT
"80"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"ekonow.ru"
SERVER_SOFTWARE
"Apache/2.4.54 (Debian)"
SERVER_SIGNATURE
"<address>Apache/2.4.54 (Debian) Server at ekonow.ru Port 80</address>\n"
HTTP_COOKIE
"pvc_visits[0]=1758034663b2849"
HTTP_REFERER
"https://ekonow.ru/products/ultrazvukovoy-uvlazhnitel-vozduha-gt-1-0"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_REAL_IP
"216.73.216.121"
HTTP_HOST
"ekonow.ru"
HTTPS
"on"
REDIRECT_STATUS
"200"
REDIRECT_HANDLER
"application/x-httpd-php"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_REDIRECT_HTTPS
"on"
FCGI_ROLE
"RESPONDER"
0. Whoops\Handler\PrettyPageHandler