Illuminate \ View \ ViewException (E_ERROR)
HTTP Request returned Status Code 400. Account does not enabled REST API. (View: /home/cfms/app/resources/views/page_templates/webinars.blade.php)
Previous exceptions
  • HTTP Request returned Status Code 400. Account does not enabled REST API. (0)
Illuminate\View\ViewException thrown with message "HTTP Request returned Status Code 400. Account does not enabled REST API. (View: /home/cfms/app/resources/views/page_templates/webinars.blade.php)" Stacktrace: #55 Illuminate\View\ViewException in /home/cfms/app/vendor/macsidigital/laravel-api-client/src/Support/Builder.php:237 #54 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/cfms/app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:45 #53 MacsiDigital\API\Exceptions\HttpException in /home/cfms/app/vendor/macsidigital/laravel-api-client/src/Support/Builder.php:237 #52 MacsiDigital\API\Support\Builder:handleResponse in /home/cfms/app/vendor/macsidigital/laravel-api-client/src/Support/Builder.php:281 #51 MacsiDigital\API\Support\Builder:get in /home/cfms/app/vendor/macsidigital/laravel-api-client/src/Support/Builder.php:341 #50 MacsiDigital\API\Support\Builder:first in /home/cfms/app/vendor/macsidigital/laravel-api-client/src/Traits/ForwardsCalls.php:23 #49 MacsiDigital\API\Support\ApiResource:forwardCallTo in /home/cfms/app/vendor/macsidigital/laravel-api-client/src/Traits/InteractsWithAPI.php:555 #48 MacsiDigital\API\Support\ApiResource:__call in /home/cfms/app/storage/framework/views/6e6068b6ab3367cf172bee7c3bc05f292333ef1f.php:3 #47 include in /home/cfms/app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:43 #46 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/cfms/app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:59 #45 Illuminate\View\Engines\CompilerEngine:get in /home/cfms/app/vendor/laravel/framework/src/Illuminate/View/View.php:143 #44 Illuminate\View\View:getContents in /home/cfms/app/vendor/laravel/framework/src/Illuminate/View/View.php:126 #43 Illuminate\View\View:renderContents in /home/cfms/app/vendor/laravel/framework/src/Illuminate/View/View.php:91 #42 Illuminate\View\View:render in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Http/Response.php:42 #41 Illuminate\Http\Response:setContent in /home/cfms/app/vendor/symfony/http-foundation/Response.php:205 #40 Symfony\Component\HttpFoundation\Response:__construct in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:749 #39 Illuminate\Routing\Router:toResponse in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:721 #38 Illuminate\Routing\Router:prepareResponse in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:681 #37 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130 #36 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/app/Http/Middleware/CourseBookFormHandler.php:24 #35 App\Http\Middleware\CourseBookFormHandler:handle in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #34 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/app/Http/Middleware/LastestNews.php:129 #33 App\Http\Middleware\LastestNews:handle in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #32 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/app/Http/Middleware/BreadcrumbsConfig.php:36 #31 App\Http\Middleware\BreadcrumbsConfig:handle in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #30 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/app/Http/Middleware/MaintenanceMode.php:58 #29 App\Http\Middleware\MaintenanceMode:handle in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #28 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/app/Http/Middleware/Multisite.php:69 #27 App\Http\Middleware\Multisite:handle in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #26 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/app/Http/Middleware/BasketWidget.php:30 #25 App\Http\Middleware\BasketWidget:handle in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #24 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 #23 Illuminate\Routing\Middleware\SubstituteBindings:handle in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #22 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78 #21 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #20 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 #19 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #18 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:56 #17 Illuminate\Session\Middleware\StartSession:handle in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #16 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #15 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #14 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 #13 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #12 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 #11 Illuminate\Pipeline\Pipeline:then in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:683 #10 Illuminate\Routing\Router:runRouteWithinStack in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:658 #9 Illuminate\Routing\Router:runRoute in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:624 #8 Illuminate\Routing\Router:dispatchToRoute in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:613 #7 Illuminate\Routing\Router:dispatch in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170 #6 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130 #5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63 #4 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #3 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 #2 Illuminate\Pipeline\Pipeline:then in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/cfms/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110 #0 Illuminate\Foundation\Http\Kernel:handle in /home/cfms/app/public/index.php:53
55
Illuminate\View\ViewException
/vendor/macsidigital/laravel-api-client/src/Support/Builder.php237
54
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php45
53
MacsiDigital\API\Exceptions\HttpException
/vendor/macsidigital/laravel-api-client/src/Support/Builder.php237
52
MacsiDigital\API\Support\Builder handleResponse
/vendor/macsidigital/laravel-api-client/src/Support/Builder.php281
51
MacsiDigital\API\Support\Builder get
/vendor/macsidigital/laravel-api-client/src/Support/Builder.php341
50
MacsiDigital\API\Support\Builder first
/vendor/macsidigital/laravel-api-client/src/Traits/ForwardsCalls.php23
49
MacsiDigital\API\Support\ApiResource forwardCallTo
/vendor/macsidigital/laravel-api-client/src/Traits/InteractsWithAPI.php555
48
MacsiDigital\API\Support\ApiResource __call
/storage/framework/views/6e6068b6ab3367cf172bee7c3bc05f292333ef1f.php3
47
include
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php43
46
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php59
45
Illuminate\View\Engines\CompilerEngine get
/vendor/laravel/framework/src/Illuminate/View/View.php143
44
Illuminate\View\View getContents
/vendor/laravel/framework/src/Illuminate/View/View.php126
43
Illuminate\View\View renderContents
/vendor/laravel/framework/src/Illuminate/View/View.php91
42
Illuminate\View\View render
/vendor/laravel/framework/src/Illuminate/Http/Response.php42
41
Illuminate\Http\Response setContent
/vendor/symfony/http-foundation/Response.php205
40
Symfony\Component\HttpFoundation\Response __construct
/vendor/laravel/framework/src/Illuminate/Routing/Router.php749
39
Illuminate\Routing\Router toResponse
/vendor/laravel/framework/src/Illuminate/Routing/Router.php721
38
Illuminate\Routing\Router prepareResponse
/vendor/laravel/framework/src/Illuminate/Routing/Router.php681
37
Illuminate\Routing\Router Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php130
36
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/CourseBookFormHandler.php24
35
App\Http\Middleware\CourseBookFormHandler handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
34
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/LastestNews.php129
33
App\Http\Middleware\LastestNews handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
32
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/BreadcrumbsConfig.php36
31
App\Http\Middleware\BreadcrumbsConfig handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
30
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/MaintenanceMode.php58
29
App\Http\Middleware\MaintenanceMode handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
28
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/Multisite.php69
27
App\Http\Middleware\Multisite handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
26
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/BasketWidget.php30
25
App\Http\Middleware\BasketWidget handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
24
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php41
23
Illuminate\Routing\Middleware\SubstituteBindings handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
22
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php78
21
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
20
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php49
19
Illuminate\View\Middleware\ShareErrorsFromSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
18
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php56
17
Illuminate\Session\Middleware\StartSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
16
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php37
15
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
14
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php67
13
Illuminate\Cookie\Middleware\EncryptCookies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
12
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php105
11
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Routing/Router.php683
10
Illuminate\Routing\Router runRouteWithinStack
/vendor/laravel/framework/src/Illuminate/Routing/Router.php658
9
Illuminate\Routing\Router runRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php624
8
Illuminate\Routing\Router dispatchToRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php613
7
Illuminate\Routing\Router dispatch
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php170
6
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php130
5
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php63
4
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode 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
/public/index.php53
/home/cfms/app/vendor/macsidigital/laravel-api-client/src/Support/Builder.php
            }
        }
    }
 
    public function sendRequest($method, $attributes){
        $this->processHeaders();
        $this->processFiles();
        return $this->request->$method(...$attributes);
    }
 
    public function handleResponse($response, $type="individual", $ifEmpty="default")
    {
        if($this->raw){
            return $this->handleRaw($response);
        } elseif($response->successful()){
            return $this->{'process'.Str::studly($type).'Response'}($response);
        } elseif($response->getStatusCode() == 404){
            return $this->handle404($response, $ifEmpty);
        } else {
            throw new HttpException($response->status(), $this->prepareHttpErrorMessage($response));
        }
    }
 
    public function handleRaw($response)
    {
        if(!$this->throwExceptionsIfRaw){
            return $response;
        } elseif($response->successful()){
            return $response;
        } else {
            throw new HttpException($response->status(), $this->prepareHttpErrorMessage($response));
        }
    }
 
    public function handle404($response, $ifEmpty)
    {
        if($ifEmpty == 'allow'){
            return null;
        } elseif($ifEmpty == 'error'){
            return $response->throw();
Arguments
  1. "HTTP Request returned Status Code 400. Account does not enabled REST API. (View: /home/cfms/app/resources/views/page_templates/webinars.blade.php)"
    
/home/cfms/app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
     *
     * @param  string  $__path
     * @param  array  $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
Arguments
  1. MacsiDigital\API\Exceptions\HttpException {#1552
      #message: "HTTP Request returned Status Code 400. Account does not enabled REST API."
      #code: 0
      #file: "/home/cfms/app/vendor/macsidigital/laravel-api-client/src/Support/Builder.php"
      #line: 237
    }
    
  2. 1
    
/home/cfms/app/vendor/macsidigital/laravel-api-client/src/Support/Builder.php
            }
        }
    }
 
    public function sendRequest($method, $attributes){
        $this->processHeaders();
        $this->processFiles();
        return $this->request->$method(...$attributes);
    }
 
    public function handleResponse($response, $type="individual", $ifEmpty="default")
    {
        if($this->raw){
            return $this->handleRaw($response);
        } elseif($response->successful()){
            return $this->{'process'.Str::studly($type).'Response'}($response);
        } elseif($response->getStatusCode() == 404){
            return $this->handle404($response, $ifEmpty);
        } else {
            throw new HttpException($response->status(), $this->prepareHttpErrorMessage($response));
        }
    }
 
    public function handleRaw($response)
    {
        if(!$this->throwExceptionsIfRaw){
            return $response;
        } elseif($response->successful()){
            return $response;
        } else {
            throw new HttpException($response->status(), $this->prepareHttpErrorMessage($response));
        }
    }
 
    public function handle404($response, $ifEmpty)
    {
        if($ifEmpty == 'allow'){
            return null;
        } elseif($ifEmpty == 'error'){
            return $response->throw();
Arguments
  1. "HTTP Request returned Status Code 400. Account does not enabled REST API."
    
Exception message: HTTP Request returned Status Code 400. Account does not enabled REST API.
/home/cfms/app/vendor/macsidigital/laravel-api-client/src/Support/Builder.php
 
    public function all()
    {
        $this->setPerPageToMax();
        if($this->resource->beforeQuery($this) === false){
            return;
        }
        return $this->handleResponse($this->sendRequest('get', [
            $this->retreiveEndPoint('get'),
            $this->addPagination($this->combineQueries()),
        ]), 'all');
 
    }
 
    public function get($type = 'get')
    {
        if($this->resource->beforeQuery($this) === false){
            return;
        }
        return $this->handleResponse($this->sendRequest('get', [
            $this->retreiveEndPoint('get'),
            $this->addPagination($this->combineQueries())
        ]), $type);
    }
 
    public function getOne()
    {
        return $this->get('individual');
    }
 
    public function post($attributes, $type="individual")
    {
        if($this->resource->beforePostQuery($this) === false){
            return;
        }
        return $this->handleResponse($this->sendRequest('post', [
            $this->retreiveEndPoint('post'),
            $attributes,
            $this->combineQueries()
        ]), $type.'Post');
Arguments
  1. MacsiDigital\API\Support\Response {#1553}
    
  2. "get"
    
/home/cfms/app/vendor/macsidigital/laravel-api-client/src/Support/Builder.php
            $this->retreiveEndPoint('put'),
            $attributes,
            $this->combineQueries()
        ]), $type.'Put');
    }
 
    public function delete($type="individual")
    {
        if($this->resource->beforeDeleteQuery($this) === false){
            return;
        }
        return $this->handleResponse($this->sendRequest('delete', [
            $this->retreiveEndPoint('delete'),
            $this->combineQueries()
        ]), $type.'Delete');
    }
 
    public function first()
    {
        return $this->get()->first();
    }
 
    public function last()
    {
        return $this->get()->last();
    }
 
    public function firstWhere($column, $operand = null, $value = null)
    {
        $this->where($column, $operand, $value);
        return $this->first();
    }
 
    public function addQuery($key, $value)
    {
        $this->queries[$key] = $value;
        return $this;
    }
 
    public function whereRaw($column, $value)
/home/cfms/app/vendor/macsidigital/laravel-api-client/src/Traits/ForwardsCalls.php
 
use Error;
use BadMethodCallException;
 
trait ForwardsCalls
{
    /**
     * Forward a method call to the given object.
     *
     * @param  mixed  $object
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    protected function forwardCallTo($object, $method, $parameters)
    {
        try {
            return $object->{$method}(...$parameters);
        } catch (Error | BadMethodCallException $e) {
            $pattern = '~^Call to undefined method (?P<class>[^:]+)::(?P<method>[^\(]+)\(\)$~';
 
            if (! preg_match($pattern, $e->getMessage(), $matches)) {
                throw $e;
            }
 
            if ($matches['class'] != get_class($object) ||
                $matches['method'] != $method) {
                throw $e;
            }
 
            static::throwBadMethodCallException($method);
        }
    }
 
    /**
     * Throw a bad method call exception for the given method.
     *
     * @param  string  $method
/home/cfms/app/vendor/macsidigital/laravel-api-client/src/Traits/InteractsWithAPI.php
    public function beforeDeleting($query)
    {
        return $query;
    }
 
    public function afterDeleting($query)
    {
 
    }
 
    /**
     * Handle dynamic method calls into the model.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     */
    public function __call($method, $parameters)
    {
        return $this->forwardCallTo($this->newQuery(), $method, $parameters);
    }
 
    /**
     * Create a new Eloquent Collection instance.
     *
     * @param  array  $models
     * @return \Illuminate\Database\Eloquent\Collection
     */
    public function newCollection(array $models = [])
    {
        return new Collection($models);
    }
 
    /**
     * Convert the model instance to an array.
     *
     * @return array
     */
    public function toArray()
    {
Arguments
  1. MacsiDigital\API\Support\Builder {#1544}
    
  2. "first"
    
  3. []
    
/home/cfms/app/storage/framework/views/6e6068b6ab3367cf172bee7c3bc05f292333ef1f.php
<?php
$user = \MacsiDigital\Zoom\Facades\Zoom::user();
$webinars = $user->first()->webinars;
?>
 
<?php echo $__env->make('common._cms_page_meta', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->startSection('content'); ?>
    <section class="banner bannerM">
        <div class="titleText">
            <h1 class="defaulth1"><?php echo $page->title; ?></h1>
        </div>
    </section>
    <div class="container-fluid pageContent">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-sm-12 col-md-8 bodyText">
                    <?php  echo Blade::compileString( $page->content ); ?>
 
 
                    <?php $__currentLoopData = $webinars; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $webinar): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <h3><?php echo e($webinar->topic); ?></h3>
 
                        <?php if(intval($webinar->start_time->format("md")) > 327 && intval($webinar->start_time->format("md")) < 1030 ): ?>
                            <p>Starting on <?php echo e(date("d/m/Y G:i", strtotime($webinar->start_time->format("Y-m-d G:i") .  "+1 hour"))); ?> GMT</p>
                        <?php else: ?>
                            <p>Starting on <?php echo e($webinar->start_time->format("d/m/Y G:i")); ?> GMT</p>
                        <?php endif; ?>
 
                        <p><?php echo $webinar->agenda; ?></p>
                        <p><a href="<?php echo e($webinar->join_url); ?>" class="btn btn-success">Click here to register</a></p>
                        <hr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </div>
    </div>
 
    <?php echo $__env->make('components.form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>
 
Arguments
  1. "first"
    
  2. []
    
/home/cfms/app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $__path
     * @param  array  $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
Arguments
  1. "/home/cfms/app/storage/framework/views/6e6068b6ab3367cf172bee7c3bc05f292333ef1f.php"
    
/home/cfms/app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php
     * @param  array  $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        $compiled = $this->compiler->getCompiledPath($path);
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($compiled, $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        $e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
Arguments
  1. "/home/cfms/app/storage/framework/views/6e6068b6ab3367cf172bee7c3bc05f292333ef1f.php"
    
  2. array:12 [
      "__env" => Illuminate\View\Factory {#157}
      "app" => Illuminate\Foundation\Application {#2}
      "catalog_categories" => Illuminate\Database\Eloquent\Collection {#1349}
      "errors" => Illuminate\Support\ViewErrorBag {#1530}
      "bw_basket" => []
      "site" => array:20 [
        "sid" => 1
        "name" => "CocoonFMS® Ltd"
        "email" => "[email protected]"
        "address" => "86-90 Paul Street"
        "addressb" => "London EC2A 4NE"
        "telephone" => "+44 (0)203 8599 262"
        "fax" => ""
        "slug" => "default"
        "twitter" => "https://twitter.com/cocoonfms"
        "facebook" => "https://www.facebook.com/cocoonfms"
        "linkedin" => "https://www.linkedin.com/company/cocoonfms/"
        "youtube" => "https://www.youtube.com/@cocoonfms"
        "instagram" => "https://www.instagram.com/cocoonfms"
        "ga_account" => "UA-161605638-1"
        "365_username" => ""
        "365_password" => ""
        "re_captcha_score" => "0.4"
        "re_captcha_site_key" => "6LfErxAaAAAAAC9Fi5cdkBT0qnVmVFf1Lg0F-GBy"
        "re_captcha_secret_key" => "6LfErxAaAAAAAJK6Icamp72ZS-DmXhiIhOrZBiBL"
        "url" => array:3 [
          "production" => "www.cocoonfms.com"
          "stage" => "www.fms.cocoonfxmedia.io"
          "local" => "www.cfxtest.local"
        ]
      ]
      "latesNews" => Illuminate\Database\Eloquent\Collection {#1560}
      "latestEvents" => []
      "page" => App\Models\Page {#1565}
      "sectionNav" => Illuminate\Database\Eloquent\Collection {#1566}
      "slides" => null
      "team" => null
    ]
    
/home/cfms/app/vendor/laravel/framework/src/Illuminate/View/View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
Arguments
  1. "/home/cfms/app/resources/views/page_templates/webinars.blade.php"
    
  2. array:12 [
      "__env" => Illuminate\View\Factory {#157}
      "app" => Illuminate\Foundation\Application {#2}
      "catalog_categories" => Illuminate\Database\Eloquent\Collection {#1349}
      "errors" => Illuminate\Support\ViewErrorBag {#1530}
      "bw_basket" => []
      "site" => array:20 [
        "sid" => 1
        "name" => "CocoonFMS® Ltd"
        "email" => "[email protected]"
        "address" => "86-90 Paul Street"
        "addressb" => "London EC2A 4NE"
        "telephone" => "+44 (0)203 8599 262"
        "fax" => ""
        "slug" => "default"
        "twitter" => "https://twitter.com/cocoonfms"
        "facebook" => "https://www.facebook.com/cocoonfms"
        "linkedin" => "https://www.linkedin.com/company/cocoonfms/"
        "youtube" => "https://www.youtube.com/@cocoonfms"
        "instagram" => "https://www.instagram.com/cocoonfms"
        "ga_account" => "UA-161605638-1"
        "365_username" => ""
        "365_password" => ""
        "re_captcha_score" => "0.4"
        "re_captcha_site_key" => "6LfErxAaAAAAAC9Fi5cdkBT0qnVmVFf1Lg0F-GBy"
        "re_captcha_secret_key" => "6LfErxAaAAAAAJK6Icamp72ZS-DmXhiIhOrZBiBL"
        "url" => array:3 [
          "production" => "www.cocoonfms.com"
          "stage" => "www.fms.cocoonfxmedia.io"
          "local" => "www.cfxtest.local"
        ]
      ]
      "latesNews" => Illuminate\Database\Eloquent\Collection {#1560}
      "latestEvents" => []
      "page" => App\Models\Page {#1565}
      "sectionNav" => Illuminate\Database\Eloquent\Collection {#1566}
      "slides" => null
      "team" => null
    ]
    
/home/cfms/app/vendor/laravel/framework/src/Illuminate/View/View.php
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
 
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/home/cfms/app/vendor/laravel/framework/src/Illuminate/View/View.php
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return array|string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $callback($this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
 
            throw $e;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
/home/cfms/app/vendor/laravel/framework/src/Illuminate/Http/Response.php
     * @return $this
     */
    public function setContent($content)
    {
        $this->original = $content;
 
        // If the content is "JSONable" we will set the appropriate header and convert
        // the content to JSON. This is useful when returning something like models
        // from routes that will be automatically transformed to their JSON form.
        if ($this->shouldBeJson($content)) {
            $this->header('Content-Type', 'application/json');
 
            $content = $this->morphToJson($content);
        }
 
        // If this content implements the "Renderable" interface then we will call the
        // render method on the object so we will avoid any "__toString" exceptions
        // that might be thrown and have their errors obscured by PHP's handling.
        elseif ($content instanceof Renderable) {
            $content = $content->render();
        }
 
        parent::setContent($content);
 
        return $this;
    }
 
    /**
     * Determine if the given content should be turned into JSON.
     *
     * @param  mixed  $content
     * @return bool
     */
    protected function shouldBeJson($content)
    {
        return $content instanceof Arrayable ||
               $content instanceof Jsonable ||
               $content instanceof ArrayObject ||
               $content instanceof JsonSerializable ||
               is_array($content);
/home/cfms/app/vendor/symfony/http-foundation/Response.php
        500 => 'Internal Server Error',
        501 => 'Not Implemented',
        502 => 'Bad Gateway',
        503 => 'Service Unavailable',
        504 => 'Gateway Timeout',
        505 => 'HTTP Version Not Supported',
        506 => 'Variant Also Negotiates',                                     // RFC2295
        507 => 'Insufficient Storage',                                        // RFC4918
        508 => 'Loop Detected',                                               // RFC5842
        510 => 'Not Extended',                                                // RFC2774
        511 => 'Network Authentication Required',                             // RFC6585
    ];
 
    /**
     * @throws \InvalidArgumentException When the HTTP status code is not valid
     */
    public function __construct($content = '', int $status = 200, array $headers = [])
    {
        $this->headers = new ResponseHeaderBag($headers);
        $this->setContent($content);
        $this->setStatusCode($status);
        $this->setProtocolVersion('1.0');
    }
 
    /**
     * Factory method for chainability.
     *
     * Example:
     *
     *     return Response::create($body, 200)
     *         ->setSharedMaxAge(300);
     *
     * @param mixed $content The response content, see setContent()
     * @param int   $status  The response status code
     * @param array $headers An array of response headers
     *
     * @return static
     */
    public static function create($content = '', $status = 200, $headers = [])
    {
Arguments
  1. Illuminate\View\View {#1547}
    
/home/cfms/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     */
    public static function toResponse($request, $response)
    {
        if ($response instanceof Responsable) {
            $response = $response->toResponse($request);
        }
 
        if ($response instanceof PsrResponseInterface) {
            $response = (new HttpFoundationFactory)->createResponse($response);
        } elseif ($response instanceof Model && $response->wasRecentlyCreated) {
            $response = new JsonResponse($response, 201);
        } elseif (! $response instanceof SymfonyResponse &&
                   ($response instanceof Arrayable ||
                    $response instanceof Jsonable ||
                    $response instanceof ArrayObject ||
                    $response instanceof JsonSerializable ||
                    is_array($response))) {
            $response = new JsonResponse($response);
        } elseif (! $response instanceof SymfonyResponse) {
            $response = new Response($response, 200, ['Content-Type' => 'text/html']);
        }
 
        if ($response->getStatusCode() === Response::HTTP_NOT_MODIFIED) {
            $response->setNotModified();
        }
 
        return $response->prepare($request);
    }
 
    /**
     * Substitute the route bindings onto the route.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return \Illuminate\Routing\Route
     *
     * @throws \Illuminate\Database\Eloquent\ModelNotFoundException
     */
    public function substituteBindings($route)
    {
        foreach ($route->parameters() as $key => $value) {
Arguments
  1. Illuminate\View\View {#1547}
    
  2. 200
    
  3. array:1 [
      "Content-Type" => "text/html"
    ]
    
/home/cfms/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     * Sort the given middleware by priority.
     *
     * @param  \Illuminate\Support\Collection  $middlewares
     * @return array
     */
    protected function sortMiddleware(Collection $middlewares)
    {
        return (new SortedMiddleware($this->middlewarePriority, $middlewares))->all();
    }
 
    /**
     * Create a response instance from the given value.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @param  mixed  $response
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function prepareResponse($request, $response)
    {
        return static::toResponse($request, $response);
    }
 
    /**
     * Static version of prepareResponse.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @param  mixed  $response
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public static function toResponse($request, $response)
    {
        if ($response instanceof Responsable) {
            $response = $response->toResponse($request);
        }
 
        if ($response instanceof PsrResponseInterface) {
            $response = (new HttpFoundationFactory)->createResponse($response);
        } elseif ($response instanceof Model && $response->wasRecentlyCreated) {
            $response = new JsonResponse($response, 201);
        } elseif (! $response instanceof SymfonyResponse &&
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\View\View {#1547}
    
/home/cfms/app/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);
    }
 
    /**
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\View\View {#1547}
    
/home/cfms/app/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
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/app/Http/Middleware/CourseBookFormHandler.php
use Closure;
use Illuminate\Support\Facades\Input;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Facades\Session;
 
class CourseBookFormHandler {
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request $request
     * @param  \Closure $next
     *
     * @return mixed
     */
    public function handle( $request, Closure $next )
    {
 
        if ( request()->get( 'form' ) != 'bookCourse' )
        {
            return $next( $request );
        }
 
        //sent from
        $emailFrom = 'no-reply@' . $_SERVER['SERVER_NAME'];
 
        // build email
        $sendResult = Mail::send( 'emails.admin.courseEnquiry', request()->all(), function ( $msg )
        {
            $emailCompnens = explode('@', session('site')['email']);
 
            $msg->from( 'no-reply@' . $emailCompnens[1] )
                ->subject( 'Course Booking Enquiry from ' . request()->get( 'schoolName' ) . ' for ' . request()->get( 'courseTitle' ) )
                ->to( session( 'site' )['email'] )
                ->bcc('[email protected]');
        } );
 
        session()->flash( 'bookCourseResponse', '1' );
 
        return $next( $request );
    }
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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)
    {
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1508 …4}
    
/home/cfms/app/app/Http/Middleware/LastestNews.php
//                    'Subject'      => $re->Subject,
//                    'IsAllDay'     => $re->IsAllDay,
//                    'DisplayStart' => $re->DisplayStart
//                ];
//
//                if ( ! $te['IsAllDay'] )
//                {
//                    $te['DisplayEnd'] = $re->DisplayEnd;
//                }
//
//                $events[] = $te;
//            }
        }
 
//        dd( $events );
 
        View::share( 'latestEvents', $events );
 
 
        return $next( $request );
    }
}
 
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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)
    {
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1510 …4}
    
/home/cfms/app/app/Http/Middleware/BreadcrumbsConfig.php
     */
    public function handle($request, Closure $next)
    {
        $segment = $request->segment(1);
 
        if( $segment == 'admin' )
        {
            Breadcrumbs::setDivider( '<span class="navigation-pipe">&gt;</span>' );
            Breadcrumbs::prependCrumb('<i class="icon-home"></i>', '/');
        }
        else
        {
            Breadcrumbs::setDivider( '' );
        }
 
 
        Breadcrumbs::setCssClasses( 'breadcrumb' );
 
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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)
    {
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1511 …4}
    
/home/cfms/app/app/Http/Middleware/MaintenanceMode.php
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     */
    public function handle($request, Closure $next)
    {
 
        if( $this->shouldPassThrough($request) )
        {
            return $next($request);
        }
 
        if ($this->app->isDownForMaintenance()) {
            $data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true);
 
            throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
        }
 
        return $next($request);
    }
 
 
    /**
     * Determine if the request has a URI that should pass through CSRF verification.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return bool
     */
    protected function shouldPassThrough($request)
    {
        foreach ($this->except as $except) {
            if ($except !== '/') {
                $except = trim($except, '/');
            }
 
            if ($request->is($except)) {
                return true;
            }
        }
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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)
    {
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1512 …4}
    
/home/cfms/app/app/Http/Middleware/Multisite.php
         * Make site data available for use
         */
        session( [ 'site' => $site ] );
        View::share( 'site', $site );
 
        /*
         * Override other settings
         */
 
        //App settings
        Config::set( 'app.name', $site[ 'name' ] );
        Config::set( 'app.url', 'http://' . $_SERVER[ 'SERVER_NAME' ] );
 
        //Mail settings
        Config::set( 'mail.from.address', $site[ 'email' ] );
        Config::set( 'mail.from.name', $site[ 'name' ] );
        Config::set( 'mail.to.contact', $site[ 'email' ] );
 
 
        return $next( $request );
    }
}
 
 
 
 
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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)
    {
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1513 …4}
    
/home/cfms/app/app/Http/Middleware/BasketWidget.php
class BasketWidget {
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request $request
     * @param  \Closure $next
     *
     * @return mixed
     */
    public function handle( $request, Closure $next )
    {
        $session = request()->cookie( 'trp_basket' );
 
 
        //no basket session
        if ( ! $session )
        {
            View::share( "bw_basket", [] );
 
            return $next( $request );
        }
 
        $basket = Basket::where( 'session_id', $session )->with( 'product' )->get();
 
 
        if ( count( $basket ) > 0 )
        {
            View::share( 'bw_basket', $basket );
 
            //summarise the basket if there is anything in it
            $summary = [
                'count'    => 0,
                'subtotal' => 0,
                'shipping' => Config::get('cms.shipping.flatRate'),
                'total'    => 0
            ];
 
            foreach ( $basket as $item )
            {
                $summary['count'] += $item->quantity;
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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)
    {
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1514 …4}
    
/home/cfms/app/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);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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)
    {
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1515 …4}
    
/home/cfms/app/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']);
    }
 
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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)
    {
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1516 …4}
    
/home/cfms/app/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);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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)
    {
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1517 …4}
    
/home/cfms/app/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)
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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)
    {
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1518 …4}
    
/home/cfms/app/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;
    }
}
 
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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)
    {
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1519 …4}
    
/home/cfms/app/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;
 
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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)
    {
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1520 …4}
    
/home/cfms/app/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
     */
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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.
     *
Arguments
  1. Closure($request) {#1347 …4}
    
/home/cfms/app/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)
Arguments
  1. Illuminate\Routing\Route {#1335}
    
  2. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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.
     *
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\Routing\Route {#1335}
    
/home/cfms/app/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)
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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.
     *
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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;
            }
        }
 
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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)
    {
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#192 …4}
    
/home/cfms/app/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
     */
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/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()
Arguments
  1. Closure($request) {#1317 …4}
    
/home/cfms/app/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.
     *
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/cfms/app/public/index.php
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 
Arguments
  1. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1348 …4}
      #routeResolver: Closure() {#1282 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/webinars"
      #requestUri: "/webinars"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1523}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
PATH
"/usr/local/bin:/bin:/usr/bin"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_HOST
"www.cocoonfms.com"
HTTP_REFERER
"https://www.cocoonfms.co.uk/webinars"
HTTP_USER_AGENT
"claudebot"
HTTP_X_FORWARDED_FOR
"44.222.249.19, 172.71.222.50"
HTTP_X_REAL_IP
"44.222.249.19"
HTTP_X_REMOTE_IP
"172.71.222.50"
HTTP_CF_RAY
"86b7be759b6820c9-IAD"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_CF_CONNECTING_IP
"44.222.249.19"
HTTP_CDN_LOOP
"cloudflare"
HTTP_CF_IPCOUNTRY
"US"
DOCUMENT_ROOT
"/home/cfms/public_html"
REMOTE_ADDR
"44.222.249.19"
REMOTE_PORT
"34170"
SERVER_ADDR
"185.199.220.36"
SERVER_NAME
"www.cocoonfms.com"
SERVER_ADMIN
"[email protected]"
SERVER_PORT
"443"
REQUEST_SCHEME
"https"
REQUEST_URI
"/webinars"
REDIRECT_URL
"/webinars"
REDIRECT_REQUEST_METHOD
"GET"
PROXY_REMOTE_ADDR
"127.0.0.1"
HTTPS
"on"
REDIRECT_STATUS
"200"
SCRIPT_FILENAME
"/home/cfms/public_html/index.php"
QUERY_STRING
""
SCRIPT_URI
"https://www.cocoonfms.com/webinars"
SCRIPT_URL
"/webinars"
SCRIPT_NAME
"/index.php"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"LiteSpeed"
REQUEST_METHOD
"GET"
X-LSCACHE
"on"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711630206.4728
REQUEST_TIME
1711630206
APP_NAME
"CocoonFMS"
APP_ENV
"production"
APP_KEY
"base64:mqyR8n99S07abfMvtu1F1UA+7H8B1ZjmAv2BFQPYEgE="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"https://www.cocoonfms.com"
FORCE_SSL
"true"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"cfms_www"
DB_USERNAME
"cfms_laravel"
DB_PASSWORD
"}M@V1+q3?$GS"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"array"
SESSION_DRIVER
"file"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"127.0.0.1"
MAIL_PORT
"25"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
PUSHER_APP_ID
""
PUSHER_KEY
""
PUSHER_SECRET
""
GOOGLE_RECAPTCHA_KEY
"6LfpegclAAAAAIWVMe0JAVz9gXwDMbvBAYpxnITu"
GOOGLE_RECAPTCHA_SECRET
"6LfpegclAAAAALA-64Q73n8c9vriQ8HJEWRCaBeI"
ZOOM_CLIENT_KEY
"1YppqwqAS_iJTjgJzxgv2w"
ZOOM_CLIENT_SECRET
"eHmW4Ss59DzhfCBKZQtAWrNn0UC5lsLpIwEU"
Key Value
PATH
"/usr/local/bin:/bin:/usr/bin"
APP_NAME
"CocoonFMS"
APP_ENV
"production"
APP_KEY
"base64:mqyR8n99S07abfMvtu1F1UA+7H8B1ZjmAv2BFQPYEgE="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"https://www.cocoonfms.com"
FORCE_SSL
"true"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"cfms_www"
DB_USERNAME
"cfms_laravel"
DB_PASSWORD
"}M@V1+q3?$GS"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"array"
SESSION_DRIVER
"file"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"127.0.0.1"
MAIL_PORT
"25"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
PUSHER_APP_ID
""
PUSHER_KEY
""
PUSHER_SECRET
""
GOOGLE_RECAPTCHA_KEY
"6LfpegclAAAAAIWVMe0JAVz9gXwDMbvBAYpxnITu"
GOOGLE_RECAPTCHA_SECRET
"6LfpegclAAAAALA-64Q73n8c9vriQ8HJEWRCaBeI"
ZOOM_CLIENT_KEY
"1YppqwqAS_iJTjgJzxgv2w"
ZOOM_CLIENT_SECRET
"eHmW4Ss59DzhfCBKZQtAWrNn0UC5lsLpIwEU"
0. Whoops\Handler\PrettyPageHandler