InvalidArgumentException
View [auth.register] not found. InvalidArgumentException thrown with message "View [auth.register] not found." Stacktrace: #66 InvalidArgumentException in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137 #65 Illuminate\View\FileViewFinder:findInPaths in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:79 #64 Illuminate\View\FileViewFinder:find in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/View/Factory.php:131 #63 Illuminate\View\Factory:make in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:970 #62 view in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Auth/RegistersUsers.php:20 #61 App\Http\Controllers\WWW\Auth\RegisterController:showRegistrationForm in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 #60 Illuminate\Routing\Controller:callAction in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 #59 Illuminate\Routing\ControllerDispatcher:dispatch in /var/www/html/gestionale/laravel/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Routing/TracingControllerDispatcherTracing.php:21 #58 Sentry\Laravel\Tracing\Routing\TracingControllerDispatcherTracing:Sentry\Laravel\Tracing\Routing\{closure} in /var/www/html/gestionale/laravel/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Routing/TracingRoutingDispatcher.php:19 #57 Sentry\Laravel\Tracing\Routing\TracingRoutingDispatcher:wrapRouteDispatch in /var/www/html/gestionale/laravel/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Routing/TracingControllerDispatcherTracing.php:20 #56 Sentry\Laravel\Tracing\Routing\TracingControllerDispatcherTracing:dispatch in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Route.php:219 #55 Illuminate\Routing\Route:runController in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Route.php:176 #54 Illuminate\Routing\Route:run in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php:681 #53 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130 #52 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/elic-dev/laravel-site-protection/src/Http/Middleware/SiteProtection.php:27 #51 ElicDev\SiteProtection\Http\Middleware\SiteProtection:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #50 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/app/Http/Middleware/LogLastUserActivity.php:27 #49 App\Http\Middleware\LogLastUserActivity:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #48 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 #47 Illuminate\Routing\Middleware\SubstituteBindings:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #46 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78 #45 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #44 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #43 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #42 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 #41 Illuminate\Pipeline\Pipeline:then in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php:683 #40 Illuminate\Routing\Router:runRouteWithinStack in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php:658 #39 Illuminate\Routing\Router:runRoute in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php:624 #38 Illuminate\Routing\Router:dispatchToRoute in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php:613 #37 Illuminate\Routing\Router:dispatch in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170 #36 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130 #35 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestIpMiddleware.php:45 #34 Sentry\Laravel\Http\SetRequestIpMiddleware:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #33 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestMiddleware.php:30 #32 Sentry\Laravel\Http\SetRequestMiddleware:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #31 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/proengsoft/laravel-jsvalidation/src/RemoteValidationMiddleware.php:61 #30 Proengsoft\JsValidation\RemoteValidationMiddleware:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #29 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:60 #28 Barryvdh\Debugbar\Middleware\InjectDebugbar:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #27 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/spatie/laravel-cors/src/Cors.php:28 #26 Spatie\Cors\Cors:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #25 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 #24 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #23 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/app/Http/Middleware/CheckReferralCode.php:30 #22 App\Http\Middleware\CheckReferralCode:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #21 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 #20 Illuminate\Cookie\Middleware\EncryptCookies:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #19 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:56 #18 Illuminate\Session\Middleware\StartSession:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #17 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/fideloper/proxy/src/TrustProxies.php:57 #16 Fideloper\Proxy\TrustProxies:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #15 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #14 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #12 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #11 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 #10 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #9 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63 #8 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/itsgoingd/clockwork/Clockwork/Support/Laravel/ClockworkMiddleware.php:24 #6 Clockwork\Support\Laravel\ClockworkMiddleware:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Middleware.php:78 #4 Sentry\Laravel\Tracing\Middleware:handle in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #3 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 #2 Illuminate\Pipeline\Pipeline:then in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110 #0 Illuminate\Foundation\Http\Kernel:handle in /var/www/html/gestionale/public_html/index.php:53
66
InvalidArgumentException
/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php137
65
Illuminate\View\FileViewFinder findInPaths
/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php79
64
Illuminate\View\FileViewFinder find
/vendor/laravel/framework/src/Illuminate/View/Factory.php131
63
Illuminate\View\Factory make
/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php970
62
view
/vendor/laravel/framework/src/Illuminate/Foundation/Auth/RegistersUsers.php20
61
App\Http\Controllers\WWW\Auth\RegisterController showRegistrationForm
/vendor/laravel/framework/src/Illuminate/Routing/Controller.php54
60
Illuminate\Routing\Controller callAction
/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php45
59
Illuminate\Routing\ControllerDispatcher dispatch
/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Routing/TracingControllerDispatcherTracing.php21
58
Sentry\Laravel\Tracing\Routing\TracingControllerDispatcherTracing Sentry\Laravel\Tracing\Routing\{closure}
/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Routing/TracingRoutingDispatcher.php19
57
Sentry\Laravel\Tracing\Routing\TracingRoutingDispatcher wrapRouteDispatch
/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Routing/TracingControllerDispatcherTracing.php20
56
Sentry\Laravel\Tracing\Routing\TracingControllerDispatcherTracing dispatch
/vendor/laravel/framework/src/Illuminate/Routing/Route.php219
55
Illuminate\Routing\Route runController
/vendor/laravel/framework/src/Illuminate/Routing/Route.php176
54
Illuminate\Routing\Route run
/vendor/laravel/framework/src/Illuminate/Routing/Router.php681
53
Illuminate\Routing\Router Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php130
52
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/elic-dev/laravel-site-protection/src/Http/Middleware/SiteProtection.php27
51
ElicDev\SiteProtection\Http\Middleware\SiteProtection handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
50
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/LogLastUserActivity.php27
49
App\Http\Middleware\LogLastUserActivity handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
48
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php41
47
Illuminate\Routing\Middleware\SubstituteBindings handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
46
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php78
45
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
44
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php37
43
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
42
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php105
41
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Routing/Router.php683
40
Illuminate\Routing\Router runRouteWithinStack
/vendor/laravel/framework/src/Illuminate/Routing/Router.php658
39
Illuminate\Routing\Router runRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php624
38
Illuminate\Routing\Router dispatchToRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php613
37
Illuminate\Routing\Router dispatch
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php170
36
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php130
35
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestIpMiddleware.php45
34
Sentry\Laravel\Http\SetRequestIpMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
33
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestMiddleware.php30
32
Sentry\Laravel\Http\SetRequestMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
31
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/proengsoft/laravel-jsvalidation/src/RemoteValidationMiddleware.php61
30
Proengsoft\JsValidation\RemoteValidationMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
29
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php60
28
Barryvdh\Debugbar\Middleware\InjectDebugbar handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
27
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/spatie/laravel-cors/src/Cors.php28
26
Spatie\Cors\Cors handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
25
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php49
24
Illuminate\View\Middleware\ShareErrorsFromSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
23
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/CheckReferralCode.php30
22
App\Http\Middleware\CheckReferralCode handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
21
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php67
20
Illuminate\Cookie\Middleware\EncryptCookies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
19
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php56
18
Illuminate\Session\Middleware\StartSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
17
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/fideloper/proxy/src/TrustProxies.php57
16
Fideloper\Proxy\TrustProxies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
15
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
14
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
13
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
12
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
11
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php27
10
Illuminate\Foundation\Http\Middleware\ValidatePostSize handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
9
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php63
8
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
7
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/itsgoingd/clockwork/Clockwork/Support/Laravel/ClockworkMiddleware.php24
6
Clockwork\Support\Laravel\ClockworkMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
5
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Middleware.php78
4
Sentry\Laravel\Tracing\Middleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
3
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php105
2
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php145
1
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php110
0
Illuminate\Foundation\Http\Kernel handle
/var/www/html/gestionale/public_html/index.php53
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/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 [auth.register] not found."
    
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/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->paths);
    }
 
    /**
     * Get the path to a template with a named path.
     *
     * @param  string  $name
     * @return string
     */
    protected function findNamespacedView($name)
    {
        [$namespace, $view] = $this->parseNamespaceSegments($name);
 
        return $this->findInPaths($view, $this->hints[$namespace]);
    }
 
    /**
     * Get the segments of a template with a named path.
     *
     * @param  string  $name
     * @return array
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/View/Factory.php
    {
        $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
     *
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php
}
 
if (! function_exists('view')) {
    /**
     * Get the evaluated view contents for the given view.
     *
     * @param  string|null  $view
     * @param  \Illuminate\Contracts\Support\Arrayable|array  $data
     * @param  array  $mergeData
     * @return \Illuminate\View\View|\Illuminate\Contracts\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);
    }
}
 
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Auth/RegistersUsers.php
<?php
 
namespace Illuminate\Foundation\Auth;
 
use Illuminate\Auth\Events\Registered;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
 
trait RegistersUsers
{
    use RedirectsUsers;
 
    /**
     * Show the application registration form.
     *
     * @return \Illuminate\Http\Response
     */
    public function showRegistrationForm()
    {
        return view('auth.register');
    }
 
    /**
     * Handle a registration request for the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function register(Request $request)
    {
        $this->validator($request->all())->validate();
 
        event(new Registered($user = $this->create($request->all())));
 
        $this->guard()->login($user);
 
        return $this->registered($request, $user)
                        ?: redirect($this->redirectPath());
    }
 
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
    /**
     * Get the middleware assigned to the controller.
     *
     * @return array
     */
    public function getMiddleware()
    {
        return $this->middleware;
    }
 
    /**
     * Execute an action on the controller.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function callAction($method, $parameters)
    {
        return $this->{$method}(...array_values($parameters));
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }
}
 
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
    {
        $this->container = $container;
    }
 
    /**
     * Dispatch a request to a given controller and method.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  mixed  $controller
     * @param  string  $method
     * @return mixed
     */
    public function dispatch(Route $route, $controller, $method)
    {
        $parameters = $this->resolveClassMethodDependencies(
            $route->parametersWithoutNulls(), $controller, $method
        );
 
        if (method_exists($controller, 'callAction')) {
            return $controller->callAction($method, $parameters);
        }
 
        return $controller->{$method}(...array_values($parameters));
    }
 
    /**
     * Get the middleware for the controller instance.
     *
     * @param  \Illuminate\Routing\Controller  $controller
     * @param  string  $method
     * @return array
     */
    public function getMiddleware($controller, $method)
    {
        if (! method_exists($controller, 'getMiddleware')) {
            return [];
        }
 
        return collect($controller->getMiddleware())->reject(function ($data) use ($method) {
            return static::methodExcludedByOptions($method, $data['options']);
/var/www/html/gestionale/laravel/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Routing/TracingControllerDispatcherTracing.php
 
namespace Sentry\Laravel\Tracing\Routing;
 
use Illuminate\Routing\Contracts\ControllerDispatcher;
use Illuminate\Routing\Route;
 
class TracingControllerDispatcherTracing extends TracingRoutingDispatcher implements ControllerDispatcher
{
    /** @var \Illuminate\Routing\Contracts\ControllerDispatcher */
    private $dispatcher;
 
    public function __construct(ControllerDispatcher $dispatcher)
    {
        $this->dispatcher = $dispatcher;
    }
 
    public function dispatch(Route $route, $controller, $method)
    {
        return $this->wrapRouteDispatch(function () use ($route, $controller, $method) {
            return $this->dispatcher->dispatch($route, $controller, $method);
        }, $route);
    }
 
    public function getMiddleware($controller, $method)
    {
        return $this->dispatcher->getMiddleware($controller, $method);
    }
}
 
/var/www/html/gestionale/laravel/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Routing/TracingRoutingDispatcher.php
<?php
 
namespace Sentry\Laravel\Tracing\Routing;
 
use Illuminate\Routing\Route;
use Sentry\SentrySdk;
use Sentry\Tracing\SpanContext;
 
abstract class TracingRoutingDispatcher
{
    protected function wrapRouteDispatch(callable $dispatch, Route $route)
    {
        $parentSpan = SentrySdk::getCurrentHub()->getSpan();
 
        // When there is no span we can skip creating
        // the span and just immediately return with the
        // callable result because there is no transaction.
        if ($parentSpan === null) {
            return $dispatch();
        }
 
        $context = new SpanContext;
        $context->setOp('http.route');
        $context->setDescription($route->getActionName());
 
        $span = $parentSpan->startChild($context);
 
        SentrySdk::getCurrentHub()->setSpan($span);
 
        try {
            return $dispatch();
        } finally {
            $span->finish();
 
            SentrySdk::getCurrentHub()->setSpan($parentSpan);
        }
    }
}
 
/var/www/html/gestionale/laravel/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Routing/TracingControllerDispatcherTracing.php
<?php
 
namespace Sentry\Laravel\Tracing\Routing;
 
use Illuminate\Routing\Contracts\ControllerDispatcher;
use Illuminate\Routing\Route;
 
class TracingControllerDispatcherTracing extends TracingRoutingDispatcher implements ControllerDispatcher
{
    /** @var \Illuminate\Routing\Contracts\ControllerDispatcher */
    private $dispatcher;
 
    public function __construct(ControllerDispatcher $dispatcher)
    {
        $this->dispatcher = $dispatcher;
    }
 
    public function dispatch(Route $route, $controller, $method)
    {
        return $this->wrapRouteDispatch(function () use ($route, $controller, $method) {
            return $this->dispatcher->dispatch($route, $controller, $method);
        }, $route);
    }
 
    public function getMiddleware($controller, $method)
    {
        return $this->dispatcher->getMiddleware($controller, $method);
    }
}
 
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Route.php
    protected function runCallable()
    {
        $callable = $this->action['uses'];
 
        return $callable(...array_values($this->resolveMethodDependencies(
            $this->parametersWithoutNulls(), new ReflectionFunction($this->action['uses'])
        )));
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    protected function runController()
    {
        return $this->controllerDispatcher()->dispatch(
            $this, $this->getController(), $this->getControllerMethod()
        );
    }
 
    /**
     * Get the controller instance for the route.
     *
     * @return mixed
     */
    public function getController()
    {
        if (! $this->controller) {
            $class = $this->parseControllerCallback()[0];
 
            $this->controller = $this->container->make(ltrim($class, '\\'));
        }
 
        return $this->controller;
    }
 
    /**
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Route.php
     *
     * @throws \UnexpectedValueException
     */
    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']);
    }
 
    /**
     * Run the route action and return the response.
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/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)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
/var/www/html/gestionale/laravel/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 (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($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
/var/www/html/gestionale/laravel/vendor/elic-dev/laravel-site-protection/src/Http/Middleware/SiteProtection.php
 
class SiteProtection
{
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @param  string|null  $guard
     * @return mixed
     */
    public function handle($request, Closure $next, $guard = null)
    {
        $password = config('site-protection.passwords');
 
        if (empty($password) ||
            $this->inExceptArray($request) ||
            $this->isNotInProtectedOnlyPath($request)) {
            return $next($request);
        }
 
        $passwords = explode(',', $password);
 
        if (in_array($request->get('site-password-protected'), $passwords)) {
            setcookie('site-password-protected', encrypt($request->get('site-password-protected')), time() + config('site-protection.cookie_lifetime'), '/');
            return redirect($request->url());
        }
 
        try {
            $usersPassword = decrypt(Arr::get($_COOKIE, 'site-password-protected'));
            if (in_array($usersPassword, $passwords)) {
                return $next($request);
            }
        } catch (DecryptException $e) {
            // empty value in cookie
        }
 
        return response(view('site-protection::site-protection-form'), 403);
    }
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/app/Http/Middleware/LogLastUserActivity.php
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Cache;

class LogLastUserActivity
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if(Auth::check()) {
            $expiresAt = Carbon::now()->addSeconds(300);
            Cache::put('user-is-online-' . Auth::user()->id, true, $expiresAt);
        }
        
        return $next($request);
    }
}
 
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
     */
    public function __construct(Registrar $router)
    {
        $this->router = $router;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->router->substituteBindings($route = $request->route());
 
        $this->router->substituteImplicitBindings($route);
 
        return $next($request);
    }
}
 
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Illuminate\Session\TokenMismatchException
     */
    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)
    {
        return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
    }
 
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/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;
    }
}
 
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/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
     */
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     *
     * @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)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
     * Sort the given middleware by priority.
     *
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/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)
/var/www/html/gestionale/laravel/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);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
/var/www/html/gestionale/laravel/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)
/var/www/html/gestionale/laravel/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.
     *
/var/www/html/gestionale/laravel/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 (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($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
/var/www/html/gestionale/laravel/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestIpMiddleware.php
    public function handle(Request $request, Closure $next)
    {
        $container = Container::getInstance();
 
        if ($container->bound(HubInterface::class)) {
            /** @var \Sentry\State\HubInterface $sentry */
            $sentry = $container->make(HubInterface::class);
 
            $client = $sentry->getClient();
 
            if ($client !== null && $client->getOptions()->shouldSendDefaultPii()) {
                $sentry->configureScope(static function (Scope $scope) use ($request): void {
                    $scope->setUser([
                        'ip_address' => $request->ip(),
                    ]);
                });
            }
        }
 
        return $next($request);
    }
}
 
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestMiddleware.php
 
/**
 * This middleware caches a PSR-7 version of the request as early as possible.
 * This is done to prevent running into (mostly uploaded file) parsing failures.
 */
class SetRequestMiddleware
{
    public function handle(Request $request, Closure $next)
    {
        $container = Container::getInstance();
 
        if ($container->bound(HubInterface::class)) {
            $psrRequest = $this->resolvePsrRequest($container);
 
            if ($psrRequest !== null) {
                $container->instance(LaravelRequestFetcher::CONTAINER_PSR7_INSTANCE_KEY, $psrRequest);
            }
        }
 
        return $next($request);
    }
 
    private function resolvePsrRequest(Container $container): ?ServerRequestInterface
    {
        try {
            return $container->make(ServerRequestInterface::class);
        } catch (BindingResolutionException $e) {
            // This happens if Laravel doesn't have the correct classes available to construct the PSR-7 object
        }
 
        return null;
    }
}
 
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/proengsoft/laravel-jsvalidation/src/RemoteValidationMiddleware.php
    {
        $this->factory = $validator;
        $this->field = $config->get('jsvalidation.remote_validation_field');
        $this->escape = (bool) $config->get('jsvalidation.escape', false);
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        if ($request->has($this->field)) {
            $this->wrapValidator();
        }
 
        return $next($request);
    }
 
    /**
     * Wraps Validator resolver with RemoteValidator resolver.
     *
     * @return void
     */
    protected function wrapValidator()
    {
        $resolver = new Resolver($this->factory, $this->escape);
        $this->factory->resolver($resolver->resolver($this->field));
        $this->factory->extend(RemoteValidator::EXTENSION_NAME, $resolver->validatorClosure());
    }
}
 
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php
     * @param  LaravelDebugbar $debugbar
     */
    public function __construct(Container $container, LaravelDebugbar $debugbar)
    {
        $this->container = $container;
        $this->debugbar = $debugbar;
        $this->except = config('debugbar.except') ?: [];
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  Request  $request
     * @param  Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if (!$this->debugbar->isEnabled() || $this->inExceptArray($request)) {
            return $next($request);
        }
 
        $this->debugbar->boot();
 
        try {
            /** @var \Illuminate\Http\Response $response */
            $response = $next($request);
        } catch (Exception $e) {
            $response = $this->handleException($request, $e);
        } catch (Error $error) {
            $e = new FatalThrowableError($error);
            $response = $this->handleException($request, $e);
        }
 
        // Modify the response to add the Debugbar
        $this->debugbar->modifyResponse($request, $response);
 
        return $response;
    }
 
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/spatie/laravel-cors/src/Cors.php
{
    /** @var \Spatie\Cors\CorsProfile\CorsProfile */
    protected $corsProfile;
 
    public function __construct(CorsProfile $corsProfile)
    {
        $this->corsProfile = $corsProfile;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if (! $this->isCorsRequest($request)) {
            return $next($request);
        }
 
        $this->corsProfile->setRequest($request);
 
        if (! $this->corsProfile->isAllowed()) {
            return $this->forbiddenResponse();
        }
 
        if ($this->isPreflightRequest($request)) {
            return $this->handlePreflightRequest();
        }
 
        $response = $next($request);
 
        return $this->corsProfile->addCorsHeaders($response);
    }
 
    protected function isCorsRequest($request): bool
    {
        if (! $request->headers->has('Origin')) {
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/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);
    }
}
 
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/app/Http/Middleware/CheckReferralCode.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        // Se non è presente già un referral code in sessione...
        if(!session()->has('referral_code')) {
            // ...e ne abbiamo ricevuto uno nella url, lo memorizziamo
            $referral_code = $request->get('referral_code');
            if($referral_code && strlen($referral_code) == 17) 
            {
                session()->put('referral_code', $referral_code);
            }
        }

        
        return $next($request);
    }
}
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/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)) {
                continue;
            }
 
            try {
                $value = $this->decryptCookie($key, $cookie);
 
                $hasValidPrefix = strpos($value, CookieValuePrefix::create($key, $this->encrypter->getKey())) === 0;
 
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if (! $this->sessionConfigured()) {
            return $next($request);
        }
 
        // 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(
            $session = $this->startSession($request)
        );
 
        $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
     * @return \Illuminate\Contracts\Session\Session
     */
    protected function startSession(Request $request)
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/fideloper/proxy/src/TrustProxies.php
    {
        $this->config = $config;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param \Illuminate\Http\Request $request
     * @param \Closure                 $next
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     *
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
        $this->setTrustedProxyIpAddresses($request);
 
        return $next($request);
    }
 
    /**
     * Sets the trusted proxies on the request to the value of trustedproxy.proxies
     *
     * @param \Illuminate\Http\Request $request
     */
    protected function setTrustedProxyIpAddresses(Request $request)
    {
        $trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies');
 
        // Trust any IP address that calls us
        // `**` for backwards compatibility, but is deprecated
        if ($trustedIps === '*' || $trustedIps === '**') {
            return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
        }
 
        // Support IPs addresses separated by comma
        $trustedIps = is_string($trustedIps) ? array_map('trim', explode(',', $trustedIps)) : $trustedIps;
 
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
 
namespace Illuminate\Foundation\Http\Middleware;
 
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
 
class TransformsRequest
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->clean($request);
 
        return $next($request);
    }
 
    /**
     * Clean the request's data.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function clean($request)
    {
        $this->cleanParameterBag($request->query);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } elseif ($request->request !== $request->query) {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
 
namespace Illuminate\Foundation\Http\Middleware;
 
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
 
class TransformsRequest
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->clean($request);
 
        return $next($request);
    }
 
    /**
     * Clean the request's data.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function clean($request)
    {
        $this->cleanParameterBag($request->query);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } elseif ($request->request !== $request->query) {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
class ValidatePostSize
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Illuminate\Http\Exceptions\PostTooLargeException
     */
    public function handle($request, Closure $next)
    {
        $max = $this->getPostMaxSize();
 
        if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
            throw new PostTooLargeException;
        }
 
        return $next($request);
    }
 
    /**
     * Determine the server 'post_max_size' as bytes.
     *
     * @return int
     */
    protected function getPostMaxSize()
    {
        if (is_numeric($postMaxSize = ini_get('post_max_size'))) {
            return (int) $postMaxSize;
        }
 
        $metric = strtoupper(substr($postMaxSize, -1));
        $postMaxSize = (int) $postMaxSize;
 
        switch ($metric) {
            case 'K':
                return $postMaxSize * 1024;
            case 'M':
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     * @throws \Illuminate\Foundation\Http\Exceptions\MaintenanceModeException
     */
    public function handle($request, Closure $next)
    {
        if ($this->app->isDownForMaintenance()) {
            $data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true);
 
            if (isset($data['allowed']) && IpUtils::checkIp($request->ip(), (array) $data['allowed'])) {
                return $next($request);
            }
 
            if ($this->inExceptArray($request)) {
                return $next($request);
            }
 
            throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
        }
 
        return $next($request);
    }
 
    /**
     * Determine if the request has a URI that should be accessible in maintenance mode.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return bool
     */
    protected function inExceptArray($request)
    {
        foreach ($this->except as $except) {
            if ($except !== '/') {
                $except = trim($except, '/');
            }
 
            if ($request->fullUrlIs($except) || $request->is($except)) {
                return true;
            }
        }
 
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/itsgoingd/clockwork/Clockwork/Support/Laravel/ClockworkMiddleware.php
 
// Clockwork Laravel middleware
class ClockworkMiddleware
{
    // Laravel application instance
    protected $app;
 
    // Create a new middleware instance
    public function __construct(Application $app)
    {
        $this->app = $app;
    }
 
    // Handle an incoming request
    public function handle($request, \Closure $next)
    {
        $this->app['clockwork']->event('Controller')->begin();
 
        try {
            $response = $next($request);
        } catch (\Exception $e) {
            $this->app[ExceptionHandler::class]->report($e);
            $response = $this->app[ExceptionHandler::class]->render($request, $e);
        }
 
        return $this->app['clockwork.support']->processRequest($request, $response);
    }
 
    // Record the current request after a response is sent
    public function terminate()
    {
        $this->app['clockwork.support']->recordRequest();
    }
}
 
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Middleware.php
    public function __construct($app)
    {
        $this->app = $app;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param \Illuminate\Http\Request $request
     * @param \Closure                 $next
     *
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        if (app()->bound(HubInterface::class)) {
            $this->startTransaction($request, app(HubInterface::class));
        }
 
        return $next($request);
    }
 
    /**
     * Handle the application termination.
     *
     * @param \Illuminate\Http\Request $request
     * @param mixed                    $response
     *
     * @return void
     */
    public function terminate(Request $request, $response): void
    {
        // If there is no transaction or the HubInterface is not bound in the container there is nothing for us to do
        if ($this->transaction === null || !app()->bound(HubInterface::class)) {
            return;
        }
 
        // We stop here if a route has not been matched unless we are configured to trace missing routes
        if (config('sentry.tracing.missing_routes', false) === false && $request->route() === null) {
            return;
/var/www/html/gestionale/laravel/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 (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
/var/www/html/gestionale/laravel/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
     */
/var/www/html/gestionale/laravel/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()
/var/www/html/gestionale/laravel/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 (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;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
/var/www/html/gestionale/public_html/index.php
*/

$app = require_once __DIR__.'/../laravel/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);

$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);

$response->send();

$kernel->terminate($request, $response);
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER
"www-data"
HOME
"/var/www"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/register"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/2.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/register"
REMOTE_PORT
"55310"
SCRIPT_FILENAME
"/var/www/html/gestionale/public_html/index.php"
SERVER_ADMIN
"fabio.giannotti.ita84@gmail.com"
CONTEXT_DOCUMENT_ROOT
"/var/www/html/gestionale/public_html"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/var/www/html/gestionale/public_html"
REMOTE_ADDR
"54.224.52.210"
SERVER_PORT
"443"
SERVER_ADDR
"51.195.90.216"
SERVER_NAME
"www.quintosubito.it"
SERVER_SOFTWARE
"Apache/2.4.56 (Debian)"
SERVER_SIGNATURE
"<address>Apache/2.4.56 (Debian) Server at www.quintosubito.it Port 443</address>\n"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
HTTP_HOST
"www.quintosubito.it"
HTTP_REFERER
"http://www.quintosubito.it/register"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
proxy-nokeepalive
"1"
SSL_SESSION_RESUMED
"Initial"
SSL_SESSION_ID
"a5f3bc74c43f582f2178438e0e529929fa74a501e348976fe249d2db7b3acc50"
SSL_SERVER_A_SIG
"sha256WithRSAEncryption"
SSL_SERVER_A_KEY
"rsaEncryption"
SSL_SERVER_I_DN
"CN=R3,O=Let's Encrypt,C=US"
SSL_SERVER_S_DN
"CN=www.quintosubito.it"
SSL_SERVER_V_END
"Apr  1 21:48:37 2024 GMT"
SSL_SERVER_V_START
"Jan  2 21:48:38 2024 GMT"
SSL_SERVER_M_SERIAL
"048FA7A9F1D4A0483B58008100F39325A7C9"
SSL_SERVER_M_VERSION
"3"
SSL_CLIENT_VERIFY
"NONE"
SSL_CIPHER_ALGKEYSIZE
"256"
SSL_CIPHER_USEKEYSIZE
"256"
SSL_CIPHER_EXPORT
"false"
SSL_CIPHER
"TLS_AES_256_GCM_SHA384"
SSL_COMPRESS_METHOD
"NULL"
SSL_SECURE_RENEG
"true"
SSL_PROTOCOL
"TLSv1.3"
SSL_VERSION_LIBRARY
"OpenSSL/1.1.1w"
SSL_VERSION_INTERFACE
"mod_ssl/2.4.56"
SSL_SERVER_SAN_DNS_3
"www.quintosubito.it"
SSL_SERVER_SAN_DNS_2
"quintosubito.it"
SSL_SERVER_SAN_DNS_1
"prestiti-online-quinto-subito.prestitofelice.it"
SSL_SERVER_SAN_DNS_0
"admin.quintosubito.it"
SSL_SERVER_I_DN_CN
"R3"
SSL_SERVER_I_DN_O
"Let's Encrypt"
SSL_SERVER_I_DN_C
"US"
SSL_SERVER_S_DN_CN
"www.quintosubito.it"
SSL_TLS_SNI
"www.quintosubito.it"
HTTPS
"on"
H2_STREAM_TAG
"1130309-152-3"
H2_STREAM_ID
"3"
H2_PUSHED_ON
""
H2_PUSHED
""
H2_PUSH
"off"
H2PUSH
"off"
HTTP2
"on"
SCRIPT_URI
"https://www.quintosubito.it/register"
SCRIPT_URL
"/register"
REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"www.quintosubito.it"
REDIRECT_HTTPS
"on"
REDIRECT_H2_STREAM_TAG
"1130309-152-3"
REDIRECT_H2_STREAM_ID
"3"
REDIRECT_H2_PUSHED_ON
""
REDIRECT_H2_PUSHED
""
REDIRECT_H2_PUSH
"off"
REDIRECT_H2PUSH
"off"
REDIRECT_HTTP2
"on"
REDIRECT_SCRIPT_URI
"https://www.quintosubito.it/register"
REDIRECT_SCRIPT_URL
"/register"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710821549.4602
REQUEST_TIME
1710821549
APP_ENV
"production"
APP_DEBUG
"true"
APP_PROTOCOL
"https"
APP_URL
"https://www.quintosubito.it"
APP_KEY
"****************"
APP_LARAVEL_PATH
"********************************"
PDFTK_PATH
"/usr/bin/pdftk"
WKHTMLTOPDF_PATH
"/usr/bin/wkhtmltopdf"
CLOCKWORK_ENABLE
"true"
CLOCKWORK_TOOLBAR
"true"
APP_DEBUGBAR_ENABLED
"false"
APP_ASSEGNAZIONE_RICHIESTE
"random"
APP_ABBONAMENTO_COSTO_CREDITI_REGISTRAZIONE
"1"
APP_ABBONAMENTO_COSTO_CREDITI_PUBBLICAZIONE
"1"
DATATABLES_ERROR
"throw"
APP_APPLICATION_NAME
"QUINTOSUBITO"
APP_PUBLIC_URL
"https://www.quintosubito.it"
APP_BACKEND_DIRECTORY
"*********************"
APP_DOMAIN_ADMIN_PREFIX
"*****"
APP_DOMAIN_WWW_PREFIX
"www"
APP_DOMAIN
"quintosubito.it"
APP_BACKEND_DOMAIN
"admin.quintosubito.it"
APP_DOMAIN_WWW_PREFIX_AND_DOMAIN
"www.quintosubito.it"
LOG_CHANNEL
"daily"
SITE_PROTECTION_PASSWORDS
""
SENTRY_LARAVEL_DSN
"*************************************************************************"
APP_MAIL_DEST_DEBUG
"fabio.giannotti.ita84@gmail.com"
APP_PEC_DEST_DEBUG
"fabio.giannotti.ita84@gmail.com"
DB_CONNECTION
"mysql"
DB_HOST
"*********"
DB_DATABASE
"************"
DB_USERNAME
"****"
DB_PASSWORD
"*************"
SITEMAP_CHROME_BIN
"*****************************"
SITEMAP_PRODUCTION_URL
"********************************"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"43200"
QUEUE_CONNECTION
"database"
SKEBBY_USERNAME
"******"
SKEBBY_PASSWORD
"********"
BROADCAST_DRIVER
"pusher"
PUSHER_APP_ID
"******"
PUSHER_APP_KEY
"********************"
PUSHER_APP_SECRET
"********************"
PUSHER_CLUSTER
"**"
VAPID_PUBLIC_KEY
"****************************************************************************************"
VAPID_PRIVATE_KEY
"********************************************"
GOOGLE_SHORTNER_URL_KEY
"****************************"
GOOGLE_SERVICE_ENABLED
"true"
GOOGLE_SERVICE_ACCOUNT_JSON_LOCATION
"/var/www/html/gestionale/laravel/data/api-sede-quintosubito-02eb9b8b9ed7.json"
MAIL_HOST
"smtp-relay.sendinblue.com"
MAIL_PORT
"587"
MAIL_FROM_ADDRESS
"noreply@quintosubito.it"
MAIL_FROM_NAME
"QuintoSubito"
MAIL_USERNAME
"paolo.baroni@quintosubito.it"
MAIL_PASSWORD
"****************"
MAILCHIMP_API_KEY
"*************************************"
MAILCHIMP_ID_LISTA_TEST
"bda4e44df0"
MAILCHIMP_ID_TEMPLATE_NEWSLETTER_GENERICA
"270061"
MAILCHIMP_SENDER_ADDRESS
"noreply@quintosubito.it"
MAILCHIMP_SENDER_ADDRESS_STAFF
"info@quintosubito.it"
MAILCHIMP_SENDER_NAME
"Quintosubito"
MANDRILL_APIKEY
"**********************"
MANDRILL_SECRET
"**********************"
MANDRILL_DRIVER
"smtp"
MANDRILL_HOST
"smtp.mandrillapp.com"
MANDRILL_PORT
"587"
MANDRILL_USERNAME
"Quintosubito"
MANDRILL_PASSWORD
"**********************"
MANDRILL_ENCRYPTION
"tls"
MANDRILL_ADDRESS
"noreply@quintosubito.it"
MANDRILL_NAME
"QuintosubitoLOCALE"
SENDINBLUE_API_KEY
"*****************************************************************************************"
SENDINBLUE_SMTP_DRIVER
"****"
SENDINBLUE_SMTP_HOST
"********************"
SENDINBLUE_SMTP_PORT
"***"
SENDINBLUE_SMTP_NAME
"************"
SENDINBLUE_SMTP_ENCRYPTION
"***"
SENDINBLUE_SMTP_USERNAME
"****************************"
SENDINBLUE_SMTP_PASSWORD
"****************"
SENDINBLUE_TEMPLATE_INVIO_PASSWORD_REGISTRAZIONE_CONSUMATORE_ID
"2"
SENDINBLUE_TEMPLATE_SIMULAZIONE_DA_CONFERMARE_COLLABORATORE_ID
"3"
SENDINBLUE_TEMPLATE_NUOVA_RICHIESTA_PENDING_DATI_CONTACTCENTER_ID
"4"
SENDINBLUE_TEMPLATE_RESET_PASSWORD_ACCESSO_CONSUMATORE_ID
"5"
SENDINBLUE_TEMPLATE_EMAIL_RISPOSTA_CONTATTO_ID
"6"
SENDINBLUE_TEMPLATE_NUOVA_PRENOTAZIONE_CHIAMATA_CONTACTCENTER_ID
"7"
SENDINBLUE_TEMPLATE_RIMODULAZIONE_DA_CONFERMARE_CONSUMATORE_ID
"8"
SENDINBLUE_TEMPLATE_RICHIESTA_ANNULLATA_DA_OPERATORE_PER_CONSUMATORE_ID
"9"
SENDINBLUE_TEMPLATE_RICHIESTA_ANNULLATA_DA_MEDIATORE_PER_COLLABORATORE_ID
"16"
SENDINBLUE_TEMPLATE_RICHIESTA_VERIFICA_FATTIBILITA_POSITIVA_CONSUMATORE_ID
"10"
SENDINBLUE_TEMPLATE_MODIFICA_INDIRIZZO_EMAIL_CONSUMATORE_ID
"11"
SENDINBLUE_TEMPLATE_SOLLECITA_VERIFICA_TELEFONO_CONSUMATORE_ID
"12"
SENDINBLUE_INVIO_EMAIL_CONVALIDA_INDIRIZZO_CONSUMATORE_ID
"13"
SENDINBLUE_TEMPLATE_CAMBIO_STATO_RICHIESTA_CONSUMATORE_ID
"14"
SENDINBLUE_TEMPLATE_RICHIESTA_NUOVO_DOCUMENTO_ALLEGATO_COLLABORATORE_ID
"15"
SENDINBLUE_TEMPLATE_NUOVO_MESSAGGIO_MODULO_CONTATTI_CONTACTCENTER_ID
"18"
SENDINBLUE_DIPENDENTI_LISTA_ID
"5"
SENDINBLUE_PENSIONATI_LISTA_ID
"4"
SENDINBLUE_AFFILIATI_LISTA_ID
"8"
SENDINBLUE_OPERATORI_LISTA_ID
"9"
SENDINBLUE_NEWSLETTER_LISTA_ID
"14"
NOCAPTCHA_SECRET
"6LfwFuQZAAAAAMG8LHaZPA9m_UCd6YsKvKVZU1CB"
NOCAPTCHA_SITEKEY
"6LfwFuQZAAAAAB1eNs77eTE36X1Tt0f_jeHb2Aaa"
Key Value
APP_ENV
"production"
APP_DEBUG
"true"
APP_PROTOCOL
"https"
APP_URL
"https://www.quintosubito.it"
APP_KEY
"****************"
APP_LARAVEL_PATH
"********************************"
PDFTK_PATH
"/usr/bin/pdftk"
WKHTMLTOPDF_PATH
"/usr/bin/wkhtmltopdf"
CLOCKWORK_ENABLE
"true"
CLOCKWORK_TOOLBAR
"true"
APP_DEBUGBAR_ENABLED
"false"
APP_ASSEGNAZIONE_RICHIESTE
"random"
APP_ABBONAMENTO_COSTO_CREDITI_REGISTRAZIONE
"1"
APP_ABBONAMENTO_COSTO_CREDITI_PUBBLICAZIONE
"1"
DATATABLES_ERROR
"throw"
APP_APPLICATION_NAME
"QUINTOSUBITO"
APP_PUBLIC_URL
"https://www.quintosubito.it"
APP_BACKEND_DIRECTORY
"*********************"
APP_DOMAIN_ADMIN_PREFIX
"*****"
APP_DOMAIN_WWW_PREFIX
"www"
APP_DOMAIN
"quintosubito.it"
APP_BACKEND_DOMAIN
"admin.quintosubito.it"
APP_DOMAIN_WWW_PREFIX_AND_DOMAIN
"www.quintosubito.it"
LOG_CHANNEL
"daily"
SITE_PROTECTION_PASSWORDS
""
SENTRY_LARAVEL_DSN
"*************************************************************************"
APP_MAIL_DEST_DEBUG
"fabio.giannotti.ita84@gmail.com"
APP_PEC_DEST_DEBUG
"fabio.giannotti.ita84@gmail.com"
DB_CONNECTION
"mysql"
DB_HOST
"*********"
DB_DATABASE
"************"
DB_USERNAME
"****"
DB_PASSWORD
"*************"
SITEMAP_CHROME_BIN
"*****************************"
SITEMAP_PRODUCTION_URL
"********************************"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"43200"
QUEUE_CONNECTION
"database"
SKEBBY_USERNAME
"******"
SKEBBY_PASSWORD
"********"
BROADCAST_DRIVER
"pusher"
PUSHER_APP_ID
"******"
PUSHER_APP_KEY
"********************"
PUSHER_APP_SECRET
"********************"
PUSHER_CLUSTER
"**"
VAPID_PUBLIC_KEY
"****************************************************************************************"
VAPID_PRIVATE_KEY
"********************************************"
GOOGLE_SHORTNER_URL_KEY
"****************************"
GOOGLE_SERVICE_ENABLED
"true"
GOOGLE_SERVICE_ACCOUNT_JSON_LOCATION
"/var/www/html/gestionale/laravel/data/api-sede-quintosubito-02eb9b8b9ed7.json"
MAIL_HOST
"smtp-relay.sendinblue.com"
MAIL_PORT
"587"
MAIL_FROM_ADDRESS
"noreply@quintosubito.it"
MAIL_FROM_NAME
"QuintoSubito"
MAIL_USERNAME
"paolo.baroni@quintosubito.it"
MAIL_PASSWORD
"****************"
MAILCHIMP_API_KEY
"*************************************"
MAILCHIMP_ID_LISTA_TEST
"bda4e44df0"
MAILCHIMP_ID_TEMPLATE_NEWSLETTER_GENERICA
"270061"
MAILCHIMP_SENDER_ADDRESS
"noreply@quintosubito.it"
MAILCHIMP_SENDER_ADDRESS_STAFF
"info@quintosubito.it"
MAILCHIMP_SENDER_NAME
"Quintosubito"
MANDRILL_APIKEY
"**********************"
MANDRILL_SECRET
"**********************"
MANDRILL_DRIVER
"smtp"
MANDRILL_HOST
"smtp.mandrillapp.com"
MANDRILL_PORT
"587"
MANDRILL_USERNAME
"Quintosubito"
MANDRILL_PASSWORD
"**********************"
MANDRILL_ENCRYPTION
"tls"
MANDRILL_ADDRESS
"noreply@quintosubito.it"
MANDRILL_NAME
"QuintosubitoLOCALE"
SENDINBLUE_API_KEY
"*****************************************************************************************"
SENDINBLUE_SMTP_DRIVER
"****"
SENDINBLUE_SMTP_HOST
"********************"
SENDINBLUE_SMTP_PORT
"***"
SENDINBLUE_SMTP_NAME
"************"
SENDINBLUE_SMTP_ENCRYPTION
"***"
SENDINBLUE_SMTP_USERNAME
"****************************"
SENDINBLUE_SMTP_PASSWORD
"****************"
SENDINBLUE_TEMPLATE_INVIO_PASSWORD_REGISTRAZIONE_CONSUMATORE_ID
"2"
SENDINBLUE_TEMPLATE_SIMULAZIONE_DA_CONFERMARE_COLLABORATORE_ID
"3"
SENDINBLUE_TEMPLATE_NUOVA_RICHIESTA_PENDING_DATI_CONTACTCENTER_ID
"4"
SENDINBLUE_TEMPLATE_RESET_PASSWORD_ACCESSO_CONSUMATORE_ID
"5"
SENDINBLUE_TEMPLATE_EMAIL_RISPOSTA_CONTATTO_ID
"6"
SENDINBLUE_TEMPLATE_NUOVA_PRENOTAZIONE_CHIAMATA_CONTACTCENTER_ID
"7"
SENDINBLUE_TEMPLATE_RIMODULAZIONE_DA_CONFERMARE_CONSUMATORE_ID
"8"
SENDINBLUE_TEMPLATE_RICHIESTA_ANNULLATA_DA_OPERATORE_PER_CONSUMATORE_ID
"9"
SENDINBLUE_TEMPLATE_RICHIESTA_ANNULLATA_DA_MEDIATORE_PER_COLLABORATORE_ID
"16"
SENDINBLUE_TEMPLATE_RICHIESTA_VERIFICA_FATTIBILITA_POSITIVA_CONSUMATORE_ID
"10"
SENDINBLUE_TEMPLATE_MODIFICA_INDIRIZZO_EMAIL_CONSUMATORE_ID
"11"
SENDINBLUE_TEMPLATE_SOLLECITA_VERIFICA_TELEFONO_CONSUMATORE_ID
"12"
SENDINBLUE_INVIO_EMAIL_CONVALIDA_INDIRIZZO_CONSUMATORE_ID
"13"
SENDINBLUE_TEMPLATE_CAMBIO_STATO_RICHIESTA_CONSUMATORE_ID
"14"
SENDINBLUE_TEMPLATE_RICHIESTA_NUOVO_DOCUMENTO_ALLEGATO_COLLABORATORE_ID
"15"
SENDINBLUE_TEMPLATE_NUOVO_MESSAGGIO_MODULO_CONTATTI_CONTACTCENTER_ID
"18"
SENDINBLUE_DIPENDENTI_LISTA_ID
"5"
SENDINBLUE_PENSIONATI_LISTA_ID
"4"
SENDINBLUE_AFFILIATI_LISTA_ID
"8"
SENDINBLUE_OPERATORI_LISTA_ID
"9"
SENDINBLUE_NEWSLETTER_LISTA_ID
"14"
NOCAPTCHA_SECRET
"6LfwFuQZAAAAAMG8LHaZPA9m_UCd6YsKvKVZU1CB"
NOCAPTCHA_SITEKEY
"6LfwFuQZAAAAAB1eNs77eTE36X1Tt0f_jeHb2Aaa"
0. Whoops\Handler\PrettyPageHandler