Whoops \ Exception \ ErrorException (E_WARNING)
include(php://filter/read=go.source.transforming.loader/resource=/var/www/tutmee/data/www/tutmee.ru/wp-content/themes/tutmee-business/src/WPExtension.php): failed to open stream: operation failed Whoops\Exception\ErrorException thrown with message "include(php://filter/read=go.source.transforming.loader/resource=/var/www/tutmee/data/www/tutmee.ru/wp-content/themes/tutmee-business/src/WPExtension.php): failed to open stream: operation failed" Stacktrace: #6 Whoops\Exception\ErrorException in /var/www/tutmee/data/www/tutmee.ru/wp-content/themes/tutmee-business/vendor/goaop/framework/src/Instrument/ClassLoading/AopComposerLoader.php:139 #5 include in /var/www/tutmee/data/www/tutmee.ru/wp-content/themes/tutmee-business/vendor/goaop/framework/src/Instrument/ClassLoading/AopComposerLoader.php:139 #4 Go\Instrument\ClassLoading\AopComposerLoader:loadClass in [internal]:0 #3 spl_autoload_call in /var/www/tutmee/data/www/tutmee.ru/wp-content/themes/tutmee-business/taxonomy-portfolio-cat.php:63 #2 include in /var/www/tutmee/data/www/tutmee.ru/wp-includes/template-loader.php:74 #1 require_once in /var/www/tutmee/data/www/tutmee.ru/wp-blog-header.php:19 #0 require in /var/www/tutmee/data/www/tutmee.ru/index.php:17
Stack frames (7)
6
Whoops\Exception\ErrorException
/vendor/goaop/framework/src/Instrument/ClassLoading/AopComposerLoader.php139
5
include
/vendor/goaop/framework/src/Instrument/ClassLoading/AopComposerLoader.php139
4
Go\Instrument\ClassLoading\AopComposerLoader loadClass
[internal]0
3
spl_autoload_call
/taxonomy-portfolio-cat.php63
2
include
/var/www/tutmee/data/www/tutmee.ru/wp-includes/template-loader.php74
1
require_once
/var/www/tutmee/data/www/tutmee.ru/wp-blog-header.php19
0
require
/var/www/tutmee/data/www/tutmee.ru/index.php17
/var/www/tutmee/data/www/tutmee.ru/wp-content/themes/tutmee-business/vendor/goaop/framework/src/Instrument/ClassLoading/AopComposerLoader.php
        unset($loader);
 
        foreach ($loaders as $loader) {
            spl_autoload_register($loader);
        }
 
        return self::$wasInitialized;
    }
 
    /**
     * Autoload a class by it's name
     *
     * @param string $class Name of the class to load
     */
    public function loadClass($class)
    {
        $file = $this->findFile($class);
 
        if ($file !== false) {
            include $file;
        }
    }
 
    /**
     * Finds either the path to the file where the class is defined,
     * or gets the appropriate php://filter stream for the given class.
     *
     * @param string $class
     * @return string|false The path/resource if found, false otherwise.
     */
    public function findFile($class)
    {
        static $isAllowedFilter = null, $isProduction = false;
        if (!$isAllowedFilter) {
            $isAllowedFilter = $this->fileEnumerator->getFilter();
            $isProduction    = !$this->options['debug'];
        }
 
        $file = $this->original->findFile($class);
 
/var/www/tutmee/data/www/tutmee.ru/wp-content/themes/tutmee-business/vendor/goaop/framework/src/Instrument/ClassLoading/AopComposerLoader.php
        unset($loader);
 
        foreach ($loaders as $loader) {
            spl_autoload_register($loader);
        }
 
        return self::$wasInitialized;
    }
 
    /**
     * Autoload a class by it's name
     *
     * @param string $class Name of the class to load
     */
    public function loadClass($class)
    {
        $file = $this->findFile($class);
 
        if ($file !== false) {
            include $file;
        }
    }
 
    /**
     * Finds either the path to the file where the class is defined,
     * or gets the appropriate php://filter stream for the given class.
     *
     * @param string $class
     * @return string|false The path/resource if found, false otherwise.
     */
    public function findFile($class)
    {
        static $isAllowedFilter = null, $isProduction = false;
        if (!$isAllowedFilter) {
            $isAllowedFilter = $this->fileEnumerator->getFilter();
            $isProduction    = !$this->options['debug'];
        }
 
        $file = $this->original->findFile($class);
 
[internal]
/var/www/tutmee/data/www/tutmee.ru/wp-content/themes/tutmee-business/taxonomy-portfolio-cat.php
$data[ 'ctag' ] = $_GET[ 't' ];
foreach ( $posts as &$post ) {
    $id          = $post->ID;
    $post->pterm = get_term( get_post_meta( $id, '_primary_term_category', true ) );
    $post->views = get_post_meta( $id, 'views', true ) ?: 0;
}
 
$data[ 'posts' ] = $posts;
 
$data[ 'post_type' ] = PostType::TYPE;
 
 
$data[ 'nav' ] = [
    'query' => $wp_query,
    'title' => __( 'Проекты', THEME_LANG ),
    'cats'  => get_terms( [
        'taxonomy'   => PostType::TAX_CATEGORY,
        'hide_empty' => false,
    ] ),
    'tags'  => WPExtension::getTagsInTerm( $term_id, PostType::TAX_CATEGORY, PostType::TAX_TAG, true )
];
 
//echo '<pre>';
//print_r( $wp_query );
//echo '</pre>';
//wp_die();
SauTwig::display( '@template/portfolio.twig', $data );
 
/var/www/tutmee/data/www/tutmee.ru/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;
 
/var/www/tutmee/data/www/tutmee.ru/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' );
 
}
 
/var/www/tutmee/data/www/tutmee.ru/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( dirname( __FILE__ ) . '/wp-blog-header.php' );
 

Environment & details:

Key Value
t 120
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE nginx/1.16.1
REQUEST_URI /portfolio-cat/razrabotka/?t=120
USER tutmee
HOME /var/www/tutmee/data
HTTP_CONNECTION Keep-Alive
HTTP_HOST tutmee.ru
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/)
SCRIPT_FILENAME /var/www/tutmee/data/www/tutmee.ru/index.php
REDIRECT_STATUS 200
SERVER_NAME tutmee.ru
SERVER_PORT 443
SERVER_ADDR 176.112.202.240
REMOTE_PORT 50500
REMOTE_ADDR 3.236.170.171
GATEWAY_INTERFACE CGI/1.1
HTTPS on
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /var/www/tutmee/data/www/tutmee.ru
DOCUMENT_URI /index.php
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING t=120
PHP_ADMIN_VALUE sendmail_path = /usr/sbin/sendmail -t -i -f dev@tutmee.ru
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1624311893.9834
REQUEST_TIME 1624311893
empty
0. Whoops\Handler\PrettyPageHandler