Whoops \ Exception \ ErrorException (E_WARNING)
file_put_contents(/nas/content/live/ylventures/wp-content/uploads/wpemerge/cache/blade/a229bca77e8f3447aaf91a2df016472eb85197dd.php): Failed to open stream: Permission denied Whoops\Exception\ErrorException thrown with message "file_put_contents(/nas/content/live/ylventures/wp-content/uploads/wpemerge/cache/blade/a229bca77e8f3447aaf91a2df016472eb85197dd.php): Failed to open stream: Permission denied" Stacktrace: #21 Whoops\Exception\ErrorException in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/filesystem/Filesystem.php:122 #20 file_put_contents in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/filesystem/Filesystem.php:122 #19 Illuminate\Filesystem\Filesystem:put in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/view/Compilers/BladeCompiler.php:139 #18 Illuminate\View\Compilers\BladeCompiler:compile in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/view/Engines/CompilerEngine.php:51 #17 Illuminate\View\Engines\CompilerEngine:get in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/view/View.php:142 #16 Illuminate\View\View:getContents in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/view/View.php:125 #15 Illuminate\View\View:renderContents in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/view/View.php:90 #14 Illuminate\View\View:render in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge-blade/src/View/Blade.php:90 #13 WPEmergeBlade\View\Blade:render in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge-blade/src/View/BladeView.php:48 #12 WPEmergeBlade\View\BladeView:toString in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge-blade/src/View/BladeView.php:57 #11 WPEmergeBlade\View\BladeView:toResponse in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Responses/ResponseService.php:244 #10 WPEmerge\Responses\ResponseService:error in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Support/Facade.php:227 #9 call_user_func_array in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Support/Facade.php:227 #8 WPEmerge\Support\Facade:__callStatic in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Exceptions/ErrorHandler.php:143 #7 WPEmerge\Exceptions\ErrorHandler:getResponse in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php:136 #6 WPEmerge\Kernels\HttpKernel:run in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php:112 #5 WPEmerge\Kernels\HttpKernel:handle in /nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php:180 #4 WPEmerge\Kernels\HttpKernel:filterTemplateInclude in /nas/content/live/ylventures/wp-includes/class-wp-hook.php:341 #3 WP_Hook:apply_filters in /nas/content/live/ylventures/wp-includes/plugin.php:205 #2 apply_filters in /nas/content/live/ylventures/wp-includes/template-loader.php:114 #1 require_once in /nas/content/live/ylventures/wp-blog-header.php:19 #0 require in /nas/content/live/ylventures/index.php:17
Stack frames (22)
21
Whoops\Exception\ErrorException
/vendor/illuminate/filesystem/Filesystem.php122
20
file_put_contents
/vendor/illuminate/filesystem/Filesystem.php122
19
Illuminate\Filesystem\Filesystem put
/vendor/illuminate/view/Compilers/BladeCompiler.php139
18
Illuminate\View\Compilers\BladeCompiler compile
/vendor/illuminate/view/Engines/CompilerEngine.php51
17
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php142
16
Illuminate\View\View getContents
/vendor/illuminate/view/View.php125
15
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php90
14
Illuminate\View\View render
/vendor/htmlburger/wpemerge-blade/src/View/Blade.php90
13
WPEmergeBlade\View\Blade render
/vendor/htmlburger/wpemerge-blade/src/View/BladeView.php48
12
WPEmergeBlade\View\BladeView toString
/vendor/htmlburger/wpemerge-blade/src/View/BladeView.php57
11
WPEmergeBlade\View\BladeView toResponse
/vendor/htmlburger/wpemerge/src/Responses/ResponseService.php244
10
WPEmerge\Responses\ResponseService error
/vendor/htmlburger/wpemerge/src/Support/Facade.php227
9
call_user_func_array
/vendor/htmlburger/wpemerge/src/Support/Facade.php227
8
WPEmerge\Support\Facade __callStatic
/vendor/htmlburger/wpemerge/src/Exceptions/ErrorHandler.php143
7
WPEmerge\Exceptions\ErrorHandler getResponse
/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php136
6
WPEmerge\Kernels\HttpKernel run
/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php112
5
WPEmerge\Kernels\HttpKernel handle
/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php180
4
WPEmerge\Kernels\HttpKernel filterTemplateInclude
/nas/content/live/ylventures/wp-includes/class-wp-hook.php341
3
WP_Hook apply_filters
/nas/content/live/ylventures/wp-includes/plugin.php205
2
apply_filters
/nas/content/live/ylventures/wp-includes/template-loader.php114
1
require_once
/nas/content/live/ylventures/wp-blog-header.php19
0
require
/nas/content/live/ylventures/index.php17
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/filesystem/Filesystem.php
     *
     * @param  string  $path
     * @return string
     */
    public function hash($path)
    {
        return md5_file($path);
    }
 
    /**
     * Write the contents of a file.
     *
     * @param  string  $path
     * @param  string  $contents
     * @param  bool  $lock
     * @return int|bool
     */
    public function put($path, $contents, $lock = false)
    {
        return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
    }
 
    /**
     * Write the contents of a file, replacing it atomically if it already exists.
     *
     * @param  string  $path
     * @param  string  $content
     * @return void
     */
    public function replace($path, $content)
    {
        // If the path already exists and is a symlink, get the real path...
        clearstatcache(true, $path);
 
        $path = realpath($path) ?: $path;
 
        $tempPath = tempnam(dirname($path), basename($path));
 
        // Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600...
        chmod($tempPath, 0777 - umask());
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/filesystem/Filesystem.php
     *
     * @param  string  $path
     * @return string
     */
    public function hash($path)
    {
        return md5_file($path);
    }
 
    /**
     * Write the contents of a file.
     *
     * @param  string  $path
     * @param  string  $contents
     * @param  bool  $lock
     * @return int|bool
     */
    public function put($path, $contents, $lock = false)
    {
        return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
    }
 
    /**
     * Write the contents of a file, replacing it atomically if it already exists.
     *
     * @param  string  $path
     * @param  string  $content
     * @return void
     */
    public function replace($path, $content)
    {
        // If the path already exists and is a symlink, get the real path...
        clearstatcache(true, $path);
 
        $path = realpath($path) ?: $path;
 
        $tempPath = tempnam(dirname($path), basename($path));
 
        // Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600...
        chmod($tempPath, 0777 - umask());
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/view/Compilers/BladeCompiler.php
 
        if (! is_null($this->cachePath)) {
            $contents = $this->compileString(
                $this->files->get($this->getPath())
            );
 
            if (! empty($this->getPath())) {
                $tokens = $this->getOpenAndClosingPhpTokens($contents);
 
                // If the tokens we retrieved from the compiled contents have at least
                // one opening tag and if that last token isn't the closing tag, we
                // need to close the statement before adding the path at the end.
                if ($tokens->isNotEmpty() && $tokens->last() !== T_CLOSE_TAG) {
                    $contents .= ' ?>';
                }
 
                $contents .= "<?php /**PATH {$this->getPath()} ENDPATH**/ ?>";
            }
 
            $this->files->put(
                $this->getCompiledPath($this->getPath()), $contents
            );
        }
    }
 
    /**
     * Get the open and closing PHP tag tokens from the given string.
     *
     * @param  string  $contents
     * @return \Illuminate\Support\Collection
     */
    protected function getOpenAndClosingPhpTokens($contents)
    {
        return collect(token_get_all($contents))
            ->pluck($tokenNumber = 0)
            ->filter(function ($token) {
                return in_array($token, [T_OPEN_TAG, T_OPEN_TAG_WITH_ECHO, T_CLOSE_TAG]);
            });
    }
 
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/view/Engines/CompilerEngine.php
    {
        $this->compiler = $compiler;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @param  string  $path
     * @param  array   $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        $compiled = $this->compiler->getCompiledPath($path);
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($compiled, $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/view/View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/view/View.php
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
 
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/illuminate/view/View.php
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return array|string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? call_user_func($callback, $this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
 
            throw $e;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge-blade/src/View/Blade.php
        $container->bindIf('config', function() use ( $view_paths, $cache_path ) {
            return [
                'view.paths' => $view_paths,
                'view.compiled' => $cache_path,
            ];
        }, true);
    }
 
    /**
     * Render a view to a string
     *
     * @param  string $view
     * @param  array  $data
     * @param  array  $merge_data
     *
     * @return string
     */
    public function render( $view, $data = [], $merge_data = [] ) {
        $view = $this->container['view']->make( $view, $data, $merge_data );
        return $view->render();
    }
 
    /**
     * Get the compiler
     *
     * @return mixed
     */
    public function get_compiler() {
        $blade_engine = $this->engine_resolver->resolve( 'blade' );
        return $blade_engine->getCompiler();
    }
 
    /**
     * Get the view factory
     *
     * @return mixed
     */
    public function get_view_factory() {
        return $this->container['view'];
    }
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge-blade/src/View/BladeView.php
        return $this->blade_engine;
    }
 
    /**
     * {@inheritDoc}
     */
    public function setBladeEngine( Blade $blade_engine ) {
        $this->blade_engine = $blade_engine;
        return $this;
    }
 
    /**
     * {@inheritDoc}
     */
    public function toString() {
        if ( empty( $this->getName() ) ) {
            throw new ViewException( 'View must have a name.' );
        }
 
        return $this->getBladeEngine()->render( $this->getName(), $this->getContext() );
    }
 
    /**
     * {@inheritDoc}
     */
    public function toResponse() {
        return (new Response())
            ->withHeader( 'Content-Type', 'text/html' )
            ->withBody( Psr7\stream_for( $this->toString() ) );
    }
}
 
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge-blade/src/View/BladeView.php
    }
 
    /**
     * {@inheritDoc}
     */
    public function toString() {
        if ( empty( $this->getName() ) ) {
            throw new ViewException( 'View must have a name.' );
        }
 
        return $this->getBladeEngine()->render( $this->getName(), $this->getContext() );
    }
 
    /**
     * {@inheritDoc}
     */
    public function toResponse() {
        return (new Response())
            ->withHeader( 'Content-Type', 'text/html' )
            ->withBody( Psr7\stream_for( $this->toString() ) );
    }
}
 
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Responses/ResponseService.php
 
    /**
     * Get a view file representation.
     *
     * @param  string|array<string> $views
     * @return ViewInterface
     */
    public function view( $views ) {
        return View::make( $views );
    }
 
    /**
     * Get an error response, with status headers and rendering a suitable view as the body.
     *
     * @param  integer           $status
     * @return ResponseInterface
     */
    public function error( $status ) {
        return $this->view( [$status, 'error', 'index'] )
            ->toResponse()
            ->withStatus( $status );
    }
}
 
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Support/Facade.php
    }
 
    /**
     * Handle dynamic, static calls to the object.
     *
     * @param  string  $method
     * @param  array   $args
     * @return mixed
     *
     * @throws \RuntimeException
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();
 
        if (! $instance) {
            throw new RuntimeException('A facade root has not been set.');
        }
 
        return call_user_func_array([$instance, $method], $args);
    }
}
 
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Support/Facade.php
    }
 
    /**
     * Handle dynamic, static calls to the object.
     *
     * @param  string  $method
     * @param  array   $args
     * @return mixed
     *
     * @throws \RuntimeException
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();
 
        if (! $instance) {
            throw new RuntimeException('A facade root has not been set.');
        }
 
        return call_user_func_array([$instance, $method], $args);
    }
}
 
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Exceptions/ErrorHandler.php
        $method = RunInterface::EXCEPTION_HANDLER;
        ob_start();
        $this->whoops->$method( $exception );
        $response = ob_get_clean();
        return Response::output( $response )->withStatus( 500 );
    }
 
    /**
     * {@inheritDoc}
     * @throws PhpException
     */
    public function getResponse( RequestInterface $request, PhpException $exception ) {
        $response = $this->toResponse( $exception );
 
        if ( $response !== false ) {
            return $response;
        }
 
        if ( ! $this->debug ) {
            return Response::error( 500 );
        }
 
        return $this->toDebugResponse( $request, $exception );
    }
}
 
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php
        return $response;
    }
 
    /**
     * {@inheritDoc}
     */
    public function run( RequestInterface $request, $middleware, $handler, $arguments = [] ) {
        $this->error_handler->register();
 
        try {
            $middleware = $this->expandMiddleware( $middleware );
            $middleware = $this->uniqueMiddleware( $middleware );
            $middleware = $this->sortMiddleware( $middleware );
 
            $response = ( new Pipeline() )
                ->pipe( $middleware )
                ->to( $handler )
                ->run( $request, array_merge( [$request], $arguments ) );
        } catch ( Exception $exception ) {
            $response = $this->error_handler->getResponse( $request, $exception );
        }
 
        $this->error_handler->unregister();
 
        return $response;
    }
 
    /**
     * Filter the main query vars.
     *
     * @param  array $query_vars
     * @return array
     */
    public function filterRequest( $query_vars ) {
        /** @var $routes \WPEmerge\Routing\RouteInterface[] */
        $routes = $this->router->getRoutes();
 
        foreach ( $routes as $route ) {
            if ( ! $route instanceof HasQueryFilterInterface ) {
                continue;
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php
        add_action( 'admin_init', [$this, 'registerAdminAction'] );
    }
 
    /**
     * {@inheritDoc}
     */
    public function handle( RequestInterface $request, $arguments = [] ) {
        $route = $this->router->execute( $request );
 
        if ( $route === null ) {
            return null;
        }
 
        $handler = function () use ( $route ) {
            $arguments = func_get_args();
            $request = array_shift( $arguments );
            return call_user_func( [$route, 'handle'], $request, $arguments );
        };
 
        $response = $this->run( $request, $route->getMiddleware(), $handler, $arguments );
 
        $container = $this->app->getContainer();
        $container[ WPEMERGE_RESPONSE_KEY ] = $response;
 
        return $response;
    }
 
    /**
     * {@inheritDoc}
     */
    public function run( RequestInterface $request, $middleware, $handler, $arguments = [] ) {
        $this->error_handler->register();
 
        try {
            $middleware = $this->expandMiddleware( $middleware );
            $middleware = $this->uniqueMiddleware( $middleware );
            $middleware = $this->sortMiddleware( $middleware );
 
            $response = ( new Pipeline() )
                ->pipe( $middleware )
/nas/content/live/ylventures/wp-content/themes/airfleet/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php
            }
 
            $query_vars = $route->applyQueryFilter( $this->request, $query_vars );
            break;
        }
 
        return $query_vars;
    }
 
    /**
     * Filter the main template file.
     *
     * @param  string $view
     * @return string
     */
    public function filterTemplateInclude( $view ) {
        /** @var $wp_query \WP_Query */
        global $wp_query;
 
        $response = $this->handle( $this->request, [$view] );
 
        if ( $response instanceof ResponseInterface ) {
            if ( $response->getStatusCode() === 404 ) {
                $wp_query->set_404();
            }
 
            return WPEMERGE_DIR . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'view.php';
        }
 
        return $view;
    }
 
    /**
     * Register ajax action to hook into current one.
     *
     * @return void
     */
    public function registerAjaxAction() {
        if ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) {
            return;
/nas/content/live/ylventures/wp-includes/class-wp-hook.php
 
        $this->iterations[ $nesting_level ] = $this->priorities;
 
        $num_args = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
 
            $priority = $this->current_priority[ $nesting_level ];
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // Avoid the array_slice() if possible.
                if ( 0 === $the_['accepted_args'] ) {
                    $value = call_user_func( $the_['function'] );
                } elseif ( $the_['accepted_args'] >= $num_args ) {
                    $value = call_user_func_array( $the_['function'], $args );
                } else {
                    $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
                }
            }
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        --$this->nesting_level;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
/nas/content/live/ylventures/wp-includes/plugin.php
        $all_args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
        _wp_call_all_hook( $all_args );
    }
 
    if ( ! isset( $wp_filter[ $hook_name ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
 
        return $value;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $hook_name;
    }
 
    // Pass the value to WP_Hook.
    array_unshift( $args, $value );
 
    $filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
 
    array_pop( $wp_current_filter );
 
    return $filtered;
}
 
/**
 * Calls the callback functions that have been added to a filter hook, specifying arguments in an array.
 *
 * @since 3.0.0
 *
 * @see apply_filters() This function is identical, but the arguments passed to the
 *                      functions hooked to `$hook_name` are supplied using an array.
 *
 * @global WP_Hook[] $wp_filter         Stores all of the filters and actions.
 * @global int[]     $wp_filters        Stores the number of times each filter was triggered.
 * @global string[]  $wp_current_filter Stores the list of current filters with the current one last.
 *
 * @param string $hook_name The name of the filter hook.
 * @param array  $args      The arguments supplied to the functions hooked to `$hook_name`.
/nas/content/live/ylventures/wp-includes/template-loader.php
            if ( 'is_attachment' === $tag ) {
                remove_filter( 'the_content', 'prepend_attachment' );
            }
 
            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 ) {
        /**
         * Fires immediately before including the template.
         *
         * @since 6.9.0
         *
         * @param string $template The path of the template about to be included.
         */
        do_action( 'wp_before_include_template', $template );
 
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
/nas/content/live/ylventures/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';
 
}
 
/nas/content/live/ylventures/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
REQUEST_URI /news-and-insights/portfolio-news/spera-security/
USER fpm200006
HOME /home/fpm200006
WPENGINE_ACCOUNT ylventures
WPENGINE_PHPSESSIONS on
WPENGINE_DB_SESSIONS off
HTTP_X_WPE_LOCAL_SSL 1
REMOTE_ADDR 216.73.216.110
PATH_TRANSLATED /nas/content/live/ylventures/index.php
CONTENT_LENGTH 0
HTTP_X_UA_ORIGINAL Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_CF_CONNECTING_IP 216.73.216.110, 216.73.216.110, 216.73.216.110
HTTP_CF_VISITOR {\"scheme\":\"https\"}
HTTP_X_FORWARDED_HOST www.ylventures.com
SYSLOG_IDENT phperr-ylventures
HTTPS on
HTTP_CF_RAY 9d1f7878dce23e6e-IAD
HTTP_REFERER https://www.ylventures.com/news-and-insights/portfolio-news/spera-security
HTTP_VIA 1.1 pod-401146 (Varnish/trunk)
HTTP_ACCEPT_ENCODING gzip
REQUEST_METHOD GET
QUERY_STRING
SERVER_PORT 80
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_ACCEPT */*
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_URI /index.php
CONTENT_TYPE
IS_WPE 1
REDIRECT_STATUS 200
REMOTE_PORT
HTTP_X_CACHE_GROUP normal
HTTP_RAWHOST www.ylventures.com
HTTP_X_FORWARDED_PROTO https
HTTP_X_WPENGINE_PHP_VERSION 8.4
HTTP_X_WPE_EDGE GES
HTTP_X_WPE_REQUEST_ID 53877799e60bb3d996edf8bbb93e33a9
HTTP_X_IS_BOT 1
SCRIPT_FILENAME /nas/content/live/ylventures/index.php
REQUEST_SCHEME http
HTTP_X_WORDPRESS_TYPE DEFAULT
HTTP_X_WPE_SSL 1
HTTP_CF_IPCOUNTRY US
HTTP_X_REAL_IP_REMOTE 104.23.209.84
HTTP_WPE_READONLY on
SERVER_NAME www.ylventures.com
SCRIPT_NAME /index.php
SERVER_ADDR 127.0.0.1
HTTP_HOST www.ylventures.com
HTTP_CDN_LOOP cloudflare; loops=1
PHP_VALUE upload_max_filesize=50M; post_max_size=100M;
PHP_ADMIN_VALUE newrelic.appname=ylventures; newrelic.browser_monitoring.auto_instrument=off; newrelic.enabled=off; newrelic.license=; sendmail_path=/bin/sendmail-wrapper.sh 5036148730e3f1e2bff9b3d3f1f55aec97a1e9e2 /usr/sbin/sendmail -t -i; syslog.ident=phperr-ylventures;
DOCUMENT_ROOT /nas/content/live/ylventures
PATH_INFO
GATEWAY_INTERFACE CGI/1.1
HTTP_X_WPE_INSTALL_NAME ylventures
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1771773659.07
REQUEST_TIME 1771773659
Key Value
USER fpm200006
HOME /home/fpm200006
WPENGINE_ACCOUNT ylventures
WPENGINE_PHPSESSIONS on
WPENGINE_DB_SESSIONS off
HTTP_X_WPE_LOCAL_SSL 1
REMOTE_ADDR 216.73.216.110
PATH_TRANSLATED /nas/content/live/ylventures/index.php
CONTENT_LENGTH 0
HTTP_X_UA_ORIGINAL Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_CF_CONNECTING_IP 216.73.216.110, 216.73.216.110, 216.73.216.110
HTTP_CF_VISITOR {"scheme":"https"}
HTTP_X_FORWARDED_HOST www.ylventures.com
SYSLOG_IDENT phperr-ylventures
HTTPS on
HTTP_CF_RAY 9d1f7878dce23e6e-IAD
HTTP_REFERER https://www.ylventures.com/news-and-insights/portfolio-news/spera-security
HTTP_VIA 1.1 pod-401146 (Varnish/trunk)
HTTP_ACCEPT_ENCODING gzip
REQUEST_METHOD GET
QUERY_STRING
SERVER_PORT 80
SERVER_SOFTWARE nginx
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_ACCEPT */*
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_URI /index.php
CONTENT_TYPE
IS_WPE 1
REDIRECT_STATUS 200
REMOTE_PORT
HTTP_X_CACHE_GROUP normal
HTTP_RAWHOST www.ylventures.com
HTTP_X_FORWARDED_PROTO https
HTTP_X_WPENGINE_PHP_VERSION 8.4
HTTP_X_WPE_EDGE GES
HTTP_X_WPE_REQUEST_ID 53877799e60bb3d996edf8bbb93e33a9
HTTP_X_IS_BOT 1
SCRIPT_FILENAME /nas/content/live/ylventures/index.php
REQUEST_SCHEME http
HTTP_X_WORDPRESS_TYPE DEFAULT
HTTP_X_WPE_SSL 1
HTTP_CF_IPCOUNTRY US
HTTP_X_REAL_IP_REMOTE 104.23.209.84
HTTP_WPE_READONLY on
SERVER_NAME www.ylventures.com
SCRIPT_NAME /index.php
SERVER_ADDR 127.0.0.1
HTTP_HOST www.ylventures.com
HTTP_CDN_LOOP cloudflare; loops=1
PHP_VALUE upload_max_filesize=50M; post_max_size=100M;
PHP_ADMIN_VALUE newrelic.appname=ylventures; newrelic.browser_monitoring.auto_instrument=off; newrelic.enabled=off; newrelic.license=; sendmail_path=/bin/sendmail-wrapper.sh 5036148730e3f1e2bff9b3d3f1f55aec97a1e9e2 /usr/sbin/sendmail -t -i; syslog.ident=phperr-ylventures;
DOCUMENT_ROOT /nas/content/live/ylventures
REQUEST_URI /news-and-insights/portfolio-news/spera-security/
PATH_INFO
GATEWAY_INTERFACE CGI/1.1
HTTP_X_WPE_INSTALL_NAME ylventures
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1771773659.07
REQUEST_TIME 1771773659
0. Whoops\Handler\PrettyPageHandler