Illuminate \ Database \ QueryException (1203)
SQLSTATE[42000] [1203] User khobepchauau_adm already has more than 'max_user_connections' active connections (SQL: select `value`, `name` from `settings` where `type` in (general_tab))
Previous exceptions
  • SQLSTATE[42000] [1203] User khobepchauau_adm already has more than 'max_user_connections' active connections (1203)
Illuminate\Database\QueryException thrown with message "SQLSTATE[42000] [1203] User khobepchauau_adm already has more than 'max_user_connections' active connections (SQL: select `value`, `name` from `settings` where `type` in (general_tab))" Stacktrace: #36 Illuminate\Database\QueryException in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664 #35 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #34 PDOException in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67 #33 PDO:__construct in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67 #32 Illuminate\Database\Connectors\Connector:createPdoConnection in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:43 #31 Illuminate\Database\Connectors\Connector:createConnection in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 #30 Illuminate\Database\Connectors\MySqlConnector:connect in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:183 #29 Illuminate\Database\Connectors\ConnectionFactory:Illuminate\Database\Connectors\{closure} in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:915 #28 call_user_func in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:915 #27 Illuminate\Database\Connection:getPdo in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:940 #26 Illuminate\Database\Connection:getReadPdo in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:399 #25 Illuminate\Database\Connection:getPdoForSelect in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:325 #24 Illuminate\Database\Connection:Illuminate\Database\{closure} in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:657 #23 Illuminate\Database\Connection:runQueryCallback in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 #22 Illuminate\Database\Connection:run in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:333 #21 Illuminate\Database\Connection:select in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1719 #20 Illuminate\Database\Query\Builder:runSelect in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1704 #19 Illuminate\Database\Query\Builder:get in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1904 #18 Illuminate\Database\Query\Builder:pluck in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:677 #17 Illuminate\Database\Eloquent\Builder:pluck in /home/khobepchauau/public_html/app/Providers/AppServiceProvider.php:52 #16 App\Providers\AppServiceProvider:settings in /home/khobepchauau/public_html/app/Providers/AppServiceProvider.php:22 #15 App\Providers\AppServiceProvider:boot in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 #14 call_user_func_array in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 #13 Illuminate\Container\BoundMethod:Illuminate\Container\{closure} in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87 #12 Illuminate\Container\BoundMethod:callBoundMethod in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31 #11 Illuminate\Container\BoundMethod:call in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:549 #10 Illuminate\Container\Container:call in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:792 #9 Illuminate\Foundation\Application:bootProvider in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:775 #8 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #7 array_walk in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:776 #6 Illuminate\Foundation\Application:boot in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17 #5 Illuminate\Foundation\Bootstrap\BootProviders:bootstrap in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:213 #4 Illuminate\Foundation\Application:bootstrapWith in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:162 #3 Illuminate\Foundation\Http\Kernel:bootstrap in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:146 #2 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #1 Illuminate\Foundation\Http\Kernel:handle in /home/khobepchauau/public_html/public/index.php:80 #0 require_once in /home/khobepchauau/public_html/index.php:20
36
Illuminate\Database\QueryException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php664
35
Illuminate\Foundation\Application Illuminate\Foundation\{closure}
[internal]0
34
PDOException
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php67
33
PDO __construct
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php67
32
Illuminate\Database\Connectors\Connector createPdoConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php43
31
Illuminate\Database\Connectors\Connector createConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php24
30
Illuminate\Database\Connectors\MySqlConnector connect
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php183
29
Illuminate\Database\Connectors\ConnectionFactory Illuminate\Database\Connectors\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php915
28
call_user_func
/vendor/laravel/framework/src/Illuminate/Database/Connection.php915
27
Illuminate\Database\Connection getPdo
/vendor/laravel/framework/src/Illuminate/Database/Connection.php940
26
Illuminate\Database\Connection getReadPdo
/vendor/laravel/framework/src/Illuminate/Database/Connection.php399
25
Illuminate\Database\Connection getPdoForSelect
/vendor/laravel/framework/src/Illuminate/Database/Connection.php325
24
Illuminate\Database\Connection Illuminate\Database\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php657
23
Illuminate\Database\Connection runQueryCallback
/vendor/laravel/framework/src/Illuminate/Database/Connection.php624
22
Illuminate\Database\Connection run
/vendor/laravel/framework/src/Illuminate/Database/Connection.php333
21
Illuminate\Database\Connection select
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php1719
20
Illuminate\Database\Query\Builder runSelect
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php1704
19
Illuminate\Database\Query\Builder get
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php1904
18
Illuminate\Database\Query\Builder pluck
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php677
17
Illuminate\Database\Eloquent\Builder pluck
/app/Providers/AppServiceProvider.php52
16
App\Providers\AppServiceProvider settings
/app/Providers/AppServiceProvider.php22
15
App\Providers\AppServiceProvider boot
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php29
14
call_user_func_array
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php29
13
Illuminate\Container\BoundMethod Illuminate\Container\{closure}
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php87
12
Illuminate\Container\BoundMethod callBoundMethod
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php31
11
Illuminate\Container\BoundMethod call
/vendor/laravel/framework/src/Illuminate/Container/Container.php549
10
Illuminate\Container\Container call
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php792
9
Illuminate\Foundation\Application bootProvider
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php775
8
Illuminate\Foundation\Application Illuminate\Foundation\{closure}
[internal]0
7
array_walk
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php776
6
Illuminate\Foundation\Application boot
/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php17
5
Illuminate\Foundation\Bootstrap\BootProviders bootstrap
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php213
4
Illuminate\Foundation\Application bootstrapWith
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php162
3
Illuminate\Foundation\Http\Kernel bootstrap
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php146
2
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php116
1
Illuminate\Foundation\Http\Kernel handle
/public/index.php80
0
require_once
/index.php20
/home/khobepchauau/public_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[42000] [1203] User khobepchauau_adm already has more than 'max_user_connections' active connections (SQL: select `value`, `name` from `settings` where `type` in (general_tab))"
    
[internal]
Arguments
  1. AppServiceProvider {#116}
    
  2. 26
    
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
            );
        }
    }
 
    /**
     * 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.
     *
     * @param  \Exception  $e
     * @param  string  $dsn
     * @param  string  $username
Arguments
  1. "SQLSTATE[42000] [1203] User khobepchauau_adm already has more than 'max_user_connections' active connections"
    
Exception message: SQLSTATE[42000] [1203] User khobepchauau_adm already has more than 'max_user_connections' active connections
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
            );
        }
    }
 
    /**
     * 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.
     *
     * @param  \Exception  $e
     * @param  string  $dsn
     * @param  string  $username
Arguments
  1. "mysql:host=127.0.0.1;port=3306;dbname=khobepchauau_dat"
    
  2. "khobepchauau_adm"
    
  3. "k+@?.xzoji;,"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/home/khobepchauau/public_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=127.0.0.1;port=3306;dbname=khobepchauau_dat"
    
  2. "khobepchauau_adm"
    
  3. "k+@?.xzoji;,"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/home/khobepchauau/public_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=127.0.0.1;port=3306;dbname=khobepchauau_dat"
    
  2. array:13 [
      "driver" => "mysql"
      "host" => "127.0.0.1"
      "port" => "3306"
      "database" => "khobepchauau_dat"
      "username" => "khobepchauau_adm"
      "password" => "k+@?.xzoji;,"
      "charset" => "utf8"
      "collation" => "utf8_unicode_ci"
      "prefix" => ""
      "strict" => false
      "engine" => null
      "dump_command_path" => ""
      "name" => "mysql"
    ]
    
  3. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/home/khobepchauau/public_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" => "127.0.0.1"
      "port" => "3306"
      "database" => "khobepchauau_dat"
      "username" => "khobepchauau_adm"
      "password" => "k+@?.xzoji;,"
      "charset" => "utf8"
      "collation" => "utf8_unicode_ci"
      "prefix" => ""
      "strict" => false
      "engine" => null
      "dump_command_path" => ""
      "name" => "mysql"
    ]
    
/home/khobepchauau/public_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();
        }
 
/home/khobepchauau/public_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 {#177
      class: "Illuminate\Database\Connectors\ConnectionFactory"
      this: ConnectionFactory {#39 …}
      use: {
        $config: array:13 [
          "driver" => "mysql"
          "host" => "127.0.0.1"
          "port" => "3306"
          "database" => "khobepchauau_dat"
          "username" => "khobepchauau_adm"
          "password" => "k+@?.xzoji;,"
          "charset" => "utf8"
          "collation" => "utf8_unicode_ci"
          "prefix" => ""
          "strict" => false
          "engine" => null
          "dump_command_path" => ""
          "name" => "mysql"
        ]
      }
    }
    
/home/khobepchauau/public_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.
     *
/home/khobepchauau/public_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
/home/khobepchauau/public_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
    
/home/khobepchauau/public_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 `value`, `name` from `settings` where `type` in (?)"
    
  2. array:1 [
      0 => "general_tab"
    ]
    
/home/khobepchauau/public_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 `value`, `name` from `settings` where `type` in (?)"
    
  2. array:1 [
      0 => "general_tab"
    ]
    
  3. Closure {#173
      class: "Illuminate\Database\Connection"
      this: MySqlConnection {#178 …}
      parameters: {
        $query: {}
        $bindings: {}
      }
      use: {
        $useReadPdo: true
      }
    }
    
/home/khobepchauau/public_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 `value`, `name` from `settings` where `type` in (?)"
    
  2. array:1 [
      0 => "general_tab"
    ]
    
  3. Closure {#173
      class: "Illuminate\Database\Connection"
      this: MySqlConnection {#178 …}
      parameters: {
        $query: {}
        $bindings: {}
      }
      use: {
        $useReadPdo: true
      }
    }
    
/home/khobepchauau/public_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 `value`, `name` from `settings` where `type` in (?)"
    
  2. array:1 [
      0 => "general_tab"
    ]
    
  3. true
    
/home/khobepchauau/public_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.
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
     *
     * @throws \RuntimeException
     */
    protected function enforceOrderBy()
    {
        if (empty($this->orders) && empty($this->unionOrders)) {
            throw new RuntimeException('You must specify an orderBy clause when using this function.');
        }
    }
 
    /**
     * Get an array with the values of a given column.
     *
     * @param  string  $column
     * @param  string|null  $key
     * @return \Illuminate\Support\Collection
     */
    public function pluck($column, $key = null)
    {
        $results = $this->get(is_null($key) ? [$column] : [$column, $key]);
 
        // If the columns are qualified with a table or have an alias, we cannot use
        // those directly in the "pluck" operations since the results from the DB
        // are only keyed by the column itself. We'll strip the table out here.
        return $results->pluck(
            $this->stripTableForPluck($column),
            $this->stripTableForPluck($key)
        );
    }
 
    /**
     * Strip off the table name or alias from a column identifier.
     *
     * @param  string  $column
     * @return string|null
     */
    protected function stripTableForPluck($column)
    {
        return is_null($column) ? $column : last(preg_split('~\.| ~', $column));
    }
Arguments
  1. array:2 [
      0 => "value"
      1 => "name"
    ]
    
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
     *
     * @return void
     */
    protected function enforceOrderBy()
    {
        if (empty($this->query->orders) && empty($this->query->unionOrders)) {
            $this->orderBy($this->model->getQualifiedKeyName(), 'asc');
        }
    }
 
    /**
     * Get an array with the values of a given column.
     *
     * @param  string  $column
     * @param  string|null  $key
     * @return \Illuminate\Support\Collection
     */
    public function pluck($column, $key = null)
    {
        $results = $this->toBase()->pluck($column, $key);
 
        // If the model has a mutator for the requested column, we will spin through
        // the results and mutate the values so that the mutated version of these
        // columns are returned as you would expect from these Eloquent models.
        if (! $this->model->hasGetMutator($column) &&
            ! $this->model->hasCast($column) &&
            ! in_array($column, $this->model->getDates())) {
            return $results;
        }
 
        return $results->map(function ($value) use ($column) {
            return $this->model->newFromBuilder([$column => $value])->{$column};
        });
    }
 
    /**
     * Paginate the given query.
     *
     * @param  int  $perPage
     * @param  array  $columns
Arguments
  1. "value"
    
  2. "name"
    
/home/khobepchauau/public_html/app/Providers/AppServiceProvider.php
        });
        Queue::before(function (JobProcessing $queue) {
            dd($queue->get());
        });
        Queue::failing(function ($connection, $job, $data) {
            dd("lỗi xảy ra");
        });
    }

    public function register()
    {
        //  Cấu hình link https
        $this->app['request']->server->set('HTTPS', env('HTTPS'));
    }

    public function settings()
    {
        $settings = CommonHelper::getFromCache('settings');
        if (!$settings) {
            $settings = Setting::whereIn('type', ['general_tab'])->pluck('value', 'name')->toArray();
            CommonHelper::putToCache('settings', $settings);
        }

        View::share('settings', $settings);
        return $settings;
    }

    /*function configMail($settings)
    {
        if (isset($settings['driver'])) {
            $username = $settings['driver'] == 'mailgun' ? @$settings['mailgun_username'] : @$settings['smtp_username'];
            $config =
                [
                    'mail.from' => [
                        'address' => $username,
                        'name' => @$settings['mail_name'],
                    ],
                    'mail.driver' => @$settings['driver'],
                ];

Arguments
  1. "value"
    
  2. "name"
    
/home/khobepchauau/public_html/app/Providers/AppServiceProvider.php
namespace App\Providers;

use App\Http\Controllers\Admin\MailController;
use App\Http\Helpers\CommonHelper;
use App\Models\Setting;
use Illuminate\Queue\Events\JobProcessed;
use Illuminate\Queue\Events\JobProcessing;
use Illuminate\Support\ServiceProvider;
use Queue;
use View;

class AppServiceProvider extends ServiceProvider
{

    public function boot()
    {
//        $settings = Setting::where('type', 'scan_error')->pluck('value', 'name')->toArray();
//        dd(  (in_array('CheckErrorLink', \Nwidart\Modules\Facades\Module::allEnabled()) && $settings['scan_status'] == 1) );
//        Schema::defaultStringLength(191);
        $settings = $this->settings();
//        $this->configMail($settings);
        $this->mailServerListen();

//        $this->QueueMailAfter();
    }

    public function QueueMailAfter()
    {
        Queue::after(function (JobProcessed $queue) {
            dd($queue->get());
        });
        Queue::before(function (JobProcessing $queue) {
            dd($queue->get());
        });
        Queue::failing(function ($connection, $job, $data) {
            dd("lỗi xảy ra");
        });
    }

    public function register()
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
class BoundMethod
{
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
class BoundMethod
{
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
Arguments
  1. array:2 [
      0 => AppServiceProvider {#116}
      1 => "boot"
    ]
    
  2. []
    
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
     * @param  callable  $callback
     * @param  mixed  $default
     * @return mixed
     */
    protected static function callBoundMethod($container, $callback, $default)
    {
        if (! is_array($callback)) {
            return $default instanceof Closure ? $default() : $default;
        }
 
        // Here we need to turn the array callable into a Class@method string we can use to
        // examine the container and see if there are any method bindings for this given
        // method. If there are, we can call this method binding callback immediately.
        $method = static::normalizeMethod($callback);
 
        if ($container->hasMethodBinding($method)) {
            return $container->callMethodBinding($method, $callback[0]);
        }
 
        return $default instanceof Closure ? $default() : $default;
    }
 
    /**
     * Normalize the given callback into a Class@method string.
     *
     * @param  callable  $callback
     * @return string
     */
    protected static function normalizeMethod($callback)
    {
        $class = is_string($callback[0]) ? $callback[0] : get_class($callback[0]);
 
        return "{$class}@{$callback[1]}";
    }
 
    /**
     * Get all dependencies for a given method.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
        // name. We will split on this @ sign and then build a callable array that
        // we can pass right back into the "call" method for dependency binding.
Arguments
  1. Application {#2}
    
  2. array:2 [
      0 => AppServiceProvider {#116}
      1 => "boot"
    ]
    
  3. Closure {#31
      class: "Illuminate\Container\BoundMethod"
      use: {
        $container: Application {#2 …}
        $callback: array:2 [
          0 => AppServiceProvider {#116}
          1 => "boot"
        ]
        $parameters: []
      }
    }
    
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php
     * @return \Closure
     */
    public function wrap(Closure $callback, array $parameters = [])
    {
        return function () use ($callback, $parameters) {
            return $this->call($callback, $parameters);
        };
    }
 
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public function call($callback, array $parameters = [], $defaultMethod = null)
    {
        return BoundMethod::call($this, $callback, $parameters, $defaultMethod);
    }
 
    /**
     * Get a closure to resolve the given type from the container.
     *
     * @param  string  $abstract
     * @return \Closure
     */
    public function factory($abstract)
    {
        return function () use ($abstract) {
            return $this->make($abstract);
        };
    }
 
    /**
     * An alias function name for make().
     *
     * @param  string  $abstract
     * @param  array  $parameters
Arguments
  1. Application {#2}
    
  2. array:2 [
      0 => AppServiceProvider {#116}
      1 => "boot"
    ]
    
  3. []
    
  4. null
    
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
    /**
     * Register a new boot listener.
     *
     * @param  mixed  $callback
     * @return void
     */
    public function booting($callback)
    {
        $this->bootingCallbacks[] = $callback;
    }
 
    /**
     * Register a new "booted" listener.
     *
     * @param  mixed  $callback
     * @return void
     */
Arguments
  1. array:2 [
      0 => AppServiceProvider {#116}
      1 => "boot"
    ]
    
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
    }
 
    /**
     * Boot the application's service providers.
     *
     * @return void
     */
    public function boot()
    {
        if ($this->booted) {
            return;
        }
 
        // Once the application has booted we will also fire some "booted" callbacks
        // for any listeners that need to do work after this initial booting gets
        // finished. This is useful when ordering the boot-up processes we run.
        $this->fireAppCallbacks($this->bootingCallbacks);
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
Arguments
  1. AppServiceProvider {#116}
    
[internal]
Arguments
  1. AppServiceProvider {#116}
    
  2. 26
    
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
 
    /**
     * Boot the application's service providers.
     *
     * @return void
     */
    public function boot()
    {
        if ($this->booted) {
            return;
        }
 
        // Once the application has booted we will also fire some "booted" callbacks
        // for any listeners that need to do work after this initial booting gets
        // finished. This is useful when ordering the boot-up processes we run.
        $this->fireAppCallbacks($this->bootingCallbacks);
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
    /**
Arguments
  1. array:48 [
      0 => EventServiceProvider {#6}
      1 => LogServiceProvider {#8}
      2 => RoutingServiceProvider {#10}
      3 => AuthServiceProvider {#41}
      4 => CookieServiceProvider {#37}
      5 => DatabaseServiceProvider {#51}
      6 => EncryptionServiceProvider {#58}
      7 => FilesystemServiceProvider {#60}
      8 => FormRequestServiceProvider {#66}
      9 => FoundationServiceProvider {#65}
      10 => NotificationServiceProvider {#68}
      11 => PaginationServiceProvider {#70}
      12 => SessionServiceProvider {#74}
      13 => ViewServiceProvider {#78}
      14 => TrustedProxyServiceProvider {#82}
      15 => ShoppingcartServiceProvider {#83}
      16 => MenuServiceProvider {#87}
      17 => ImageServiceProvider {#90}
      18 => ExcelServiceProvider {#92}
      19 => ServiceProvider {#101}
      20 => ConsoleServiceProvider {#106}
      21 => ContractsServiceProvider {#108}
      22 => LaravelModulesServiceProvider {#102}
      23 => EventServiceProvider {#103}
      24 => EventBladeServiceProvider {#111}
      25 => ServiceProvider {#112}
      26 => AppServiceProvider {#116}
      27 => AuthServiceProvider {#117}
      28 => EventServiceProvider {#118}
      29 => RouteServiceProvider {#119}
      30 => TranslationServiceProvider {#138}
      31 => CacheServiceProvider {#159}
      32 => RouteServiceProvider {#186}
      33 => PluginServiceProvider {#185}
      34 => RouteServiceProvider {#188}
      35 => STBDAutoUpdatePriceWSSServiceProvider {#187}
      36 => RouteServiceProvider {#190}
      37 => STBDBillServiceProvider {#189}
      38 => RouteServiceProvider {#192}
      39 => STBDProductServiceProvider {#191}
      40 => RouteServiceProvider {#194}
      41 => STBDUserServiceProvider {#193}
      42 => RouteServiceProvider {#196}
      43 => ThemeSTBDAdminServiceProvider {#195}
      44 => RouteServiceProvider {#198}
      45 => ThemeMeegServiceProvider {#197}
      46 => BootstrapServiceProvider {#149}
      47 => HashServiceProvider {#204}
    ]
    
  2. Closure {#22
      class: "Illuminate\Foundation\Application"
      this: Application {#2 …}
      parameters: {
        $p: {}
      }
    }
    
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php
<?php
 
namespace Illuminate\Foundation\Bootstrap;
 
use Illuminate\Contracts\Foundation\Application;
 
class BootProviders
{
    /**
     * Bootstrap the given application.
     *
     * @param  \Illuminate\Contracts\Foundation\Application  $app
     * @return void
     */
    public function bootstrap(Application $app)
    {
        $app->boot();
    }
}
 
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
 
        $this->register(new LogServiceProvider($this));
 
        $this->register(new RoutingServiceProvider($this));
    }
 
    /**
     * Run the given array of bootstrap classes.
     *
     * @param  array  $bootstrappers
     * @return void
     */
    public function bootstrapWith(array $bootstrappers)
    {
        $this->hasBeenBootstrapped = true;
 
        foreach ($bootstrappers as $bootstrapper) {
            $this['events']->fire('bootstrapping: '.$bootstrapper, [$this]);
 
            $this->make($bootstrapper)->bootstrap($this);
 
            $this['events']->fire('bootstrapped: '.$bootstrapper, [$this]);
        }
    }
 
    /**
     * Register a callback to run after loading the environment.
     *
     * @param  \Closure  $callback
     * @return void
     */
    public function afterLoadingEnvironment(Closure $callback)
    {
        return $this->afterBootstrapping(
            LoadEnvironmentVariables::class, $callback
        );
    }
 
    /**
     * Register a callback to run before a bootstrapper.
Arguments
  1. Application {#2}
    
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
 
        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()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
Arguments
  1. array:6 [
      0 => "Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables"
      1 => "Illuminate\Foundation\Bootstrap\LoadConfiguration"
      2 => "Illuminate\Foundation\Bootstrap\HandleExceptions"
      3 => "Illuminate\Foundation\Bootstrap\RegisterFacades"
      4 => "Illuminate\Foundation\Bootstrap\RegisterProviders"
      5 => "Illuminate\Foundation\Bootstrap\BootProviders"
    ]
    
/home/khobepchauau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
        $this->app['events']->dispatch(
            new Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
    {
        $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());
        }
    }
 
    /**
/home/khobepchauau/public_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 {#42
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: null
      #requestUri: null
      #baseUrl: null
      #basePath: null
      #method: null
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      pathInfo: "/voi-rua-bat/eurosun-skyland-s-k026.html"
      requestUri: "/voi-rua-bat/eurosun-skyland-s-k026.html"
      baseUrl: ""
      basePath: ""
      method: "GET"
      format: "html"
    }
    
/home/khobepchauau/public_html/public/index.php
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: null
      #requestUri: null
      #baseUrl: null
      #basePath: null
      #method: null
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      pathInfo: "/voi-rua-bat/eurosun-skyland-s-k026.html"
      requestUri: "/voi-rua-bat/eurosun-skyland-s-k026.html"
      baseUrl: ""
      basePath: ""
      method: "GET"
      format: "html"
    }
    
/home/khobepchauau/public_html/index.php
<?php
/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylor@laravel.com>
 */
 
$uri = urldecode(
    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
 
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
    return false;
}
 
require_once __DIR__.'/public/index.php';
 
Arguments
  1. "/home/khobepchauau/public_html/public/index.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
PATH
"/usr/local/bin:/bin:/usr/bin"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"khobepchauau.com"
HTTP_USER_AGENT
"claudebot"
DOCUMENT_ROOT
"/home/khobepchauau/public_html"
REMOTE_ADDR
"18.208.203.36"
REMOTE_PORT
"43704"
SERVER_ADDR
"103.82.198.26"
SERVER_NAME
"khobepchauau.com"
SERVER_ADMIN
"webmaster@khobepchauau.com"
SERVER_PORT
"443"
REQUEST_SCHEME
"https"
REQUEST_URI
"/voi-rua-bat/eurosun-skyland-s-k026.html"
REDIRECT_URL
"/voi-rua-bat/eurosun-skyland-s-k026.html"
REDIRECT_REQUEST_METHOD
"GET"
HTTPS
"on"
REDIRECT_STATUS
"200"
X_SPDY
"HTTP2"
SSL_PROTOCOL
"TLSv1.3"
SSL_CIPHER
"TLS_AES_256_GCM_SHA384"
SSL_CIPHER_USEKEYSIZE
"256"
SSL_CIPHER_ALGKEYSIZE
"256"
SCRIPT_FILENAME
"/home/khobepchauau/public_html/index.php"
QUERY_STRING
""
SCRIPT_URI
"https://khobepchauau.com/voi-rua-bat/eurosun-skyland-s-k026.html"
SCRIPT_URL
"/voi-rua-bat/eurosun-skyland-s-k026.html"
SCRIPT_NAME
"/index.php"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"LiteSpeed"
REQUEST_METHOD
"GET"
X-LSCACHE
"on"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710848917.3792
REQUEST_TIME
1710848917
APP_ENV
"local"
APP_MODE
"local"
APP_KEY
"base64:esElq6gEDPl0sIhfbJowQVVjSsHAWbv8OkzJc51QiWk="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
CACHE_ACTIVE
"false"
DEBUGBAR_ENABLED
"false"
DOMAIN
"khobepchauau.com"
GOOGLE_RECAPTCHA_KEY
"6LcXKqoUAAAAAKZS32IBFVYKb5B3LLZJMrJWEclH"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_DATABASE
"khobepchauau_dat"
DB_USERNAME
"khobepchauau_adm"
DB_PASSWORD
"k+@?.xzoji;,"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"memcached"
SESSION_DRIVER
"file"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"khobepchauau@gmail.com"
MAIL_PASSWORD
"jqnskfhedhveehgx"
MAIL_ENCRYPTION
"tls"
Key Value
PATH
"/usr/local/bin:/bin:/usr/bin"
APP_ENV
"local"
APP_MODE
"local"
APP_KEY
"base64:esElq6gEDPl0sIhfbJowQVVjSsHAWbv8OkzJc51QiWk="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
CACHE_ACTIVE
"false"
DEBUGBAR_ENABLED
"false"
DOMAIN
"khobepchauau.com"
GOOGLE_RECAPTCHA_KEY
"6LcXKqoUAAAAAKZS32IBFVYKb5B3LLZJMrJWEclH"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_DATABASE
"khobepchauau_dat"
DB_USERNAME
"khobepchauau_adm"
DB_PASSWORD
"k+@?.xzoji;,"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"memcached"
SESSION_DRIVER
"file"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"khobepchauau@gmail.com"
MAIL_PASSWORD
"jqnskfhedhveehgx"
MAIL_ENCRYPTION
"tls"
0. Whoops\Handler\PrettyPageHandler