InvalidArgumentException
View [downloads.single] not found. InvalidArgumentException thrown with message "View [downloads.single] not found." Stacktrace: #38 InvalidArgumentException in /home/storm/sites/arctorchology-com/public/vendor/illuminate/view/FileViewFinder.php:137 #37 Illuminate\View\FileViewFinder:findInPaths in /home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/View/FileViewFinder.php:66 #36 Themosis\View\FileViewFinder:find in /home/storm/sites/arctorchology-com/public/vendor/illuminate/view/Factory.php:137 #35 Illuminate\View\Factory:make in /home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Core/helpers.php:1170 #34 view in /home/storm/sites/arctorchology-com/public/routes/web.php:15 #33 Illuminate\Routing\RouteFileRegistrar:{closure} in /home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Route.php:237 #32 Illuminate\Routing\Route:runCallable in /home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Route.php:208 #31 Illuminate\Routing\Route:run in /home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Router.php:721 #30 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php:128 #29 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Route/Middleware/WordPressBodyClass.php:35 #28 Themosis\Route\Middleware\WordPressBodyClass:handle in /home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php:167 #27 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Core/Http/Middleware/VerifyCsrfToken.php:68 #26 Themosis\Core\Http\Middleware\VerifyCsrfToken:handle in /home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php:167 #25 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Middleware/SubstituteBindings.php:50 #24 Illuminate\Routing\Middleware\SubstituteBindings:handle in /home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php:167 #23 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/storm/sites/arctorchology-com/public/vendor/illuminate/view/Middleware/ShareErrorsFromSession.php:49 #22 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php:167 #21 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/storm/sites/arctorchology-com/public/vendor/illuminate/session/Middleware/StartSession.php:121 #20 Illuminate\Session\Middleware\StartSession:handleStatefulRequest in /home/storm/sites/arctorchology-com/public/vendor/illuminate/session/Middleware/StartSession.php:64 #19 Illuminate\Session\Middleware\StartSession:handle in /home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php:167 #18 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Route/Middleware/WordPressBindings.php:40 #17 Themosis\Route\Middleware\WordPressBindings:handle in /home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php:167 #16 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Route/Middleware/WordPressHeaders.php:21 #15 Themosis\Route\Middleware\WordPressHeaders:handle in /home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php:167 #14 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php:103 #13 Illuminate\Pipeline\Pipeline:then in /home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Router.php:719 #12 Illuminate\Routing\Router:runRouteWithinStack in /home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Router.php:698 #11 Illuminate\Routing\Router:runRoute in /home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Router.php:662 #10 Illuminate\Routing\Router:dispatchToRoute in /home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Router.php:651 #9 Illuminate\Routing\Router:dispatch in /home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Core/Http/Kernel.php:168 #8 Themosis\Core\Http\Kernel:Themosis\Core\Http\{closure} in /home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php:128 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php:103 #6 Illuminate\Pipeline\Pipeline:then in /home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Core/Http/Kernel.php:154 #5 Themosis\Core\Http\Kernel:sendRequestThroughRouter in /home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Core/Http/Kernel.php:114 #4 Themosis\Core\Http\Kernel:handle in /home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Core/Application.php:1456 #3 Themosis\Core\Application:manage in /home/storm/sites/arctorchology-com/public/htdocs/content/themes/archtorchology/index.php:15 #2 include in /home/storm/sites/arctorchology-com/public/htdocs/cms/wp-includes/template-loader.php:106 #1 require_once in /home/storm/sites/arctorchology-com/public/htdocs/cms/wp-blog-header.php:19 #0 require in /home/storm/sites/arctorchology-com/public/htdocs/index.php:11
38
InvalidArgumentException
/vendor/illuminate/view/FileViewFinder.php137
37
Illuminate\View\FileViewFinder findInPaths
/vendor/themosis/framework/src/View/FileViewFinder.php66
36
Themosis\View\FileViewFinder find
/vendor/illuminate/view/Factory.php137
35
Illuminate\View\Factory make
/vendor/themosis/framework/src/Core/helpers.php1170
34
view
/routes/web.php15
33
Illuminate\Routing\RouteFileRegistrar {closure}
/vendor/illuminate/routing/Route.php237
32
Illuminate\Routing\Route runCallable
/vendor/illuminate/routing/Route.php208
31
Illuminate\Routing\Route run
/vendor/illuminate/routing/Router.php721
30
Illuminate\Routing\Router Illuminate\Routing\{closure}
/vendor/illuminate/pipeline/Pipeline.php128
29
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/themosis/framework/src/Route/Middleware/WordPressBodyClass.php35
28
Themosis\Route\Middleware\WordPressBodyClass handle
/vendor/illuminate/pipeline/Pipeline.php167
27
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/themosis/framework/src/Core/Http/Middleware/VerifyCsrfToken.php68
26
Themosis\Core\Http\Middleware\VerifyCsrfToken handle
/vendor/illuminate/pipeline/Pipeline.php167
25
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/illuminate/routing/Middleware/SubstituteBindings.php50
24
Illuminate\Routing\Middleware\SubstituteBindings handle
/vendor/illuminate/pipeline/Pipeline.php167
23
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/illuminate/view/Middleware/ShareErrorsFromSession.php49
22
Illuminate\View\Middleware\ShareErrorsFromSession handle
/vendor/illuminate/pipeline/Pipeline.php167
21
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/illuminate/session/Middleware/StartSession.php121
20
Illuminate\Session\Middleware\StartSession handleStatefulRequest
/vendor/illuminate/session/Middleware/StartSession.php64
19
Illuminate\Session\Middleware\StartSession handle
/vendor/illuminate/pipeline/Pipeline.php167
18
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/themosis/framework/src/Route/Middleware/WordPressBindings.php40
17
Themosis\Route\Middleware\WordPressBindings handle
/vendor/illuminate/pipeline/Pipeline.php167
16
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/themosis/framework/src/Route/Middleware/WordPressHeaders.php21
15
Themosis\Route\Middleware\WordPressHeaders handle
/vendor/illuminate/pipeline/Pipeline.php167
14
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/illuminate/pipeline/Pipeline.php103
13
Illuminate\Pipeline\Pipeline then
/vendor/illuminate/routing/Router.php719
12
Illuminate\Routing\Router runRouteWithinStack
/vendor/illuminate/routing/Router.php698
11
Illuminate\Routing\Router runRoute
/vendor/illuminate/routing/Router.php662
10
Illuminate\Routing\Router dispatchToRoute
/vendor/illuminate/routing/Router.php651
9
Illuminate\Routing\Router dispatch
/vendor/themosis/framework/src/Core/Http/Kernel.php168
8
Themosis\Core\Http\Kernel Themosis\Core\Http\{closure}
/vendor/illuminate/pipeline/Pipeline.php128
7
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/illuminate/pipeline/Pipeline.php103
6
Illuminate\Pipeline\Pipeline then
/vendor/themosis/framework/src/Core/Http/Kernel.php154
5
Themosis\Core\Http\Kernel sendRequestThroughRouter
/vendor/themosis/framework/src/Core/Http/Kernel.php114
4
Themosis\Core\Http\Kernel handle
/vendor/themosis/framework/src/Core/Application.php1456
3
Themosis\Core\Application manage
/htdocs/content/themes/archtorchology/index.php15
2
include
/htdocs/cms/wp-includes/template-loader.php106
1
require_once
/htdocs/cms/wp-blog-header.php19
0
require
/htdocs/index.php11
/home/storm/sites/arctorchology-com/public/vendor/illuminate/view/FileViewFinder.php
    /**
     * Find the given view in the list of paths.
     *
     * @param  string  $name
     * @param  array  $paths
     * @return string
     *
     * @throws \InvalidArgumentException
     */
    protected function findInPaths($name, $paths)
    {
        foreach ((array) $paths as $path) {
            foreach ($this->getPossibleViewFiles($name) as $file) {
                if ($this->files->exists($viewPath = $path.'/'.$file)) {
                    return $viewPath;
                }
            }
        }
 
        throw new InvalidArgumentException("View [{$name}] not found.");
    }
 
    /**
     * Get an array of possible view files.
     *
     * @param  string  $name
     * @return array
     */
    protected function getPossibleViewFiles($name)
    {
        return array_map(function ($extension) use ($name) {
            return str_replace('.', '/', $name).'.'.$extension;
        }, $this->extensions);
    }
 
    /**
     * Add a location to the finder.
     *
     * @param  string  $location
     * @return void
Arguments
  1. "View [downloads.single] not found."
    
/home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/View/FileViewFinder.php
    }
 
    /**
     * Get the fully qualified location of the view.
     *
     * @param string $name
     *
     * @return string
     */
    public function find($name)
    {
        if (isset($this->views[$name])) {
            return $this->views[$name];
        }
 
        if ($this->hasHintInformation($name = trim($name))) {
            return $this->views[$name] = $this->findNamespacedView($name);
        }
 
        return $this->views[$name] = $this->findInPaths($name, $this->getPaths());
    }
 
    /**
     * Parse ordered path locations and prepend
     * them to default paths.
     */
    private function parseOrderedPaths()
    {
        if (empty($this->orderedPaths)) {
            return;
        }
 
        /**
         * @var FileViewLocation[]
         */
        $orderedPaths = $this->orderedPaths;
 
        uasort($orderedPaths, function ($a, $b) {
            return $a->getPriority() < $b->getPriority() ? 1 : -1;
        });
/home/storm/sites/arctorchology-com/public/vendor/illuminate/view/Factory.php
    public function file($path, $data = [], $mergeData = [])
    {
        $data = array_merge($mergeData, $this->parseData($data));
 
        return tap($this->viewInstance($path, $path, $data), function ($view) {
            $this->callCreator($view);
        });
    }
 
    /**
     * Get the evaluated view contents for the given view.
     *
     * @param  string  $view
     * @param  \Illuminate\Contracts\Support\Arrayable|array  $data
     * @param  array  $mergeData
     * @return \Illuminate\Contracts\View\View
     */
    public function make($view, $data = [], $mergeData = [])
    {
        $path = $this->finder->find(
            $view = $this->normalizeName($view)
        );
 
        // Next, we will create the view instance and call the view creator for the view
        // which can set any data, etc. Then we will return the view instance back to
        // the caller for rendering or performing other view manipulations on this.
        $data = array_merge($mergeData, $this->parseData($data));
 
        return tap($this->viewInstance($view, $path, $data), function ($view) {
            $this->callCreator($view);
        });
    }
 
    /**
     * Get the first view that actually exists from the given list.
     *
     * @param  array  $views
     * @param  \Illuminate\Contracts\Support\Arrayable|array  $data
     * @param  array  $mergeData
     * @return \Illuminate\Contracts\View\View
/home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Core/helpers.php
 
if (! function_exists('view')) {
    /**
     * Get the evaluated view contents for the given view.
     *
     * @param string $view
     * @param array  $data
     * @param array  $mergeData
     *
     * @return \Illuminate\View\View|\Illuminate\Contracts\View\Factory|\Illuminate\View\Factory
     */
    function view($view = null, $data = [], $mergeData = [])
    {
        $factory = app(ViewFactory::class);
 
        if (func_num_args() === 0) {
            return $factory;
        }
 
        return $factory->make($view, $data, $mergeData);
    }
}
 
if (! function_exists('web_path')) {
    /**
     * Get the public web path.
     *
     * @param string $path
     *
     * @return string
     */
    function web_path($path = '')
    {
        return app()->webPath($path);
    }
}
 
/home/storm/sites/arctorchology-com/public/routes/web.php
<?php
 
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
 
Auth::routes();
 
Route::any('singular', ['products', function () {
    return view('products.single');
}]);
 
Route::any('post-type-archive', ['products', 'uses' => 'ProductsController']);
 
Route::any('singular', ['downloads', function () {
    return view('downloads.single');
}]);
 
Route::any('post-type-archive', ['downloads', 'uses' => 'DownloadsController']);
 
Route::any('page', function () {
    return view('pages.page');
});
 
Route::any('tax', ['torch-ranges', 'uses' => 'ProductCategoryController']);
 
Route::fallback(function () {
    return view('errors.404');
});
 
Route::get('email', function() {
    $user = \App\Customer::find(7);
 
    return new App\Mail\NewUser($user);
});
 
/home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Route.php
     */
    protected function isControllerAction()
    {
        return is_string($this->action['uses']) && ! $this->isSerializedClosure();
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     */
    protected function runCallable()
    {
        $callable = $this->action['uses'];
 
        if ($this->isSerializedClosure()) {
            $callable = unserialize($this->action['uses'])->getClosure();
        }
 
        return $callable(...array_values($this->resolveMethodDependencies(
            $this->parametersWithoutNulls(), new ReflectionFunction($callable)
        )));
    }
 
    /**
     * Determine if the route action is a serialized Closure.
     *
     * @return bool
     */
    protected function isSerializedClosure()
    {
        return RouteAction::containsSerializedClosure($this->action);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
/home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Route.php
    protected function parseAction($action)
    {
        return RouteAction::parse($this->uri, $action);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     */
    public function run()
    {
        $this->container = $this->container ?: new Container;
 
        try {
            if ($this->isControllerAction()) {
                return $this->runController();
            }
 
            return $this->runCallable();
        } catch (HttpResponseException $e) {
            return $e->getResponse();
        }
    }
 
    /**
     * Checks whether the route's action is a controller.
     *
     * @return bool
     */
    protected function isControllerAction()
    {
        return is_string($this->action['uses']) && ! $this->isSerializedClosure();
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     */
/home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Router.php
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $computedMiddleware = $route->gatherMiddleware();
 
        $excluded = collect($route->excludedMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->values()->all();
 
        $middleware = collect($computedMiddleware)->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
/home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return $destination($passable);
            } catch (Throwable $e) {
                return $this->handleException($passable, $e);
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    if (is_callable($pipe)) {
                        // If the pipe is a callable, then we will call it directly, but otherwise we
                        // will resolve the pipes out of the dependency container and call it with
                        // the appropriate method and arguments, returning the results back out.
/home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Route/Middleware/WordPressBodyClass.php
    {
        $this->filter = $filter;
    }
 
    /**
     * Handle incoming request.
     *
     * @param $request
     * @param \Closure $next
     *
     * @return mixed
     */
    public function handle($request, \Closure $next)
    {
        $this->filter->add(
            'body_class',
            $this->dispatchBodyClass($request->route()),
        );
 
        return $next($request);
    }
 
    /**
     * Return the callback managing route body CSS classes.
     *
     * @param Route $route
     *
     * @return \Closure
     */
    protected function dispatchBodyClass(Route $route)
    {
        return function ($classes) use ($route) {
            if ($route->hasCondition()) {
                return $classes;
            }
 
            $tokens = array_filter(array_map(function ($token) use ($route) {
                switch ($type = $token[0]) {
                    case 'variable':
                        if (isset($token[3]) && $route->hasParameter($paramKey = $token[3])) {
/home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Core/Http/Middleware/VerifyCsrfToken.php
    }
 
    /**
     * Handle an incoming request.
     *
     * @param \Illuminate\Http\Request $request
     * @param \Closure                 $next
     *
     * @throws TokenMismatchException
     *
     * @return mixed
     */
    public function handle($request, \Closure $next)
    {
        if ($this->isReading($request) ||
            $this->runningUnitTests() ||
            $this->inExceptArray($request) ||
            $this->tokensMatch($request)
        ) {
            return tap($next($request), function ($response) use ($request) {
                if ($this->shouldAddXsrfTokenCookie()) {
                    $this->addCookieToResponse($request, $response);
                }
            });
        }
 
        throw new TokenMismatchException('CSRF token mismatch');
    }
 
    /**
     * Determine if the HTTP request uses a "read" verb.
     *
     * @param \Illuminate\Http\Request $request
     *
     * @return bool
     */
    protected function isReading(Request $request)
    {
        return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
    }
/home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Middleware/SubstituteBindings.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        try {
            $this->router->substituteBindings($route = $request->route());
 
            $this->router->substituteImplicitBindings($route);
        } catch (ModelNotFoundException $exception) {
            if ($route->getMissing()) {
                return $route->getMissing()($request, $exception);
            }
 
            throw $exception;
        }
 
        return $next($request);
    }
}
 
/home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/home/storm/sites/arctorchology-com/public/vendor/illuminate/view/Middleware/ShareErrorsFromSession.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        // If the current session has an "errors" variable bound to it, we will share
        // its value with all view instances so the views can easily access errors
        // without having to bind. An empty bag is set when there aren't errors.
        $this->view->share(
            'errors', $request->session()->get('errors') ?: new ViewErrorBag
        );
 
        // Putting the errors in the view for every view allows the developer to just
        // assume that some errors are always available, which is convenient since
        // they don't have to continually run checks for the presence of errors.
 
        return $next($request);
    }
}
 
/home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/home/storm/sites/arctorchology-com/public/vendor/illuminate/session/Middleware/StartSession.php
    /**
     * Handle the given request within session state.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @param  \Closure  $next
     * @return mixed
     */
    protected function handleStatefulRequest(Request $request, $session, Closure $next)
    {
        // If a session driver has been configured, we will need to start the session here
        // so that the data is ready for an application. Note that the Laravel sessions
        // do not make use of PHP "native" sessions in any way since they are crappy.
        $request->setLaravelSession(
            $this->startSession($request, $session)
        );
 
        $this->collectGarbage($session);
 
        $response = $next($request);
 
        $this->storeCurrentUrl($request, $session);
 
        $this->addCookieToResponse($response, $session);
 
        // Again, if the session has been configured we will need to close out the session
        // so that the attributes may be persisted to some storage medium. We will also
        // add the session identifier cookie to the application response headers now.
        $this->saveSession($request);
 
        return $response;
    }
 
    /**
     * Start the session for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @return \Illuminate\Contracts\Session\Session
     */
/home/storm/sites/arctorchology-com/public/vendor/illuminate/session/Middleware/StartSession.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if (! $this->sessionConfigured()) {
            return $next($request);
        }
 
        $session = $this->getSession($request);
 
        if ($this->manager->shouldBlock() ||
            ($request->route() instanceof Route && $request->route()->locksFor())) {
            return $this->handleRequestWhileBlocking($request, $session, $next);
        }
 
        return $this->handleStatefulRequest($request, $session, $next);
    }
 
    /**
     * Handle the given request within session state.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @param  \Closure  $next
     * @return mixed
     */
    protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)
    {
        if (! $request->route() instanceof Route) {
            return;
        }
 
        $lockFor = $request->route() && $request->route()->locksFor()
                        ? $request->route()->locksFor()
                        : 10;
 
/home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Route/Middleware/WordPressBindings.php
        $this->router = $router;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param $request
     * @param \Closure $next
     *
     * @return mixed
     */
    public function handle($request, \Closure $next)
    {
        $route = $request->route();
 
        if ($route->hasCondition()) {
            $this->router->addWordPressBindings($route);
        }
 
        return $next($request);
    }
}
 
/home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Route/Middleware/WordPressHeaders.php
 
namespace Themosis\Route\Middleware;
 
use Illuminate\Http\Request;
use Illuminate\Http\Response;
 
class WordPressHeaders
{
    /**
     * Cleanup response headers.
     *
     * @param Request  $request
     * @param \Closure $next
     *
     * @return Response
     */
    public function handle(Request $request, \Closure $next)
    {
        $route = $request->route();
        $response = $next($request);
 
        if (! $route->hasCondition() && function_exists('is_user_logged_in') && ! is_user_logged_in()) {
            // We're on a custom route. Remove "no-cache" headers added by WordPress:
            // - Cache-Control
            // - Expires
            // - Content-type (provided by the response instance as well)
            @header_remove('Cache-Control');
            @header_remove('Expires');
            @header_remove('Content-Type');
        }
 
        // Set the response cache control to "public"
        // on pages visited by guest users only.
        if (function_exists('is_user_logged_in') && ! is_user_logged_in()) {
            $response->setPublic();
        }
 
        return $response;
    }
}
/home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php
    public function via($method)
    {
        $this->method = $method;
 
        return $this;
    }
 
    /**
     * Run the pipeline with a final destination callback.
     *
     * @param  \Closure  $destination
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $pipeline = array_reduce(
            array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
        );
 
        return $pipeline($this->passable);
    }
 
    /**
     * Run the pipeline and return the result.
     *
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Router.php
    }
 
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $computedMiddleware = $route->gatherMiddleware();
 
        $excluded = collect($route->excludedMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->values()->all();
 
/home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Router.php
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Routing\Route  $route
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new RouteMatched($route, $request));
 
        return $this->prepareResponse($request,
            $this->runRouteWithinStack($route, $request)
        );
    }
 
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
/home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Router.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
    {
        $this->current = $route = $this->routes->match($request);
 
        $route->setContainer($this->container);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
/home/storm/sites/arctorchology-com/public/vendor/illuminate/routing/Router.php
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function respondWithRoute($name)
    {
        $route = tap($this->routes->getByName($name))->bind($this->currentRequest);
 
        return $this->runRoute($this->currentRequest, $route);
    }
 
    /**
     * Dispatch the request to the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
/home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Core/Http/Kernel.php
    protected function sendRequestThroughRouter($request)
    {
        return (new Pipeline($this->app))
            ->send($request)
            ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
            ->then($this->dispatchToRouter());
    }
 
    /**
     * Get route dispatcher callback used by the
     * routing pipeline.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Bootstrap the application.
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Return the bootstrappers array.
     *
     * @return array
     */
    protected function bootstrappers()
    {
/home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return $destination($passable);
            } catch (Throwable $e) {
                return $this->handleException($passable, $e);
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    if (is_callable($pipe)) {
                        // If the pipe is a callable, then we will call it directly, but otherwise we
                        // will resolve the pipes out of the dependency container and call it with
                        // the appropriate method and arguments, returning the results back out.
/home/storm/sites/arctorchology-com/public/vendor/illuminate/pipeline/Pipeline.php
    public function via($method)
    {
        $this->method = $method;
 
        return $this;
    }
 
    /**
     * Run the pipeline with a final destination callback.
     *
     * @param  \Closure  $destination
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $pipeline = array_reduce(
            array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
        );
 
        return $pipeline($this->passable);
    }
 
    /**
     * Run the pipeline and return the result.
     *
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Core/Http/Kernel.php
     * @return bool
     */
    public function hasMiddleware($middleware)
    {
        return in_array($middleware, $this->middleware);
    }
 
    /**
     * Send given request through the middleware (if any) and router.
     *
     * @param \Illuminate\Http\Request $request
     *
     * @return IlluminateResponse
     */
    protected function sendRequestThroughRouter($request)
    {
        return (new Pipeline($this->app))
            ->send($request)
            ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
            ->then($this->dispatchToRouter());
    }
 
    /**
     * Get route dispatcher callback used by the
     * routing pipeline.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Bootstrap the application.
     */
/home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Core/Http/Kernel.php
     */
    public function init($request)
    {
        $this->app->instance('request', $request);
        Facade::clearResolvedInstance('request');
        $this->bootstrap();
    }
 
    /**
     * Handle an incoming HTTP request.
     *
     * @param \Illuminate\Http\Request $request
     *
     * @return IlluminateResponse
     */
    public function handle($request)
    {
        try {
            $request->enableHttpMethodParameterOverride();
            $response = $this->sendRequestThroughRouter($request);
        } catch (Exception $e) {
            $this->reportException($e);
            $response = $this->renderException($request, $e);
        } catch (Throwable $e) {
            $this->reportException($e = new FatalThrowableError($e));
            $response = $this->renderException($request, $e);
        }
 
        $this->app['events']->dispatch(
            new RequestHandled($request, $response),
        );
 
        return $response;
    }
 
    /**
     * Determine if the kernel has a given middleware.
     *
     * @param string $middleware
     *
/home/storm/sites/arctorchology-com/public/vendor/themosis/framework/src/Core/Application.php
        foreach ($this->terminatingCallbacks as $terminating) {
            $this->call($terminating);
        }
    }
 
    /**
     * Handle incoming request and return a response.
     * Abstract the implementation from the user for easy
     * theme integration.
     *
     * @param string                                    $kernel  Application kernel class name.
     * @param \Symfony\Component\HttpFoundation\Request $request
     *
     * @return $this
     */
    public function manage(string $kernel, $request)
    {
        $kernel = $this->make($kernel);
 
        $response = $kernel->handle($request);
        $response->sendHeaders();
        $response->sendContent();
 
        if (function_exists('shutdown_action_hook')) {
            shutdown_action_hook();
        }
 
        if (function_exists('fastcgi_finish_request')) {
            fastcgi_finish_request();
        } elseif (function_exists('litespeed_finish_request')) {
            litespeed_finish_request();
        } elseif (! in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
            Response::closeOutputBuffers(0, true);
        }
 
        $kernel->terminate($request, $response);
 
        return $this;
    }
 
/home/storm/sites/arctorchology-com/public/htdocs/content/themes/archtorchology/index.php
<?php
 
use Illuminate\Contracts\Http\Kernel;
use Themosis\Core\Application;
 
/**
 * Default WordPress template.
 *
 * By default, routes should be defined at application
 * root into the routes/web.php file.
 *
 * Routes can be overwritten using theme routes.php file.
 */
$app = Application::getInstance();
$app->manage(Kernel::class, $app['request']);
 
/home/storm/sites/arctorchology-com/public/htdocs/cms/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/storm/sites/arctorchology-com/public/htdocs/content/themes/archtorchology/index.php"
    
/home/storm/sites/arctorchology-com/public/htdocs/cms/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/storm/sites/arctorchology-com/public/htdocs/cms/wp-includes/template-loader.php"
    
/home/storm/sites/arctorchology-com/public/htdocs/index.php
<?php
 
/**
 * 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__).'/cms/wp-blog-header.php';
 
Arguments
  1. "/home/storm/sites/arctorchology-com/public/htdocs/cms/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache/2.4.52 (Ubuntu)"
REQUEST_URI
"/downloads/product-catalogue/"
USER
"arctorchology-com"
HOME
"/home/storm/sites/arctorchology-com"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/downloads/product-catalogue/"
REMOTE_PORT
"35878"
SCRIPT_FILENAME
"//home/storm/sites/arctorchology-com/public/htdocs/index.php"
SERVER_ADMIN
"[no address given]"
CONTEXT_DOCUMENT_ROOT
"/home/storm/sites/arctorchology-com/public/htdocs"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"http"
DOCUMENT_ROOT
"/home/storm/sites/arctorchology-com/public/htdocs"
REMOTE_ADDR
"3.237.186.170"
SERVER_PORT
"80"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"www.arctorchology.com"
SERVER_SIGNATURE
"<address>Apache/2.4.52 (Ubuntu) Server at www.arctorchology.com Port 80</address>\n"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
HTTP_CF_CONNECTING_IP
"3.237.186.170"
HTTP_REFERER
"https://arctorchology.com/product/"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
HTTP_CF_VISITOR
"{\"scheme\":\"https\"}"
HTTP_CF_RAY
"86b8290758838f16-IAD"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CDN_LOOP
"cloudflare"
HTTP_CONNECTION
"close"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_FOR
"3.237.186.170"
HTTP_X_REAL_IP
"3.237.186.170"
HTTP_HOST
"www.arctorchology.com"
proxy-nokeepalive
"1"
HTTP_AUTHORIZATION
""
HTTPS
"on"
REDIRECT_STATUS
"200"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_HTTPS
"on"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711634571.707
REQUEST_TIME
1711634571
APP_NAME
"Arc Torchology"
APP_ENV
"development"
APP_DEBUG
"true"
APP_KEY
"base64:yee5pYJY7PDKH9qnpsqSYbykrdYX8Bk+ypd5VLlApaQ="
APP_TD
"Arc Torchology"
APP_URL
"https://www.arctorchology.com"
WP_URL
"https://www.arctorchology.com/cms"
WP_ADMIN_EMAIL
"[email protected]"
DATABASE_NAME
"XX5ucmMF"
DATABASE_USER
"6EX2iWf3yTfPel"
DATABASE_PASSWORD
"LiCUhzIZQg3POaC5"
DATABASE_HOST
"localhost"
MAIL_MAILER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"[email protected]"
MAIL_PASSWORD
"bodx cryy ylco qdhz"
MAIL_ENCRYPTION
"tls"
MAIL_FROM_ADDRESS
"[email protected]"
MAIL_FROM_NAME
"Arc Torchology"
Key Value
APP_NAME
"Arc Torchology"
APP_ENV
"development"
APP_DEBUG
"true"
APP_KEY
"base64:yee5pYJY7PDKH9qnpsqSYbykrdYX8Bk+ypd5VLlApaQ="
APP_TD
"Arc Torchology"
APP_URL
"https://www.arctorchology.com"
WP_URL
"https://www.arctorchology.com/cms"
WP_ADMIN_EMAIL
"[email protected]"
DATABASE_NAME
"XX5ucmMF"
DATABASE_USER
"6EX2iWf3yTfPel"
DATABASE_PASSWORD
"LiCUhzIZQg3POaC5"
DATABASE_HOST
"localhost"
MAIL_MAILER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"[email protected]"
MAIL_PASSWORD
"bodx cryy ylco qdhz"
MAIL_ENCRYPTION
"tls"
MAIL_FROM_ADDRESS
"[email protected]"
MAIL_FROM_NAME
"Arc Torchology"
0. Whoops\Handler\PrettyPageHandler