Illuminate \ Database \ QueryException (2002)
SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from `event_category`)
Previous exceptions
  • SQLSTATE[HY000] [2002] No such file or directory (2002)
  • SQLSTATE[HY000] [2002] No such file or directory (2002)
Illuminate\Database\QueryException thrown with message "SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from `event_category`)" Stacktrace: #54 Illuminate\Database\QueryException in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664 #53 Doctrine\DBAL\Driver\PDOException in /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47 #52 PDOException in /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 #51 PDO:__construct in /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 #50 Doctrine\DBAL\Driver\PDOConnection:__construct in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:64 #49 Illuminate\Database\Connectors\Connector:createPdoConnection in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:43 #48 Illuminate\Database\Connectors\Connector:createConnection in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 #47 Illuminate\Database\Connectors\MySqlConnector:connect in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:183 #46 Illuminate\Database\Connectors\ConnectionFactory:Illuminate\Database\Connectors\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:915 #45 call_user_func in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:915 #44 Illuminate\Database\Connection:getPdo in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:940 #43 Illuminate\Database\Connection:getReadPdo in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:399 #42 Illuminate\Database\Connection:getPdoForSelect in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:325 #41 Illuminate\Database\Connection:Illuminate\Database\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:657 #40 Illuminate\Database\Connection:runQueryCallback in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 #39 Illuminate\Database\Connection:run in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:333 #38 Illuminate\Database\Connection:select in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1719 #37 Illuminate\Database\Query\Builder:runSelect in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1704 #36 Illuminate\Database\Query\Builder:get in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:481 #35 Illuminate\Database\Eloquent\Builder:getModels in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:465 #34 Illuminate\Database\Eloquent\Builder:get in /var/www/html/app/Providers/AppServiceProvider.php:41 #33 App\Providers\AppServiceProvider:App\Providers\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:164 #32 Illuminate\View\Factory:Illuminate\View\Concerns\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:347 #31 Illuminate\Events\Dispatcher:Illuminate\Events\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:200 #30 Illuminate\Events\Dispatcher:dispatch in /var/www/html/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:179 #29 Illuminate\View\Factory:callComposer in /var/www/html/vendor/laravel/framework/src/Illuminate/View/View.php:118 #28 Illuminate\View\View:renderContents in /var/www/html/vendor/laravel/framework/src/Illuminate/View/View.php:85 #27 Illuminate\View\View:render in /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Response.php:42 #26 Illuminate\Http\Response:setContent in /var/www/html/vendor/symfony/http-foundation/Response.php:206 #25 Symfony\Component\HttpFoundation\Response:__construct in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:55 #24 Illuminate\Routing\ResponseFactory:make in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:69 #23 Illuminate\Routing\ResponseFactory:view in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:403 #22 Illuminate\Foundation\Exceptions\Handler:renderHttpException in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:295 #21 Illuminate\Foundation\Exceptions\Handler:prepareResponse in /var/www/html/app/Exceptions/Handler.php:60 #20 App\Exceptions\Handler:render in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:83 #19 Illuminate\Routing\Pipeline:handleException in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:32 #18 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/vendor/fideloper/proxy/src/TrustProxies.php:56 #17 Fideloper\Proxy\TrustProxies:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 #16 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #15 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 #14 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #12 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 #11 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 #10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #9 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 #8 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #6 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:46 #5 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 #4 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #3 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 #2 Illuminate\Pipeline\Pipeline:then in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /var/www/html/index.php:72
54
Illuminate\Database\QueryException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php664
53
Doctrine\DBAL\Driver\PDOException
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php47
52
PDOException
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php43
51
PDO __construct
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php43
50
Doctrine\DBAL\Driver\PDOConnection __construct
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php64
49
Illuminate\Database\Connectors\Connector createPdoConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php43
48
Illuminate\Database\Connectors\Connector createConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php24
47
Illuminate\Database\Connectors\MySqlConnector connect
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php183
46
Illuminate\Database\Connectors\ConnectionFactory Illuminate\Database\Connectors\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php915
45
call_user_func
/vendor/laravel/framework/src/Illuminate/Database/Connection.php915
44
Illuminate\Database\Connection getPdo
/vendor/laravel/framework/src/Illuminate/Database/Connection.php940
43
Illuminate\Database\Connection getReadPdo
/vendor/laravel/framework/src/Illuminate/Database/Connection.php399
42
Illuminate\Database\Connection getPdoForSelect
/vendor/laravel/framework/src/Illuminate/Database/Connection.php325
41
Illuminate\Database\Connection Illuminate\Database\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php657
40
Illuminate\Database\Connection runQueryCallback
/vendor/laravel/framework/src/Illuminate/Database/Connection.php624
39
Illuminate\Database\Connection run
/vendor/laravel/framework/src/Illuminate/Database/Connection.php333
38
Illuminate\Database\Connection select
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php1719
37
Illuminate\Database\Query\Builder runSelect
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php1704
36
Illuminate\Database\Query\Builder get
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php481
35
Illuminate\Database\Eloquent\Builder getModels
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php465
34
Illuminate\Database\Eloquent\Builder get
/app/Providers/AppServiceProvider.php41
33
App\Providers\AppServiceProvider App\Providers\{closure}
/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php164
32
Illuminate\View\Factory Illuminate\View\Concerns\{closure}
/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php347
31
Illuminate\Events\Dispatcher Illuminate\Events\{closure}
/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php200
30
Illuminate\Events\Dispatcher dispatch
/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php179
29
Illuminate\View\Factory callComposer
/vendor/laravel/framework/src/Illuminate/View/View.php118
28
Illuminate\View\View renderContents
/vendor/laravel/framework/src/Illuminate/View/View.php85
27
Illuminate\View\View render
/vendor/laravel/framework/src/Illuminate/Http/Response.php42
26
Illuminate\Http\Response setContent
/vendor/symfony/http-foundation/Response.php206
25
Symfony\Component\HttpFoundation\Response __construct
/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php55
24
Illuminate\Routing\ResponseFactory make
/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php69
23
Illuminate\Routing\ResponseFactory view
/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php403
22
Illuminate\Foundation\Exceptions\Handler renderHttpException
/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php295
21
Illuminate\Foundation\Exceptions\Handler prepareResponse
/app/Exceptions/Handler.php60
20
App\Exceptions\Handler render
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php83
19
Illuminate\Routing\Pipeline handleException
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php32
18
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/fideloper/proxy/src/TrustProxies.php56
17
Fideloper\Proxy\TrustProxies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php149
16
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
15
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php30
14
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php149
13
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
12
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php30
11
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php149
10
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
9
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php27
8
Illuminate\Foundation\Http\Middleware\ValidatePostSize handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php149
7
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
6
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php46
5
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php149
4
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
3
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php102
2
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php151
1
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php116
0
Illuminate\Foundation\Http\Kernel handle
/index.php72
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * @param  array     $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function runQueryCallback($query, $bindings, Closure $callback)
    {
        // To execute the statement, we'll simply call the callback, which will actually
        // run the SQL against the PDO connection. Then we can calculate the time it
        // took to execute and log the query SQL, bindings and time in our memory.
        try {
            $result = $callback($query, $bindings);
        }
 
        // If an exception occurs when attempting to run a query, we'll format the error
        // message to include the bindings with SQL, which will make this exception a
        // lot more helpful to the developer instead of just the database's errors.
        catch (Exception $e) {
            throw new QueryException(
                $query, $this->prepareBindings($bindings), $e
            );
        }
 
        return $result;
    }
 
    /**
     * Log a query in the connection's query log.
     *
     * @param  string  $query
     * @param  array   $bindings
     * @param  float|null  $time
     * @return void
     */
    public function logQuery($query, $bindings, $time = null)
    {
        $this->event(new QueryExecuted($query, $bindings, $time, $this));
 
        if ($this->loggingQueries) {
Arguments
  1. "SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from `event_category`)"
    
/var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
 * @since 2.0
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string      $dsn
     * @param string|null $user
     * @param string|null $password
     * @param array|null  $options
     *
     * @throws PDOException in case of an error.
     */
    public function __construct($dsn, $user = null, $password = null, array $options = null)
    {
        try {
            parent::__construct($dsn, $user, $password, $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array()));
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function exec($statement)
    {
        try {
            return parent::exec($statement);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function getServerVersion()
    {
Arguments
  1. "SQLSTATE[HY000] [2002] No such file or directory"
    
Exception message: SQLSTATE[HY000] [2002] No such file or directory
/var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
/**
 * PDO implementation of the Connection interface.
 * Used by all PDO-based drivers.
 *
 * @since 2.0
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string      $dsn
     * @param string|null $user
     * @param string|null $password
     * @param array|null  $options
     *
     * @throws PDOException in case of an error.
     */
    public function __construct($dsn, $user = null, $password = null, array $options = null)
    {
        try {
            parent::__construct($dsn, $user, $password, $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array()));
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function exec($statement)
    {
        try {
            return parent::exec($statement);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
Arguments
  1. "SQLSTATE[HY000] [2002] No such file or directory"
    
Exception message: SQLSTATE[HY000] [2002] No such file or directory
/var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
/**
 * PDO implementation of the Connection interface.
 * Used by all PDO-based drivers.
 *
 * @since 2.0
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string      $dsn
     * @param string|null $user
     * @param string|null $password
     * @param array|null  $options
     *
     * @throws PDOException in case of an error.
     */
    public function __construct($dsn, $user = null, $password = null, array $options = null)
    {
        try {
            parent::__construct($dsn, $user, $password, $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array()));
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function exec($statement)
    {
        try {
            return parent::exec($statement);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
Arguments
  1. "mysql:host=localhost;port=3306;dbname=showtimeon_events"
    
  2. "root"
    
  3. "show890@!time"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
        } catch (Exception $e) {
            return $this->tryAgainIfCausedByLostConnection(
                $e, $dsn, $username, $password, $options
            );
        }
    }
 
    /**
     * Create a new PDO connection instance.
     *
     * @param  string  $dsn
     * @param  string  $username
     * @param  string  $password
     * @param  array  $options
     * @return \PDO
     */
    protected function createPdoConnection($dsn, $username, $password, $options)
    {
        if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
            return new PDOConnection($dsn, $username, $password, $options);
        }
 
        return new PDO($dsn, $username, $password, $options);
    }
 
    /**
     * Determine if the connection is persistent.
     *
     * @param  array  $options
     * @return bool
     */
    protected function isPersistentConnection($options)
    {
        return isset($options[PDO::ATTR_PERSISTENT]) &&
               $options[PDO::ATTR_PERSISTENT];
    }
 
    /**
     * Handle an exception that occurred during connect execution.
     *
Arguments
  1. "mysql:host=localhost;port=3306;dbname=showtimeon_events"
    
  2. "root"
    
  3. "show890@!time"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
        PDO::ATTR_EMULATE_PREPARES => false,
    ];
 
    /**
     * Create a new PDO connection.
     *
     * @param  string  $dsn
     * @param  array   $config
     * @param  array   $options
     * @return \PDO
     */
    public function createConnection($dsn, array $config, array $options)
    {
        list($username, $password) = [
            $config['username'] ?? null, $config['password'] ?? null,
        ];
 
        try {
            return $this->createPdoConnection(
                $dsn, $username, $password, $options
            );
        } catch (Exception $e) {
            return $this->tryAgainIfCausedByLostConnection(
                $e, $dsn, $username, $password, $options
            );
        }
    }
 
    /**
     * Create a new PDO connection instance.
     *
     * @param  string  $dsn
     * @param  string  $username
     * @param  string  $password
     * @param  array  $options
     * @return \PDO
     */
    protected function createPdoConnection($dsn, $username, $password, $options)
    {
        if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
Arguments
  1. "mysql:host=localhost;port=3306;dbname=showtimeon_events"
    
  2. "root"
    
  3. "show890@!time"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php
use PDO;
 
class MySqlConnector extends Connector implements ConnectorInterface
{
    /**
     * Establish a database connection.
     *
     * @param  array  $config
     * @return \PDO
     */
    public function connect(array $config)
    {
        $dsn = $this->getDsn($config);
 
        $options = $this->getOptions($config);
 
        // We need to grab the PDO options that should be used while making the brand
        // new connection instance. The PDO options control various aspects of the
        // connection's behavior, and some might be specified by the developers.
        $connection = $this->createConnection($dsn, $config, $options);
 
        if (! empty($config['database'])) {
            $connection->exec("use `{$config['database']}`;");
        }
 
        $this->configureEncoding($connection, $config);
 
        // Next, we will check to see if a timezone has been specified in this config
        // and if it has we will issue a statement to modify the timezone with the
        // database. Setting this DB timezone is an optional configuration item.
        $this->configureTimezone($connection, $config);
 
        $this->setModes($connection, $config);
 
        return $connection;
    }
 
    /**
     * Set the connection character set and collation.
     *
Arguments
  1. "mysql:host=localhost;port=3306;dbname=showtimeon_events"
    
  2. array:13 [
      "driver" => "mysql"
      "host" => "localhost"
      "port" => "3306"
      "database" => "showtimeon_events"
      "username" => "root"
      "password" => "show890@!time"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "strict" => false
      "engine" => null
      "name" => "mysql"
    ]
    
  3. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php
    {
        return array_key_exists('host', $config)
                            ? $this->createPdoResolverWithHosts($config)
                            : $this->createPdoResolverWithoutHosts($config);
    }
 
    /**
     * Create a new Closure that resolves to a PDO instance with a specific host or an array of hosts.
     *
     * @param  array  $config
     * @return \Closure
     */
    protected function createPdoResolverWithHosts(array $config)
    {
        return function () use ($config) {
            foreach (Arr::shuffle($hosts = $this->parseHosts($config)) as $key => $host) {
                $config['host'] = $host;
 
                try {
                    return $this->createConnector($config)->connect($config);
                } catch (PDOException $e) {
                    if (count($hosts) - 1 === $key && $this->container->bound(ExceptionHandler::class)) {
                        $this->container->make(ExceptionHandler::class)->report($e);
                    }
                }
            }
 
            throw $e;
        };
    }
 
    /**
     * Parse the hosts configuration item into an array.
     *
     * @param  array  $config
     * @return array
     */
    protected function parseHosts(array $config)
    {
        $hosts = Arr::wrap($config['host']);
Arguments
  1. array:13 [
      "driver" => "mysql"
      "host" => "localhost"
      "port" => "3306"
      "database" => "showtimeon_events"
      "username" => "root"
      "password" => "show890@!time"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "strict" => false
      "engine" => null
      "name" => "mysql"
    ]
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
 
            $this->doctrineConnection = new DoctrineConnection([
                'pdo' => $this->getPdo(),
                'dbname' => $this->getConfig('database'),
                'driver' => $driver->getName(),
            ], $driver);
        }
 
        return $this->doctrineConnection;
    }
 
    /**
     * Get the current PDO connection.
     *
     * @return \PDO
     */
    public function getPdo()
    {
        if ($this->pdo instanceof Closure) {
            return $this->pdo = call_user_func($this->pdo);
        }
 
        return $this->pdo;
    }
 
    /**
     * Get the current PDO connection used for reading.
     *
     * @return \PDO
     */
    public function getReadPdo()
    {
        if ($this->transactions > 0) {
            return $this->getPdo();
        }
 
        if ($this->getConfig('sticky') && $this->recordsModified) {
            return $this->getPdo();
        }
 
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
 
            $this->doctrineConnection = new DoctrineConnection([
                'pdo' => $this->getPdo(),
                'dbname' => $this->getConfig('database'),
                'driver' => $driver->getName(),
            ], $driver);
        }
 
        return $this->doctrineConnection;
    }
 
    /**
     * Get the current PDO connection.
     *
     * @return \PDO
     */
    public function getPdo()
    {
        if ($this->pdo instanceof Closure) {
            return $this->pdo = call_user_func($this->pdo);
        }
 
        return $this->pdo;
    }
 
    /**
     * Get the current PDO connection used for reading.
     *
     * @return \PDO
     */
    public function getReadPdo()
    {
        if ($this->transactions > 0) {
            return $this->getPdo();
        }
 
        if ($this->getConfig('sticky') && $this->recordsModified) {
            return $this->getPdo();
        }
 
Arguments
  1. Closure {#764
      class: "Illuminate\Database\Connectors\ConnectionFactory"
      this: ConnectionFactory {#40 …}
      use: {
        $config: array:13 [
          "driver" => "mysql"
          "host" => "localhost"
          "port" => "3306"
          "database" => "showtimeon_events"
          "username" => "root"
          "password" => "show890@!time"
          "unix_socket" => ""
          "charset" => "utf8mb4"
          "collation" => "utf8mb4_unicode_ci"
          "prefix" => ""
          "strict" => false
          "engine" => null
          "name" => "mysql"
        ]
      }
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
    /**
     * Get the current PDO connection used for reading.
     *
     * @return \PDO
     */
    public function getReadPdo()
    {
        if ($this->transactions > 0) {
            return $this->getPdo();
        }
 
        if ($this->getConfig('sticky') && $this->recordsModified) {
            return $this->getPdo();
        }
 
        if ($this->readPdo instanceof Closure) {
            return $this->readPdo = call_user_func($this->readPdo);
        }
 
        return $this->readPdo ?: $this->getPdo();
    }
 
    /**
     * Set the PDO connection.
     *
     * @param  \PDO|\Closure|null  $pdo
     * @return $this
     */
    public function setPdo($pdo)
    {
        $this->transactions = 0;
 
        $this->pdo = $pdo;
 
        return $this;
    }
 
    /**
     * Set the PDO connection used for reading.
     *
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
    protected function prepared(PDOStatement $statement)
    {
        $statement->setFetchMode($this->fetchMode);
 
        $this->event(new Events\StatementPrepared(
            $this, $statement
        ));
 
        return $statement;
    }
 
    /**
     * Get the PDO connection to use for a select query.
     *
     * @param  bool  $useReadPdo
     * @return \PDO
     */
    protected function getPdoForSelect($useReadPdo = true)
    {
        return $useReadPdo ? $this->getReadPdo() : $this->getPdo();
    }
 
    /**
     * Run an insert statement against the database.
     *
     * @param  string  $query
     * @param  array   $bindings
     * @return bool
     */
    public function insert($query, $bindings = [])
    {
        return $this->statement($query, $bindings);
    }
 
    /**
     * Run an update statement against the database.
     *
     * @param  string  $query
     * @param  array   $bindings
     * @return int
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
 
    /**
     * Run a select statement against the database.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  bool  $useReadPdo
     * @return array
     */
    public function select($query, $bindings = [], $useReadPdo = true)
    {
        return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
            if ($this->pretending()) {
                return [];
            }
 
            // For select statements, we'll simply execute the query and return an array
            // of the database result set. Each element in the array will be a single
            // row from the database table, and will either be an array or objects.
            $statement = $this->prepared($this->getPdoForSelect($useReadPdo)
                              ->prepare($query));
 
            $this->bindValues($statement, $this->prepareBindings($bindings));
 
            $statement->execute();
 
            return $statement->fetchAll();
        });
    }
 
    /**
     * Run a select statement against the database and returns a generator.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  bool  $useReadPdo
     * @return \Generator
     */
    public function cursor($query, $bindings = [], $useReadPdo = true)
    {
Arguments
  1. true
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
        return $result;
    }
 
    /**
     * Run a SQL statement.
     *
     * @param  string    $query
     * @param  array     $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function runQueryCallback($query, $bindings, Closure $callback)
    {
        // To execute the statement, we'll simply call the callback, which will actually
        // run the SQL against the PDO connection. Then we can calculate the time it
        // took to execute and log the query SQL, bindings and time in our memory.
        try {
            $result = $callback($query, $bindings);
        }
 
        // If an exception occurs when attempting to run a query, we'll format the error
        // message to include the bindings with SQL, which will make this exception a
        // lot more helpful to the developer instead of just the database's errors.
        catch (Exception $e) {
            throw new QueryException(
                $query, $this->prepareBindings($bindings), $e
            );
        }
 
        return $result;
    }
 
    /**
     * Log a query in the connection's query log.
     *
     * @param  string  $query
     * @param  array   $bindings
     * @param  float|null  $time
Arguments
  1. "select * from `event_category`"
    
  2. []
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * Run a SQL statement and log its execution context.
     *
     * @param  string    $query
     * @param  array     $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function run($query, $bindings, Closure $callback)
    {
        $this->reconnectIfMissingConnection();
 
        $start = microtime(true);
 
        // Here we will run this query. If an exception occurs we'll determine if it was
        // caused by a connection that has been lost. If that is the cause, we'll try
        // to re-establish connection and re-run the query with a fresh connection.
        try {
            $result = $this->runQueryCallback($query, $bindings, $callback);
        } catch (QueryException $e) {
            $result = $this->handleQueryException(
                $e, $query, $bindings, $callback
            );
        }
 
        // Once we have run the query we will calculate the time that it took to run and
        // then log the query, bindings, and execution time so we will report them on
        // the event that the developer needs them. We'll log time in milliseconds.
        $this->logQuery(
            $query, $bindings, $this->getElapsedTime($start)
        );
 
        return $result;
    }
 
    /**
     * Run a SQL statement.
     *
     * @param  string    $query
Arguments
  1. "select * from `event_category`"
    
  2. []
    
  3. Closure {#772
      class: "Illuminate\Database\Connection"
      this: MySqlConnection {#765 …}
      parameters: {
        $query: {}
        $bindings: {}
      }
      use: {
        $useReadPdo: true
      }
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     */
    public function select($query, $bindings = [], $useReadPdo = true)
    {
        return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
            if ($this->pretending()) {
                return [];
            }
 
            // For select statements, we'll simply execute the query and return an array
            // of the database result set. Each element in the array will be a single
            // row from the database table, and will either be an array or objects.
            $statement = $this->prepared($this->getPdoForSelect($useReadPdo)
                              ->prepare($query));
 
            $this->bindValues($statement, $this->prepareBindings($bindings));
 
            $statement->execute();
 
            return $statement->fetchAll();
        });
    }
 
    /**
     * Run a select statement against the database and returns a generator.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  bool  $useReadPdo
     * @return \Generator
     */
    public function cursor($query, $bindings = [], $useReadPdo = true)
    {
        $statement = $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
            if ($this->pretending()) {
                return [];
            }
 
            // First we will create a statement for the query. Then, we will set the fetch
            // mode and prepare the bindings for the query. Once that's done we will be
            // ready to execute the query against the database and return the cursor.
Arguments
  1. "select * from `event_category`"
    
  2. []
    
  3. Closure {#772
      class: "Illuminate\Database\Connection"
      this: MySqlConnection {#765 …}
      parameters: {
        $query: {}
        $bindings: {}
      }
      use: {
        $useReadPdo: true
      }
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
        if (is_null($original)) {
            $this->columns = $columns;
        }
 
        $results = $this->processor->processSelect($this, $this->runSelect());
 
        $this->columns = $original;
 
        return collect($results);
    }
 
    /**
     * Run the query as a "select" statement against the connection.
     *
     * @return array
     */
    protected function runSelect()
    {
        return $this->connection->select(
            $this->toSql(), $this->getBindings(), ! $this->useWritePdo
        );
    }
 
    /**
     * Paginate the given query into a simple paginator.
     *
     * @param  int  $perPage
     * @param  array  $columns
     * @param  string  $pageName
     * @param  int|null  $page
     * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
     */
    public function paginate($perPage = 15, $columns = ['*'], $pageName = 'page', $page = null)
    {
        $page = $page ?: Paginator::resolveCurrentPage($pageName);
 
        $total = $this->getCountForPagination($columns);
 
        $results = $total ? $this->forPage($page, $perPage)->get($columns) : collect();
 
Arguments
  1. "select * from `event_category`"
    
  2. []
    
  3. true
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
        $result = (array) $this->first([$column]);
 
        return count($result) > 0 ? reset($result) : null;
    }
 
    /**
     * Execute the query as a "select" statement.
     *
     * @param  array  $columns
     * @return \Illuminate\Support\Collection
     */
    public function get($columns = ['*'])
    {
        $original = $this->columns;
 
        if (is_null($original)) {
            $this->columns = $columns;
        }
 
        $results = $this->processor->processSelect($this, $this->runSelect());
 
        $this->columns = $original;
 
        return collect($results);
    }
 
    /**
     * Run the query as a "select" statement against the connection.
     *
     * @return array
     */
    protected function runSelect()
    {
        return $this->connection->select(
            $this->toSql(), $this->getBindings(), ! $this->useWritePdo
        );
    }
 
    /**
     * Paginate the given query into a simple paginator.
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
        // If we actually found models we will also eager load any relationships that
        // have been specified as needing to be eager loaded, which will solve the
        // n+1 query issue for the developers to avoid running a lot of queries.
        if (count($models = $builder->getModels($columns)) > 0) {
            $models = $builder->eagerLoadRelations($models);
        }
 
        return $builder->getModel()->newCollection($models);
    }
 
    /**
     * Get the hydrated models without eager loading.
     *
     * @param  array  $columns
     * @return \Illuminate\Database\Eloquent\Model[]
     */
    public function getModels($columns = ['*'])
    {
        return $this->model->hydrate(
            $this->query->get($columns)->all()
        )->all();
    }
 
    /**
     * Eager load the relationships for the models.
     *
     * @param  array  $models
     * @return array
     */
    public function eagerLoadRelations(array $models)
    {
        foreach ($this->eagerLoad as $name => $constraints) {
            // For nested eager loads we'll skip loading them here and they will be set as an
            // eager load on the query to retrieve the relation so that they will be eager
            // loaded on that query, because that is where they get hydrated as models.
            if (strpos($name, '.') === false) {
                $models = $this->eagerLoadRelation($models, $name, $constraints);
            }
        }
 
Arguments
  1. array:1 [
      0 => "*"
    ]
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
    {
        if ($result = $this->first([$column])) {
            return $result->{$column};
        }
    }
 
    /**
     * Execute the query as a "select" statement.
     *
     * @param  array  $columns
     * @return \Illuminate\Database\Eloquent\Collection|static[]
     */
    public function get($columns = ['*'])
    {
        $builder = $this->applyScopes();
 
        // If we actually found models we will also eager load any relationships that
        // have been specified as needing to be eager loaded, which will solve the
        // n+1 query issue for the developers to avoid running a lot of queries.
        if (count($models = $builder->getModels($columns)) > 0) {
            $models = $builder->eagerLoadRelations($models);
        }
 
        return $builder->getModel()->newCollection($models);
    }
 
    /**
     * Get the hydrated models without eager loading.
     *
     * @param  array  $columns
     * @return \Illuminate\Database\Eloquent\Model[]
     */
    public function getModels($columns = ['*'])
    {
        return $this->model->hydrate(
            $this->query->get($columns)->all()
        )->all();
    }
 
    /**
Arguments
  1. array:1 [
      0 => "*"
    ]
    
/var/www/html/app/Providers/AppServiceProvider.php
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bind('path.public', function() {
            return base_path('public/');
        });
        view()->composer('*',function($view) {
            $data=array();
            // echo $res->getStatusCode();
 
            // $response=json_decode($res->getBody());
            // $this->response=$res->getBody();
            // $data['access_token']=$response->accessToken;
            // $data['access_token_type']=$response->tokenType;
            
            // $footer_categories=EventCategory::join('events','events.id','event_categories.id')->get();
            $footer_categories=EventCategory::with('events')->get();
 
            $view->with('footer_categories', $footer_categories)->with('payme_data',$data);
        });
    }
}
 
/var/www/html/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php
     * @param  string  $prefix
     * @return string
     */
    protected function classEventMethodForPrefix($prefix)
    {
        return Str::contains($prefix, 'composing') ? 'compose' : 'create';
    }
 
    /**
     * Add a listener to the event dispatcher.
     *
     * @param  string    $name
     * @param  \Closure  $callback
     * @return void
     */
    protected function addEventListener($name, $callback)
    {
        if (Str::contains($name, '*')) {
            $callback = function ($name, array $data) use ($callback) {
                return $callback($data[0]);
            };
        }
 
        $this->events->listen($name, $callback);
    }
 
    /**
     * Call the composer for a given view.
     *
     * @param  \Illuminate\Contracts\View\View  $view
     * @return void
     */
    public function callComposer(ViewContract $view)
    {
        $this->events->dispatch('composing: '.$view->name(), [$view]);
    }
 
    /**
     * Call the creator for a given view.
     *
Arguments
  1. View {#760}
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php
 
        return $listeners;
    }
 
    /**
     * Register an event listener with the dispatcher.
     *
     * @param  \Closure|string  $listener
     * @param  bool  $wildcard
     * @return \Closure
     */
    public function makeListener($listener, $wildcard = false)
    {
        if (is_string($listener)) {
            return $this->createClassListener($listener, $wildcard);
        }
 
        return function ($event, $payload) use ($listener, $wildcard) {
            if ($wildcard) {
                return $listener($event, $payload);
            }
 
            return $listener(...array_values($payload));
        };
    }
 
    /**
     * Create a class based listener using the IoC container.
     *
     * @param  string  $listener
     * @param  bool  $wildcard
     * @return \Closure
     */
    public function createClassListener($listener, $wildcard = false)
    {
        return function ($event, $payload) use ($listener, $wildcard) {
            if ($wildcard) {
                return call_user_func($this->createClassCallable($listener), $event, $payload);
            }
 
Arguments
  1. "composing: errors::404"
    
  2. array:1 [
      0 => View {#760}
    ]
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php
     * @param  bool  $halt
     * @return array|null
     */
    public function dispatch($event, $payload = [], $halt = false)
    {
        // When the given "event" is actually an object we will assume it is an event
        // object and use the class as the event name and this event itself as the
        // payload to the handler, which makes object based events quite simple.
        list($event, $payload) = $this->parseEventAndPayload(
            $event, $payload
        );
 
        if ($this->shouldBroadcast($payload)) {
            $this->broadcastEvent($payload[0]);
        }
 
        $responses = [];
 
        foreach ($this->getListeners($event) as $listener) {
            $response = $listener($event, $payload);
 
            // If a response is returned from the listener and event halting is enabled
            // we will just return this response, and not call the rest of the event
            // listeners. Otherwise we will add the response on the response list.
            if ($halt && ! is_null($response)) {
                return $response;
            }
 
            // If a boolean false is returned from a listener, we will stop propagating
            // the event to any further listeners down in the chain, else we keep on
            // looping through the listeners and firing every one in our sequence.
            if ($response === false) {
                break;
            }
 
            $responses[] = $response;
        }
 
        return $halt ? null : $responses;
    }
Arguments
  1. "composing: errors::404"
    
  2. array:1 [
      0 => View {#760}
    ]
    
/var/www/html/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php
    protected function addEventListener($name, $callback)
    {
        if (Str::contains($name, '*')) {
            $callback = function ($name, array $data) use ($callback) {
                return $callback($data[0]);
            };
        }
 
        $this->events->listen($name, $callback);
    }
 
    /**
     * Call the composer for a given view.
     *
     * @param  \Illuminate\Contracts\View\View  $view
     * @return void
     */
    public function callComposer(ViewContract $view)
    {
        $this->events->dispatch('composing: '.$view->name(), [$view]);
    }
 
    /**
     * Call the creator for a given view.
     *
     * @param  \Illuminate\Contracts\View\View  $view
     * @return void
     */
    public function callCreator(ViewContract $view)
    {
        $this->events->dispatch('creating: '.$view->name(), [$view]);
    }
}
 
Arguments
  1. "composing: errors::404"
    
  2. array:1 [
      0 => View {#760}
    ]
    
/var/www/html/vendor/laravel/framework/src/Illuminate/View/View.php
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            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());
    }
Arguments
  1. View {#760}
    
/var/www/html/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 string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? call_user_func($callback, $this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
 
            throw $e;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
/var/www/html/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);
/var/www/html/vendor/symfony/http-foundation/Response.php
        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
    ];
 
    /**
     * @param mixed $content The response content, see setContent()
     * @param int   $status  The response status code
     * @param array $headers An array of response headers
     *
     * @throws \InvalidArgumentException When the HTTP status code is not valid
     */
    public function __construct($content = '', $status = 200, $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. View {#760}
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php
     * @param  \Illuminate\Routing\Redirector  $redirector
     * @return void
     */
    public function __construct(ViewFactory $view, Redirector $redirector)
    {
        $this->view = $view;
        $this->redirector = $redirector;
    }
 
    /**
     * Return a new response from the application.
     *
     * @param  string  $content
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    public function make($content = '', $status = 200, array $headers = [])
    {
        return new Response($content, $status, $headers);
    }
 
    /**
     * Return a new view response from the application.
     *
     * @param  string  $view
     * @param  array  $data
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    public function view($view, $data = [], $status = 200, array $headers = [])
    {
        return $this->make($this->view->make($view, $data), $status, $headers);
    }
 
    /**
     * Return a new JSON response from the application.
     *
     * @param  mixed  $data
Arguments
  1. View {#760}
    
  2. 404
    
  3. []
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    public function make($content = '', $status = 200, array $headers = [])
    {
        return new Response($content, $status, $headers);
    }
 
    /**
     * Return a new view response from the application.
     *
     * @param  string  $view
     * @param  array  $data
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    public function view($view, $data = [], $status = 200, array $headers = [])
    {
        return $this->make($this->view->make($view, $data), $status, $headers);
    }
 
    /**
     * Return a new JSON response from the application.
     *
     * @param  mixed  $data
     * @param  int  $status
     * @param  array  $headers
     * @param  int  $options
     * @return \Illuminate\Http\JsonResponse
     */
    public function json($data = [], $status = 200, array $headers = [], $options = 0)
    {
        return new JsonResponse($data, $status, $headers, $options);
    }
 
    /**
     * Return a new JSONP response from the application.
     *
     * @param  string  $callback
Arguments
  1. View {#760}
    
  2. 404
    
  3. []
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
    }
 
    /**
     * Render the given HttpException.
     *
     * @param  \Symfony\Component\HttpKernel\Exception\HttpException  $e
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function renderHttpException(HttpException $e)
    {
        $status = $e->getStatusCode();
 
        $paths = collect(config('view.paths'));
 
        view()->replaceNamespace('errors', $paths->map(function ($path) {
            return "{$path}/errors";
        })->push(__DIR__.'/views')->all());
 
        if (view()->exists($view = "errors::{$status}")) {
            return response()->view($view, ['exception' => $e], $status, $e->getHeaders());
        }
 
        return $this->convertExceptionToResponse($e);
    }
 
    /**
     * Map the given exception into an Illuminate response.
     *
     * @param  \Symfony\Component\HttpFoundation\Response  $response
     * @param  \Exception  $e
     * @return \Illuminate\Http\Response
     */
    protected function toIlluminateResponse($response, Exception $e)
    {
        if ($response instanceof SymfonyRedirectResponse) {
            $response = new RedirectResponse(
                $response->getTargetUrl(), $response->getStatusCode(), $response->headers->all()
            );
        } else {
            $response = new Response(
Arguments
  1. "errors::404"
    
  2. array:1 [
      "exception" => NotFoundHttpException {#470
        -statusCode: 404
        -headers: []
        #message: ""
        #code: 0
        #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php"
        #line: 179
      }
    ]
    
  3. 404
    
  4. []
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
     * Prepare a response for the given exception.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Exception $e
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function prepareResponse($request, Exception $e)
    {
        if (! $this->isHttpException($e) && config('app.debug')) {
            return $this->toIlluminateResponse(
                $this->convertExceptionToResponse($e), $e
            );
        }
 
        if (! $this->isHttpException($e)) {
            $e = new HttpException(500, $e->getMessage());
        }
 
        return $this->toIlluminateResponse(
            $this->renderHttpException($e), $e
        );
    }
 
    /**
     * Create a Symfony response for the given exception.
     *
     * @param  \Exception  $e
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function convertExceptionToResponse(Exception $e)
    {
        $headers = $this->isHttpException($e) ? $e->getHeaders() : [];
 
        $statusCode = $this->isHttpException($e) ? $e->getStatusCode() : 500;
 
        try {
            $content = config('app.debug') && class_exists(Whoops::class)
                    ? $this->renderExceptionWithWhoops($e)
                    : $this->renderExceptionWithSymfony($e, config('app.debug'));
        } catch (Exception $e) {
Arguments
  1. NotFoundHttpException {#470
      -statusCode: 404
      -headers: []
      #message: ""
      #code: 0
      #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php"
      #line: 179
    }
    
/var/www/html/app/Exceptions/Handler.php
    }
 
    /**
     * Render an exception into an HTTP response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Exception  $exception
     * @return \Illuminate\Http\Response
     */
    public function render($request, Exception $exception)
    {
        $e = $this->prepareException($exception);
        if ($e instanceof HttpResponseException) {
            return $e->getResponse();
        } elseif ($e instanceof AuthenticationException) {            
            return $this->unauthenticated($request, $e);
        } elseif ($e instanceof ValidationException) {
            return $this->convertValidationExceptionToResponse($e, $request);
        }
        return $this->prepareResponse($request, $e);
        // return parent::render($request, $exception);        
    }
 
    protected function unauthenticated($request, AuthenticationException $exception){        
        $output['data']       = '';
        $output['message']    = 'Unauthenticated.';
        $output['response']   = false; 
        return response()->json($output);
    }
}
 
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. NotFoundHttpException {#470
      -statusCode: 404
      -headers: []
      #message: ""
      #code: 0
      #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php"
      #line: 179
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
        if (! $this->container->bound(ExceptionHandler::class) ||
            ! $passable instanceof Request) {
            throw $e;
        }
 
        $handler = $this->container->make(ExceptionHandler::class);
 
        $handler->report($e);
 
        $response = $handler->render($passable, $e);
 
        if (method_exists($response, 'withException')) {
            $response->withException($e);
        }
 
        return $response;
    }
}
 
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. NotFoundHttpException {#470
      -statusCode: 404
      -headers: []
      #message: ""
      #code: 0
      #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php"
      #line: 179
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
/**
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * 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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. NotFoundHttpException {#470
      -statusCode: 404
      -headers: []
      #message: ""
      #code: 0
      #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php"
      #line: 179
    }
    
/var/www/html/vendor/fideloper/proxy/src/TrustProxies.php
    {
        $this->config = $config;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param \Illuminate\Http\Request $request
     * @param \Closure                 $next
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     *
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->setTrustedProxyHeaderNames($request);
        $this->setTrustedProxyIpAddresses($request);
 
        return $next($request);
    }
 
    /**
     * Sets the trusted proxies on the request to the value of trustedproxy.proxies
     *
     * @param \Illuminate\Http\Request $request
     */
    protected function setTrustedProxyIpAddresses($request)
    {
        $trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies');
 
        // We only trust specific IP addresses
        if (is_array($trustedIps)) {
            return $this->setTrustedProxyIpAddressesToSpecificIps($request, $trustedIps);
        }
 
        // We trust any IP address that calls us, but not proxies further
        // up the forwarding chain.
        // TODO: Determine if this should only trust the first IP address
        //       Currently it trusts the entire chain (array of IPs),
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/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)) {
                    list($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];
                }
 
                return method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
 
        return [$name, $parameters];
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure {#23
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#31 …}
      parameters: {
        $passable: {}
      }
      use: {
        $destination: Closure {#322 …}
      }
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
     * The additional attributes passed to the middleware.
     *
     * @var array
     */
    protected $attributes = [];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next, ...$attributes)
    {
        $this->attributes = $attributes;
 
        $this->clean($request);
 
        return $next($request);
    }
 
    /**
     * Clean the request's data.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function clean($request)
    {
        $this->cleanParameterBag($request->query);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } else {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/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)) {
                    list($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];
                }
 
                return method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
 
        return [$name, $parameters];
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure {#32
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#31 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#23 …}
        $pipe: "App\Http\Middleware\TrustProxies"
      }
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
     * The additional attributes passed to the middleware.
     *
     * @var array
     */
    protected $attributes = [];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next, ...$attributes)
    {
        $this->attributes = $attributes;
 
        $this->clean($request);
 
        return $next($request);
    }
 
    /**
     * Clean the request's data.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function clean($request)
    {
        $this->cleanParameterBag($request->query);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } else {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/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)) {
                    list($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];
                }
 
                return method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
 
        return [$name, $parameters];
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure {#160
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#31 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#32 …}
        $pipe: "Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull"
      }
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
class ValidatePostSize
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Illuminate\Http\Exceptions\PostTooLargeException
     */
    public function handle($request, Closure $next)
    {
        $max = $this->getPostMaxSize();
 
        if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
            throw new PostTooLargeException;
        }
 
        return $next($request);
    }
 
    /**
     * Determine the server 'post_max_size' as bytes.
     *
     * @return int
     */
    protected function getPostMaxSize()
    {
        if (is_numeric($postMaxSize = ini_get('post_max_size'))) {
            return (int) $postMaxSize;
        }
 
        $metric = strtoupper(substr($postMaxSize, -1));
        $postMaxSize = (int) $postMaxSize;
 
        switch ($metric) {
            case 'K':
                return $postMaxSize * 1024;
            case 'M':
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/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)) {
                    list($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];
                }
 
                return method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
 
        return [$name, $parameters];
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure {#417
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#31 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#160 …}
        $pipe: "App\Http\Middleware\TrimStrings"
      }
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     */
    public function handle($request, Closure $next)
    {
        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);
    }
}
 
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/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)) {
                    list($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];
                }
 
                return method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
 
        return [$name, $parameters];
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure {#449
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#31 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#417 …}
        $pipe: "Illuminate\Foundation\Http\Middleware\ValidatePostSize"
      }
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/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);
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            return $destination($passable);
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/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 {#322
      class: "Illuminate\Foundation\Http\Kernel"
      this: Kernel {#30 …}
      parameters: {
        $request: {}
      }
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
            $router->middlewareGroup($key, $middleware);
        }
 
        foreach ($this->routeMiddleware as $key => $middleware) {
            $router->aliasMiddleware($key, $middleware);
        }
    }
 
    /**
     * 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 Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
Arguments
  1. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/index.php
    return __DIR__;
});
 
 
/*
|--------------------------------------------------------------------------
| 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. Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#466
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#42 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: null
      +attributes: ParameterBag {#45}
      +request: ParameterBag {#51}
      +query: ParameterBag {#51}
      +server: ServerBag {#47}
      +files: FileBag {#48}
      +cookies: ParameterBag {#46}
      +headers: HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/etags/live-event-in-hong-kong"
      #requestUri: "/etags/live-event-in-hong-kong"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
REDIRECT_HTTPS
"**"
REDIRECT_SSL_TLS_SNI
"******************"
REDIRECT_STATUS
"***"
HTTPS
"**"
SSL_TLS_SNI
"******************"
HTTP_ACCEPT
"***"
HTTP_USER_AGENT
"*********"
HTTP_REFERER
"*********************************************************"
HTTP_HOST
"******************"
PATH
"**********************************************************************"
SERVER_SIGNATURE
"********************************************************************************"
SERVER_SOFTWARE
"**********************"
SERVER_NAME
"******************"
SERVER_ADDR
"************"
SERVER_PORT
"***"
REMOTE_ADDR
"*************"
DOCUMENT_ROOT
"*************"
REQUEST_SCHEME
"*****"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"*************"
SERVER_ADMIN
"*******************"
SCRIPT_FILENAME
"***********************"
REMOTE_PORT
"*****"
REDIRECT_URL
"******************************"
GATEWAY_INTERFACE
"*******"
SERVER_PROTOCOL
"********"
REQUEST_METHOD
"***"
QUERY_STRING
""
REQUEST_URI
"******************************"
SCRIPT_NAME
"**********"
PHP_SELF
"**********"
REQUEST_TIME_FLOAT
1711615696.796
REQUEST_TIME
1711615696
APP_NAME
"*******"
APP_ENV
"*****"
APP_KEY
"***************************************************"
APP_DEBUG
"****"
APP_LOG_LEVEL
"*****"
APP_URL
"**********************"
DB_CONNECTION
"*****"
DB_HOST
"*********"
DB_PORT
"****"
DB_DATABASE
"*****************"
DB_USERNAME
"****"
DB_PASSWORD
"*************"
LOG_CHANNEL
"*****"
BROADCAST_DRIVER
"***"
CACHE_DRIVER
"*****"
SESSION_DRIVER
"****"
SESSION_LIFETIME
"***"
QUEUE_DRIVER
"****"
REDIS_HOST
"*********"
REDIS_PASSWORD
"****"
REDIS_PORT
"****"
COMPANY_EMAIL
"**********************"
COMPANY_NAME
"*********"
MAIL_DRIVER
"****"
MAIL_HOST
"**************"
MAIL_PORT
"***"
MAIL_USERNAME
"**************************"
MAIL_PASSWORD
"****************"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"***"
FORM_MAIL
"**********************"
EVENT_COMMISSION
"**"
DEFAULT_TIMEZONE
"************"
SEOPREFIX
"**********"
STRIPE_KEY
"********************************"
STRIPE_SECRET
"********************************"
STRIPE_CURRENCY
"***"
G+_CLIENT_ID
"************************************************************************"
G+_SECRET
"************************"
G+_REDIRECT
"************************************************"
LINKEDIN_CLIENT_ID
"**************"
LINKEDIN_CLIENT_SECRET
"****************"
LINKEDIN_REDIRECT
"****************************************"
TWITTER_CLIENT_ID
"*************************"
TWITTER_CLIENT_SECRET
"**************************************************"
TWITTER_REDIRECT
"***************************************"
SHORTLINK_BITLY_KEY
"****************************************"
BOOKING_TIME
"****"
ADMIN_EMAIL
"**********************"
GOOGLE_CLIENT_ID
"************************************************************************"
GOOGLE_CLIENT_SECRET
"***********************************"
GOOGLE_REDIRECT
"************************************************"
FACEBOOK_CLIENT_ID
"***************"
FACEBOOK_CLIENT_SECRET
"********************************"
FACEBOOK_REDIRECT
"**************************************************"
PAYME_MODE
"*******"
PAYME_VERSION
"****"
PAYME_SANDBOX_URL
"*************************************"
PAYME_SANDBOX_CLIENT_ID
"************************************"
PAYME_SANDBOX_CLIENT_SECRET
"********************************"
PAYME_SANDBOX_SIGNING_KEY_ID
"************************************"
PAYME_SANDBOX_SIGNING_KEY
"************************************************************"
PAYME_URL
"*****************************"
PAY_ME_CLIENT_ID
"************************************"
PAY_ME_CLIENT_SECRET
"********************************"
PAY_ME_SIGNING_KEY_ID
"************************************"
PAY_ME_SIGNING_KEY
"************************************************************"
Key Value
APP_NAME
"*******"
APP_ENV
"*****"
APP_KEY
"***************************************************"
APP_DEBUG
"****"
APP_LOG_LEVEL
"*****"
APP_URL
"**********************"
DB_CONNECTION
"*****"
DB_HOST
"*********"
DB_PORT
"****"
DB_DATABASE
"*****************"
DB_USERNAME
"****"
DB_PASSWORD
"*************"
LOG_CHANNEL
"*****"
BROADCAST_DRIVER
"***"
CACHE_DRIVER
"*****"
SESSION_DRIVER
"****"
SESSION_LIFETIME
"***"
QUEUE_DRIVER
"****"
REDIS_HOST
"*********"
REDIS_PASSWORD
"****"
REDIS_PORT
"****"
COMPANY_EMAIL
"**********************"
COMPANY_NAME
"*********"
MAIL_DRIVER
"****"
MAIL_HOST
"**************"
MAIL_PORT
"***"
MAIL_USERNAME
"**************************"
MAIL_PASSWORD
"****************"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"***"
FORM_MAIL
"**********************"
EVENT_COMMISSION
"**"
DEFAULT_TIMEZONE
"************"
SEOPREFIX
"**********"
STRIPE_KEY
"********************************"
STRIPE_SECRET
"********************************"
STRIPE_CURRENCY
"***"
G+_CLIENT_ID
"************************************************************************"
G+_SECRET
"************************"
G+_REDIRECT
"************************************************"
LINKEDIN_CLIENT_ID
"**************"
LINKEDIN_CLIENT_SECRET
"****************"
LINKEDIN_REDIRECT
"****************************************"
TWITTER_CLIENT_ID
"*************************"
TWITTER_CLIENT_SECRET
"**************************************************"
TWITTER_REDIRECT
"***************************************"
SHORTLINK_BITLY_KEY
"****************************************"
BOOKING_TIME
"****"
ADMIN_EMAIL
"**********************"
GOOGLE_CLIENT_ID
"************************************************************************"
GOOGLE_CLIENT_SECRET
"***********************************"
GOOGLE_REDIRECT
"************************************************"
FACEBOOK_CLIENT_ID
"***************"
FACEBOOK_CLIENT_SECRET
"********************************"
FACEBOOK_REDIRECT
"**************************************************"
PAYME_MODE
"*******"
PAYME_VERSION
"****"
PAYME_SANDBOX_URL
"*************************************"
PAYME_SANDBOX_CLIENT_ID
"************************************"
PAYME_SANDBOX_CLIENT_SECRET
"********************************"
PAYME_SANDBOX_SIGNING_KEY_ID
"************************************"
PAYME_SANDBOX_SIGNING_KEY
"************************************************************"
PAYME_URL
"*****************************"
PAY_ME_CLIENT_ID
"************************************"
PAY_ME_CLIENT_SECRET
"********************************"
PAY_ME_SIGNING_KEY_ID
"************************************"
PAY_ME_SIGNING_KEY
"************************************************************"
0. Whoops\Handler\PrettyPageHandler