Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException
No message Symfony\Component\HttpKernel\Exception\NotFoundHttpException thrown with message "" Stacktrace: #28 Symfony\Component\HttpKernel\Exception\NotFoundHttpException in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php:43 #27 Illuminate\Routing\AbstractRouteCollection:handleMatchedRoute in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php:162 #26 Illuminate\Routing\RouteCollection:match in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/Router.php:673 #25 Illuminate\Routing\Router:findRoute in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662 #24 Illuminate\Routing\Router:dispatchToRoute in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/Router.php:651 #23 Illuminate\Routing\Router:dispatch in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167 #22 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #21 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/ProxySession.php:32 #20 Anomaly\Streams\Platform\Http\Middleware\ProxySession:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #19 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #18 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #17 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 #16 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #15 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 #14 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121 #12 Illuminate\Session\Middleware\StartSession:handleStatefulRequest in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 #11 Illuminate\Session\Middleware\StartSession:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #9 Illuminate\Pipeline\Pipeline:then in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142 #8 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Kernel.php:132 #7 Anomaly\Streams\Platform\Http\Kernel:sendRequestThroughRouter in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111 #6 Illuminate\Foundation\Http\Kernel:handle in /home/naseemal/fajrsystem/vendor/barryvdh/laravel-httpcache/src/CacheKernel.php:27 #5 Barryvdh\HttpCache\CacheKernel:handle in /home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86 #4 Symfony\Component\HttpKernel\HttpCache\SubRequestHandler:handle in /home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php:481 #3 Symfony\Component\HttpKernel\HttpCache\HttpCache:forward in /home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php:454 #2 Symfony\Component\HttpKernel\HttpCache\HttpCache:fetch in /home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php:348 #1 Symfony\Component\HttpKernel\HttpCache\HttpCache:lookup in /home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php:226 #0 Symfony\Component\HttpKernel\HttpCache\HttpCache:handle in /home/naseemal/fajrsystem/public/index.php:54
28
Symfony\Component\HttpKernel\Exception\NotFoundHttpException
/vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php43
27
Illuminate\Routing\AbstractRouteCollection handleMatchedRoute
/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php162
26
Illuminate\Routing\RouteCollection match
/vendor/laravel/framework/src/Illuminate/Routing/Router.php673
25
Illuminate\Routing\Router findRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php662
24
Illuminate\Routing\Router dispatchToRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php651
23
Illuminate\Routing\Router dispatch
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php167
22
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
21
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/streams-platform/src/Http/Middleware/ProxySession.php32
20
Anomaly\Streams\Platform\Http\Middleware\ProxySession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
19
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php37
18
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
17
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php67
16
Illuminate\Cookie\Middleware\EncryptCookies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
15
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php49
14
Illuminate\View\Middleware\ShareErrorsFromSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
13
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php121
12
Illuminate\Session\Middleware\StartSession handleStatefulRequest
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php64
11
Illuminate\Session\Middleware\StartSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
10
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
9
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php142
8
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/anomaly/streams-platform/src/Http/Kernel.php132
7
Anomaly\Streams\Platform\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php111
6
Illuminate\Foundation\Http\Kernel handle
/vendor/barryvdh/laravel-httpcache/src/CacheKernel.php27
5
Barryvdh\HttpCache\CacheKernel handle
/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php86
4
Symfony\Component\HttpKernel\HttpCache\SubRequestHandler handle
/vendor/symfony/http-kernel/HttpCache/HttpCache.php481
3
Symfony\Component\HttpKernel\HttpCache\HttpCache forward
/vendor/symfony/http-kernel/HttpCache/HttpCache.php454
2
Symfony\Component\HttpKernel\HttpCache\HttpCache fetch
/vendor/symfony/http-kernel/HttpCache/HttpCache.php348
1
Symfony\Component\HttpKernel\HttpCache\HttpCache lookup
/vendor/symfony/http-kernel/HttpCache/HttpCache.php226
0
Symfony\Component\HttpKernel\HttpCache\HttpCache handle
/public/index.php54
/home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php
     * @return \Illuminate\Routing\Route
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    protected function handleMatchedRoute(Request $request, $route)
    {
        if (! is_null($route)) {
            return $route->bind($request);
        }
 
        // If no route was found we will now check if a matching route is specified by
        // another HTTP verb. If it is we will need to throw a MethodNotAllowed and
        // inform the user agent of which HTTP verb it should use for this route.
        $others = $this->checkForAlternateVerbs($request);
 
        if (count($others) > 0) {
            return $this->getRouteForMethods($request, $others);
        }
 
        throw new NotFoundHttpException;
    }
 
    /**
     * Determine if any routes match on another HTTP verb.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    protected function checkForAlternateVerbs($request)
    {
        $methods = array_diff(Router::$verbs, [$request->getMethod()]);
 
        // Here we will spin through all verbs except for the current request verb and
        // check to see if any routes respond to them. If they do, we will return a
        // proper error response with the correct headers on the response string.
        return array_values(array_filter(
            $methods,
            function ($method) use ($request) {
                return ! is_null($this->matchAgainstRoutes($this->get($method), $request, false));
            }
Arguments
  1. ""
    
/home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php
 
    /**
     * Find the first route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     *
     * @throws \Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    public function match(Request $request)
    {
        $routes = $this->get($request->getMethod());
 
        // First, we will see if we can find a matching route for this current request
        // method. If we can, great, we can just return it so that it can be called
        // by the consumer. Otherwise we will check for routes with another verb.
        $route = $this->matchAgainstRoutes($routes, $request);
 
        return $this->handleMatchedRoute($request, $route);
    }
 
    /**
     * Get routes from the collection by method.
     *
     * @param  string|null  $method
     * @return \Illuminate\Routing\Route[]
     */
    public function get($method = null)
    {
        return is_null($method) ? $this->getRoutes() : Arr::get($this->routes, $method, []);
    }
 
    /**
     * Determine if the route collection contains a given named route.
     *
     * @param  string  $name
     * @return bool
     */
    public function hasNamedRoute($name)
/home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/Router.php
    /**
     * 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;
    }
 
    /**
     * 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;
        });
/home/naseemal/fajrsystem/vendor/laravel/framework/src/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/naseemal/fajrsystem/vendor/laravel/framework/src/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/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    public function terminate($request, $response)
    {
        $this->terminateMiddleware($request, $response);
 
        $this->app->terminate();
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
/home/naseemal/fajrsystem/vendor/laravel/framework/src/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/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/ProxySession.php
 * @author Ryan Thompson <[email protected]>
 */
class ProxySession
{
 
    /**
     * Push the user check state to cookie
     * so that the services like HTTPCACHE
     * can keep up with activity within the
     * CMS which is generally bypassed early.
     *
     * @param Request $request
     * @param Closure $next
     * @return bool|\Illuminate\Http\RedirectResponse|mixed|string
     */
    public function handle(Request $request, Closure $next)
    {
        $check = auth()->check();
 
        $response = $next($request);
 
        if (method_exists($response, 'withCookie')) {
            return $response->withCookie(
                cookie('session_proxy', $check, $check ? config('session.lifetime', 120) : -1, null, null, $request->isSecure())
            );
        }
 
        return $response;
    }
}
 
/home/naseemal/fajrsystem/vendor/laravel/framework/src/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/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
     * Create a new CookieQueue instance.
     *
     * @param  \Illuminate\Contracts\Cookie\QueueingFactory  $cookies
     * @return void
     */
    public function __construct(CookieJar $cookies)
    {
        $this->cookies = $cookies;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
 
        foreach ($this->cookies->getQueuedCookies() as $cookie) {
            $response->headers->setCookie($cookie);
        }
 
        return $response;
    }
}
 
/home/naseemal/fajrsystem/vendor/laravel/framework/src/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/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
     * Disable encryption for the given cookie name(s).
     *
     * @param  string|array  $name
     * @return void
     */
    public function disableFor($name)
    {
        $this->except = array_merge($this->except, (array) $name);
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function handle($request, Closure $next)
    {
        return $this->encrypt($next($this->decrypt($request)));
    }
 
    /**
     * Decrypt the cookies on the request.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @return \Symfony\Component\HttpFoundation\Request
     */
    protected function decrypt(Request $request)
    {
        foreach ($request->cookies as $key => $cookie) {
            if ($this->isDisabled($key) || is_array($cookie)) {
                continue;
            }
 
            try {
                $value = $this->decryptCookie($key, $cookie);
 
                $hasValidPrefix = strpos($value, CookieValuePrefix::create($key, $this->encrypter->getKey())) === 0;
 
/home/naseemal/fajrsystem/vendor/laravel/framework/src/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/naseemal/fajrsystem/vendor/laravel/framework/src/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/naseemal/fajrsystem/vendor/laravel/framework/src/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/naseemal/fajrsystem/vendor/laravel/framework/src/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/naseemal/fajrsystem/vendor/laravel/framework/src/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/naseemal/fajrsystem/vendor/laravel/framework/src/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/naseemal/fajrsystem/vendor/laravel/framework/src/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/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
    {
        $this->app->instance('request', $request);
 
        Facade::clearResolvedInstance('request');
 
        $this->bootstrap();
 
        return (new Pipeline($this->app))
                    ->send($request)
                    ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
                    ->then($this->dispatchToRouter());
    }
 
    /**
     * Bootstrap the application for HTTP requests.
     *
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
/home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Kernel.php
    /**
     * Send the request through the router.
     *
     * This is the same as the parent logic
     * with the exception of "routeAutomatically"
     *
     * @param \Illuminate\Http\Request $request
     * @return \Illuminate\Http\Response
     */
    public function sendRequestThroughRouter($request)
    {
        $this->app->instance('request', $request);
 
        Facade::clearResolvedInstance('request');
 
        $this->bootstrap();
 
        $this->routeAutomatically($request);
 
        return parent::sendRequestThroughRouter($request);
    }
 
    /**
     * Attempt to route the request automatically.
     *
     * Huge thanks to @frednwt for this one.
     *
     * @param Request $request
     */
    protected function routeAutomatically(Request $request)
    {
 
        /**
         * This only applies to admin
         * controllers at this time.
         */
        if ($request->segment(1) !== 'admin') {
            return;
        }
 
/home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
    public function __construct(Application $app, Router $router)
    {
        $this->app = $app;
        $this->router = $router;
 
        $this->syncMiddlewareToRouter();
    }
 
    /**
     * Handle an incoming HTTP request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function handle($request)
    {
        try {
            $request->enableHttpMethodParameterOverride();
 
            $response = $this->sendRequestThroughRouter($request);
        } catch (Throwable $e) {
            $this->reportException($e);
 
            $response = $this->renderException($request, $e);
        }
 
        $this->app['events']->dispatch(
            new RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
/home/naseemal/fajrsystem/vendor/barryvdh/laravel-httpcache/src/CacheKernel.php
use Symfony\Component\HttpKernel\HttpCache\Store;
use Symfony\Component\HttpKernel\HttpCache\SurrogateInterface;
use Symfony\Component\HttpKernel\HttpKernelInterface;
 
class CacheKernel implements HttpKernelInterface
{
    /** @var  Kernel */
    protected $kernel;
 
    protected function __construct(Kernel $kernel)
    {
        $this->kernel = $kernel;
    }
 
    /**
     * {@inheritdoc}
     */
    public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = true)
    {
        return $this->kernel->handle($request);
    }
 
    /**
     * Wrap a Laravel Kernel in a Symfony HttpKernel
     *
     * @param Kernel $kernel
     * @param null $storagePath
     * @param SurrogateInterface|null $surrogate
     * @param array $options
     * @return Kernel|HttpCache
     */
    public static function wrap(Kernel $kernel, $storagePath = null, SurrogateInterface $surrogate = null, $options = [] )
    {
        $storagePath = $storagePath ?: storage_path('httpcache');
        $store = new Store($storagePath);
 
        $wrapper = new static($kernel);
        $kernel = new HttpCache($wrapper, $store, $surrogate, $options);
 
        return $kernel;
/home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php
        if (Request::HEADER_X_FORWARDED_FOR & $trustedHeaderSet) {
            $request->headers->set('X-Forwarded-For', $v = implode(', ', $trustedIps));
            $request->server->set('HTTP_X_FORWARDED_FOR', $v);
        } elseif (!(Request::HEADER_FORWARDED & $trustedHeaderSet)) {
            Request::setTrustedProxies($trustedProxies, $trustedHeaderSet | Request::HEADER_X_FORWARDED_FOR);
            $request->headers->set('X-Forwarded-For', $v = implode(', ', $trustedIps));
            $request->server->set('HTTP_X_FORWARDED_FOR', $v);
        }
 
        // fix the client IP address by setting it to 127.0.0.1,
        // which is the core responsibility of this method
        $request->server->set('REMOTE_ADDR', '127.0.0.1');
 
        // ensure 127.0.0.1 is set as trusted proxy
        if (!IpUtils::checkIp('127.0.0.1', $trustedProxies)) {
            Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
        }
 
        try {
            return $kernel->handle($request, $type, $catch);
        } finally {
            // restore global state
            Request::setTrustedProxies($trustedProxies, $trustedHeaderSet);
        }
    }
}
 
/home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php
 
    /**
     * Forwards the Request to the backend and returns the Response.
     *
     * All backend requests (cache passes, fetches, cache validations)
     * run through this method.
     *
     * @param bool          $catch Whether to catch exceptions or not
     * @param Response|null $entry A Response instance (the stale entry if present, null otherwise)
     *
     * @return Response
     */
    protected function forward(Request $request, bool $catch = false, Response $entry = null)
    {
        if ($this->surrogate) {
            $this->surrogate->addSurrogateCapability($request);
        }
 
        // always a "master" request (as the real master request can be in cache)
        $response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch);
 
        /*
         * Support stale-if-error given on Responses or as a config option.
         * RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
         * Cache-Control directives) that
         *
         *      A cache MUST NOT generate a stale response if it is prohibited by an
         *      explicit in-protocol directive (e.g., by a "no-store" or "no-cache"
         *      cache directive, a "must-revalidate" cache-response-directive, or an
         *      applicable "s-maxage" or "proxy-revalidate" cache-response-directive;
         *      see Section 5.2.2).
         *
         * https://tools.ietf.org/html/rfc7234#section-4.2.4
         *
         * We deviate from this in one detail, namely that we *do* serve entries in the
         * stale-if-error case even if they have a `s-maxage` Cache-Control directive.
         */
        if (null !== $entry
            && \in_array($response->getStatusCode(), [500, 502, 503, 504])
            && !$entry->headers->hasCacheControlDirective('no-cache')
/home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php
     * stores it in the cache if is cacheable.
     *
     * @param bool $catch Whether to process exceptions
     *
     * @return Response
     */
    protected function fetch(Request $request, bool $catch = false)
    {
        $subRequest = clone $request;
 
        // send no head requests because we want content
        if ('HEAD' === $request->getMethod()) {
            $subRequest->setMethod('GET');
        }
 
        // avoid that the backend sends no content
        $subRequest->headers->remove('If-Modified-Since');
        $subRequest->headers->remove('If-None-Match');
 
        $response = $this->forward($subRequest, $catch);
 
        if ($response->isCacheable()) {
            $this->store($request, $response);
        }
 
        return $response;
    }
 
    /**
     * Forwards the Request to the backend and returns the Response.
     *
     * All backend requests (cache passes, fetches, cache validations)
     * run through this method.
     *
     * @param bool          $catch Whether to catch exceptions or not
     * @param Response|null $entry A Response instance (the stale entry if present, null otherwise)
     *
     * @return Response
     */
    protected function forward(Request $request, bool $catch = false, Response $entry = null)
/home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php
     * @throws \Exception
     */
    protected function lookup(Request $request, bool $catch = false)
    {
        try {
            $entry = $this->store->lookup($request);
        } catch (\Exception $e) {
            $this->record($request, 'lookup-failed');
 
            if ($this->options['debug']) {
                throw $e;
            }
 
            return $this->pass($request, $catch);
        }
 
        if (null === $entry) {
            $this->record($request, 'miss');
 
            return $this->fetch($request, $catch);
        }
 
        if (!$this->isFreshEnough($request, $entry)) {
            $this->record($request, 'stale');
 
            return $this->validate($request, $entry, $catch);
        }
 
        if ($entry->headers->hasCacheControlDirective('no-cache')) {
            return $this->validate($request, $entry, $catch);
        }
 
        $this->record($request, 'fresh');
 
        $entry->headers->set('Age', $entry->getAge());
 
        return $entry;
    }
 
    /**
/home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php
            if (null !== $this->surrogate) {
                $this->surrogateCacheStrategy = $this->surrogate->createCacheStrategy();
            }
        }
 
        $this->traces[$this->getTraceKey($request)] = [];
 
        if (!$request->isMethodSafe()) {
            $response = $this->invalidate($request, $catch);
        } elseif ($request->headers->has('expect') || !$request->isMethodCacheable()) {
            $response = $this->pass($request, $catch);
        } elseif ($this->options['allow_reload'] && $request->isNoCache()) {
            /*
                If allow_reload is configured and the client requests "Cache-Control: no-cache",
                reload the cache by fetching a fresh response and caching it (if possible).
            */
            $this->record($request, 'reload');
            $response = $this->fetch($request, $catch);
        } else {
            $response = $this->lookup($request, $catch);
        }
 
        $this->restoreResponseBody($request, $response);
 
        if (HttpKernelInterface::MAIN_REQUEST === $type) {
            $this->addTraces($response);
        }
 
        if (null !== $this->surrogate) {
            if (HttpKernelInterface::MAIN_REQUEST === $type) {
                $this->surrogateCacheStrategy->update($response);
            } else {
                $this->surrogateCacheStrategy->add($response);
            }
        }
 
        $response->prepare($request);
 
        $response->isNotModified($request);
 
/home/naseemal/fajrsystem/public/index.php
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$kernel = \Anomaly\Streams\Platform\Http\CacheKernel::wrap($kernel);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 
 

Environment & details:

Key Value
page
"actTourism"
empty
empty
empty
empty
Key Value
CONTEXT_DOCUMENT_ROOT
"/home/naseemal/public_html"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/naseemal/public_html"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_AUTHORIZATION
""
HTTP_CDN_LOOP
"cloudflare"
HTTP_CF_CONNECTING_IP
"54.157.61.194"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CF_RAY
"866bd726c9256fd3-IAD"
HTTP_CF_VISITOR
"{"scheme":"http"}"
HTTP_COOKIE
""
HTTP_HOST
"www.naseemalsham.com"
HTTP_USER_AGENT
"claudebot"
HTTP_X_FORWARDED_FOR
"54.157.61.194"
HTTP_X_FORWARDED_HOST
"www.naseemalsham.com"
HTTP_X_FORWARDED_PROTO
"http"
HTTP_X_FORWARDED_SERVER
"www.naseemalsham.com"
HTTP_X_REAL_IP
"54.157.61.194"
HTTP_X_VARNISH
"78765065"
PATH
"/bin:/usr/bin:/usr/local/php/bin"
PHPRC
"/home/naseemal"
QUERY_STRING
"page=actTourism"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_QUERY_STRING
"page=actTourism"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"ZflANgQ6EcNnJpdnTlwy8gAAARM"
REDIRECT_URL
"/ar/Pages.php"
REMOTE_ADDR
"103.6.245.177"
REMOTE_PORT
"53984"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_URI
"/Pages.php?page=actTourism"
SCRIPT_FILENAME
"/home/naseemal/public_html/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"103.6.245.177"
SERVER_ADMIN
"[email protected]"
SERVER_NAME
"www.naseemalsham.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips"
UNIQUE_ID
"ZflANgQ6EcNnJpdnTlwy8gAAARM"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710833718.2795
REQUEST_TIME
1710833718
ORIGINAL_REQUEST_URI
"/ar/Pages.php?page=actTourism"
APP_ENV
"production"
APP_DEBUG
"true"
INSTALLED
"true"
APP_KEY
"hlOJCcGNTaVY81AzS5LZsrHxmbAS9JOb"
DEBUG_BAR
"false"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_DATABASE
"naseemal_sham"
DB_USERNAME
"naseemal_sham"
DB_PASSWORD
"muDlg6uDkrUZ"
APPLICATION_NAME
"nassem"
APPLICATION_DOMAIN
"naseemalsham.com"
APPLICATION_REFERENCE
"ns"
APP_URL
"https://naseemalsham.com"
ASSET_URL
"https://naseemalsham.com"
Key Value
APP_ENV
"production"
APP_DEBUG
"true"
INSTALLED
"true"
APP_KEY
"hlOJCcGNTaVY81AzS5LZsrHxmbAS9JOb"
DEBUG_BAR
"false"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_DATABASE
"naseemal_sham"
DB_USERNAME
"naseemal_sham"
DB_PASSWORD
"muDlg6uDkrUZ"
APPLICATION_NAME
"nassem"
APPLICATION_DOMAIN
"naseemalsham.com"
APPLICATION_REFERENCE
"ns"
APP_URL
"https://naseemalsham.com"
ASSET_URL
"https://naseemalsham.com"
0. Whoops\Handler\PrettyPageHandler