Doctrine \ DBAL \ Driver \ PDOException (1040)
SQLSTATE[08004] [1040] Too many connections
Previous exceptions
  • SQLSTATE[08004] [1040] Too many connections (1040)
Doctrine\DBAL\Driver\PDOException thrown with message "SQLSTATE[08004] [1040] Too many connections" Stacktrace: #29 Doctrine\DBAL\Driver\PDOException in /var/www/vhosts/alugal.kz/galwin.co/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31 #28 PDOException in /var/www/vhosts/alugal.kz/galwin.co/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 #27 PDO:__construct in /var/www/vhosts/alugal.kz/galwin.co/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 #26 Doctrine\DBAL\Driver\PDOConnection:__construct in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67 #25 Illuminate\Database\Connectors\Connector:createPdoConnection in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46 #24 Illuminate\Database\Connectors\Connector:createConnection in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 #23 Illuminate\Database\Connectors\MySqlConnector:connect in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:182 #22 Illuminate\Database\Connectors\ConnectionFactory:Illuminate\Database\Connectors\{closure} in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connection.php:919 #21 call_user_func in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connection.php:919 #20 Illuminate\Database\Connection:getPdo in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connection.php:901 #19 Illuminate\Database\Connection:getDoctrineConnection in /var/www/vhosts/alugal.kz/galwin.co/vendor/larapack/doctrine-support/src/DoctrineSupportServiceProvider.php:54 #18 Larapack\DoctrineSupport\DoctrineSupportServiceProvider:addDoctrineTypes in /var/www/vhosts/alugal.kz/galwin.co/vendor/larapack/doctrine-support/src/DoctrineSupportServiceProvider.php:34 #17 Larapack\DoctrineSupport\DoctrineSupportServiceProvider:Larapack\DoctrineSupport\{closure} in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:269 #16 Illuminate\Database\Connectors\ConnectionFactory:createConnection in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:76 #15 Illuminate\Database\Connectors\ConnectionFactory:createSingleConnection in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:50 #14 Illuminate\Database\Connectors\ConnectionFactory:make in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:131 #13 Illuminate\Database\DatabaseManager:makeConnection in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:86 #12 Illuminate\Database\DatabaseManager:connection in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Support/Facades/Schema.php:41 #11 Illuminate\Support\Facades\Schema:getFacadeAccessor in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:144 #10 Illuminate\Support\Facades\Facade:getFacadeRoot in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:231 #9 Illuminate\Support\Facades\Facade:__callStatic in /var/www/vhosts/alugal.kz/galwin.co/app/Providers/AppServiceProvider.php:17 #8 App\Providers\AppServiceProvider:register in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:607 #7 Illuminate\Foundation\Application:register in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75 #6 Illuminate\Foundation\ProviderRepository:load in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:584 #5 Illuminate\Foundation\Application:registerConfiguredProviders in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17 #4 Illuminate\Foundation\Bootstrap\RegisterProviders:bootstrap in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:210 #3 Illuminate\Foundation\Application:bootstrapWith in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:162 #2 Illuminate\Foundation\Http\Kernel:bootstrap in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:146 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /var/www/vhosts/alugal.kz/galwin.co/public/index.php:55
29
Doctrine\DBAL\Driver\PDOException
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php31
28
PDOException
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php27
27
PDO __construct
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php27
26
Doctrine\DBAL\Driver\PDOConnection __construct
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php67
25
Illuminate\Database\Connectors\Connector createPdoConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php46
24
Illuminate\Database\Connectors\Connector createConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php24
23
Illuminate\Database\Connectors\MySqlConnector connect
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php182
22
Illuminate\Database\Connectors\ConnectionFactory Illuminate\Database\Connectors\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php919
21
call_user_func
/vendor/laravel/framework/src/Illuminate/Database/Connection.php919
20
Illuminate\Database\Connection getPdo
/vendor/laravel/framework/src/Illuminate/Database/Connection.php901
19
Illuminate\Database\Connection getDoctrineConnection
/vendor/larapack/doctrine-support/src/DoctrineSupportServiceProvider.php54
18
Larapack\DoctrineSupport\DoctrineSupportServiceProvider addDoctrineTypes
/vendor/larapack/doctrine-support/src/DoctrineSupportServiceProvider.php34
17
Larapack\DoctrineSupport\DoctrineSupportServiceProvider Larapack\DoctrineSupport\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php269
16
Illuminate\Database\Connectors\ConnectionFactory createConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php76
15
Illuminate\Database\Connectors\ConnectionFactory createSingleConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php50
14
Illuminate\Database\Connectors\ConnectionFactory make
/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php131
13
Illuminate\Database\DatabaseManager makeConnection
/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php86
12
Illuminate\Database\DatabaseManager connection
/vendor/laravel/framework/src/Illuminate/Support/Facades/Schema.php41
11
Illuminate\Support\Facades\Schema getFacadeAccessor
/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php144
10
Illuminate\Support\Facades\Facade getFacadeRoot
/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php231
9
Illuminate\Support\Facades\Facade __callStatic
/app/Providers/AppServiceProvider.php17
8
App\Providers\AppServiceProvider register
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php607
7
Illuminate\Foundation\Application register
/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php75
6
Illuminate\Foundation\ProviderRepository load
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php584
5
Illuminate\Foundation\Application registerConfiguredProviders
/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php17
4
Illuminate\Foundation\Bootstrap\RegisterProviders bootstrap
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php210
3
Illuminate\Foundation\Application bootstrapWith
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php162
2
Illuminate\Foundation\Http\Kernel bootstrap
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php146
1
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php116
0
Illuminate\Foundation\Http\Kernel handle
/public/index.php55
/var/www/vhosts/alugal.kz/galwin.co/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
 * Used by all PDO-based drivers.
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string       $dsn
     * @param string|null  $user
     * @param string|null  $password
     * @param mixed[]|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, [PDOStatement::class, []]);
            $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[08004] [1040] Too many connections"
    
/var/www/vhosts/alugal.kz/galwin.co/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
use function func_get_args;
 
/**
 * PDO implementation of the Connection interface.
 * Used by all PDO-based drivers.
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string       $dsn
     * @param string|null  $user
     * @param string|null  $password
     * @param mixed[]|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, [PDOStatement::class, []]);
            $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[08004] [1040] Too many connections"
    
Exception message: SQLSTATE[08004] [1040] Too many connections
/var/www/vhosts/alugal.kz/galwin.co/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
use function func_get_args;
 
/**
 * PDO implementation of the Connection interface.
 * Used by all PDO-based drivers.
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string       $dsn
     * @param string|null  $user
     * @param string|null  $password
     * @param mixed[]|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, [PDOStatement::class, []]);
            $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=srv-pleskdb32.ps.kz;port=3306;dbname=alugalkz_galwin"
    
  2. "alugalkz_aluga_vsvp21"
    
  3. "7N_29fdu"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/var/www/vhosts/alugal.kz/galwin.co/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=srv-pleskdb32.ps.kz;port=3306;dbname=alugalkz_galwin"
    
  2. "alugalkz_aluga_vsvp21"
    
  3. "7N_29fdu"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
 
    /**
     * Create a new PDO connection.
     *
     * @param  string  $dsn
     * @param  array   $config
     * @param  array   $options
     * @return \PDO
     *
     * @throws \Exception
     */
    public function createConnection($dsn, array $config, array $options)
    {
        [$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=srv-pleskdb32.ps.kz;port=3306;dbname=alugalkz_galwin"
    
  2. "alugalkz_aluga_vsvp21"
    
  3. "7N_29fdu"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/var/www/vhosts/alugal.kz/galwin.co/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=srv-pleskdb32.ps.kz;port=3306;dbname=alugalkz_galwin"
    
  2. array:15 [
      "driver" => "mysql"
      "host" => "srv-pleskdb32.ps.kz"
      "port" => "3306"
      "database" => "alugalkz_galwin"
      "username" => "alugalkz_aluga_vsvp21"
      "password" => "7N_29fdu"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "prefix_indexes" => true
      "strict" => true
      "engine" => null
      "options" => []
      "name" => "mysql"
    ]
    
  3. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/var/www/vhosts/alugal.kz/galwin.co/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) {
                    continue;
                }
            }
 
            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']);
 
        if (empty($hosts)) {
Arguments
  1. array:15 [
      "driver" => "mysql"
      "host" => "srv-pleskdb32.ps.kz"
      "port" => "3306"
      "database" => "alugalkz_galwin"
      "username" => "alugalkz_aluga_vsvp21"
      "password" => "7N_29fdu"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "prefix_indexes" => true
      "strict" => true
      "engine" => null
      "options" => []
      "name" => "mysql"
    ]
    
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connection.php
            $this->doctrineConnection = new DoctrineConnection(array_filter([
                'pdo' => $this->getPdo(),
                'dbname' => $this->getConfig('database'),
                'driver' => $driver->getName(),
                'serverVersion' => $this->getConfig('server_version'),
            ]), $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->recordsModified && $this->getConfig('sticky')) {
            return $this->getPdo();
        }
 
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connection.php
            $this->doctrineConnection = new DoctrineConnection(array_filter([
                'pdo' => $this->getPdo(),
                'dbname' => $this->getConfig('database'),
                'driver' => $driver->getName(),
                'serverVersion' => $this->getConfig('server_version'),
            ]), $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->recordsModified && $this->getConfig('sticky')) {
            return $this->getPdo();
        }
 
Arguments
  1. Closure() {#1531 …5}
    
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     *
     * @return \Doctrine\DBAL\Schema\AbstractSchemaManager
     */
    public function getDoctrineSchemaManager()
    {
        return $this->getDoctrineDriver()->getSchemaManager($this->getDoctrineConnection());
    }
 
    /**
     * Get the Doctrine DBAL database connection instance.
     *
     * @return \Doctrine\DBAL\Connection
     */
    public function getDoctrineConnection()
    {
        if (is_null($this->doctrineConnection)) {
            $driver = $this->getDoctrineDriver();
 
            $this->doctrineConnection = new DoctrineConnection(array_filter([
                'pdo' => $this->getPdo(),
                'dbname' => $this->getConfig('database'),
                'driver' => $driver->getName(),
                'serverVersion' => $this->getConfig('server_version'),
            ]), $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);
        }
 
/var/www/vhosts/alugal.kz/galwin.co/vendor/larapack/doctrine-support/src/DoctrineSupportServiceProvider.php
 
            return $connection;
        });
    }
 
    /**
     * Add Doctrine types for the connection.
     *
     * @param Connection $connection
     */
    protected function addDoctrineTypes(Connection $connection)
    {
        $name = $connection->getDriverName();
 
        foreach (array_get($this->types, $name, []) as $type => $handler) {
            if (!Type::hasType($type)) {
                Type::addType($type, $handler);
            }
 
            $connection->getDoctrineConnection()
                ->getDatabasePlatform()
                ->registerDoctrineTypeMapping($type, $type);
        }
    }
}
 
/var/www/vhosts/alugal.kz/galwin.co/vendor/larapack/doctrine-support/src/DoctrineSupportServiceProvider.php
     *
     * @var array
     */
    protected $types = [
        'mysql' => [
            'enum' => EnumType::class,
        ],
    ];
 
    /**
     * Register the application services.
     */
    public function register()
    {
        // Set resolver for MySQL
        Connection::resolverFor('mysql', function ($connection, $database, $prefix = '', array $config = []) {
            $connection = new MySqlConnection($connection, $database, $prefix, $config);
 
            // Add Doctrine types for better support
            $this->addDoctrineTypes($connection);
 
            return $connection;
        });
    }
 
    /**
     * Add Doctrine types for the connection.
     *
     * @param Connection $connection
     */
    protected function addDoctrineTypes(Connection $connection)
    {
        $name = $connection->getDriverName();
 
        foreach (array_get($this->types, $name, []) as $type => $handler) {
            if (!Type::hasType($type)) {
                Type::addType($type, $handler);
            }
 
            $connection->getDoctrineConnection()
Arguments
  1. MySqlConnection {#1538}
    
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php
 
        throw new InvalidArgumentException("Unsupported driver [{$config['driver']}]");
    }
 
    /**
     * Create a new connection instance.
     *
     * @param  string   $driver
     * @param  \PDO|\Closure     $connection
     * @param  string   $database
     * @param  string   $prefix
     * @param  array    $config
     * @return \Illuminate\Database\Connection
     *
     * @throws \InvalidArgumentException
     */
    protected function createConnection($driver, $connection, $database, $prefix = '', array $config = [])
    {
        if ($resolver = Connection::getResolver($driver)) {
            return $resolver($connection, $database, $prefix, $config);
        }
 
        switch ($driver) {
            case 'mysql':
                return new MySqlConnection($connection, $database, $prefix, $config);
            case 'pgsql':
                return new PostgresConnection($connection, $database, $prefix, $config);
            case 'sqlite':
                return new SQLiteConnection($connection, $database, $prefix, $config);
            case 'sqlsrv':
                return new SqlServerConnection($connection, $database, $prefix, $config);
        }
 
        throw new InvalidArgumentException("Unsupported driver [{$driver}]");
    }
}
 
Arguments
  1. MySqlConnection {#1538}
    
  2. "alugalkz_galwin"
    
  3. ""
    
  4. array:15 [
      "driver" => "mysql"
      "host" => "srv-pleskdb32.ps.kz"
      "port" => "3306"
      "database" => "alugalkz_galwin"
      "username" => "alugalkz_aluga_vsvp21"
      "password" => "7N_29fdu"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "prefix_indexes" => true
      "strict" => true
      "engine" => null
      "options" => []
      "name" => "mysql"
    ]
    
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php
     * @param  string  $name
     * @return array
     */
    protected function parseConfig(array $config, $name)
    {
        return Arr::add(Arr::add($config, 'prefix', ''), 'name', $name);
    }
 
    /**
     * Create a single database connection instance.
     *
     * @param  array  $config
     * @return \Illuminate\Database\Connection
     */
    protected function createSingleConnection(array $config)
    {
        $pdo = $this->createPdoResolver($config);
 
        return $this->createConnection(
            $config['driver'], $pdo, $config['database'], $config['prefix'], $config
        );
    }
 
    /**
     * Create a single database connection instance.
     *
     * @param  array  $config
     * @return \Illuminate\Database\Connection
     */
    protected function createReadWriteConnection(array $config)
    {
        $connection = $this->createSingleConnection($this->getWriteConfig($config));
 
        return $connection->setReadPdo($this->createReadPdo($config));
    }
 
    /**
     * Create a new PDO instance for reading.
     *
     * @param  array  $config
Arguments
  1. "mysql"
    
  2. Closure() {#1531 …5}
    
  3. "alugalkz_galwin"
    
  4. ""
    
  5. array:15 [
      "driver" => "mysql"
      "host" => "srv-pleskdb32.ps.kz"
      "port" => "3306"
      "database" => "alugalkz_galwin"
      "username" => "alugalkz_aluga_vsvp21"
      "password" => "7N_29fdu"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "prefix_indexes" => true
      "strict" => true
      "engine" => null
      "options" => []
      "name" => "mysql"
    ]
    
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php
    {
        $this->container = $container;
    }
 
    /**
     * Establish a PDO connection based on the configuration.
     *
     * @param  array   $config
     * @param  string|null  $name
     * @return \Illuminate\Database\Connection
     */
    public function make(array $config, $name = null)
    {
        $config = $this->parseConfig($config, $name);
 
        if (isset($config['read'])) {
            return $this->createReadWriteConnection($config);
        }
 
        return $this->createSingleConnection($config);
    }
 
    /**
     * Parse and prepare the database configuration.
     *
     * @param  array   $config
     * @param  string  $name
     * @return array
     */
    protected function parseConfig(array $config, $name)
    {
        return Arr::add(Arr::add($config, 'prefix', ''), 'name', $name);
    }
 
    /**
     * Create a single database connection instance.
     *
     * @param  array  $config
     * @return \Illuminate\Database\Connection
     */
Arguments
  1. array:15 [
      "driver" => "mysql"
      "host" => "srv-pleskdb32.ps.kz"
      "port" => "3306"
      "database" => "alugalkz_galwin"
      "username" => "alugalkz_aluga_vsvp21"
      "password" => "7N_29fdu"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "prefix_indexes" => true
      "strict" => true
      "engine" => null
      "options" => []
      "name" => "mysql"
    ]
    
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php
     */
    protected function makeConnection($name)
    {
        $config = $this->configuration($name);
 
        // First we will check by the connection name to see if an extension has been
        // registered specifically for that connection. If it has we will call the
        // Closure and pass it the config allowing it to resolve the connection.
        if (isset($this->extensions[$name])) {
            return call_user_func($this->extensions[$name], $config, $name);
        }
 
        // Next we will check to see if an extension has been registered for a driver
        // and will call the Closure if so, which allows us to have a more generic
        // resolver for the drivers themselves which applies to all connections.
        if (isset($this->extensions[$driver = $config['driver']])) {
            return call_user_func($this->extensions[$driver], $config, $name);
        }
 
        return $this->factory->make($config, $name);
    }
 
    /**
     * Get the configuration for a connection.
     *
     * @param  string  $name
     * @return array
     *
     * @throws \InvalidArgumentException
     */
    protected function configuration($name)
    {
        $name = $name ?: $this->getDefaultConnection();
 
        // To get the database connection configuration, we will just pull each of the
        // connection configurations and get the configurations for the given name.
        // If the configuration doesn't exist, we'll throw an exception and bail.
        $connections = $this->app['config']['database.connections'];
 
        if (is_null($config = Arr::get($connections, $name))) {
Arguments
  1. array:15 [
      "driver" => "mysql"
      "host" => "srv-pleskdb32.ps.kz"
      "port" => "3306"
      "database" => "alugalkz_galwin"
      "username" => "alugalkz_aluga_vsvp21"
      "password" => "7N_29fdu"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "prefix_indexes" => true
      "strict" => true
      "engine" => null
      "options" => []
      "name" => "mysql"
    ]
    
  2. "mysql"
    
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php
    }
 
    /**
     * Get a database connection instance.
     *
     * @param  string|null  $name
     * @return \Illuminate\Database\Connection
     */
    public function connection($name = null)
    {
        [$database, $type] = $this->parseConnectionName($name);
 
        $name = $name ?: $database;
 
        // If we haven't created this connection, we'll create it based on the config
        // provided in the application. Once we've created the connections we will
        // set the "fetch mode" for PDO which determines the query return types.
        if (! isset($this->connections[$name])) {
            $this->connections[$name] = $this->configure(
                $this->makeConnection($database), $type
            );
        }
 
        return $this->connections[$name];
    }
 
    /**
     * Parse the connection into an array of the name and read / write type.
     *
     * @param  string  $name
     * @return array
     */
    protected function parseConnectionName($name)
    {
        $name = $name ?: $this->getDefaultConnection();
 
        return Str::endsWith($name, ['::read', '::write'])
                            ? explode('::', $name, 2) : [$name, null];
    }
 
Arguments
  1. "mysql"
    
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Support/Facades/Schema.php
{
    /**
     * Get a schema builder instance for a connection.
     *
     * @param  string|null  $name
     * @return \Illuminate\Database\Schema\Builder
     */
    public static function connection($name)
    {
        return static::$app['db']->connection($name)->getSchemaBuilder();
    }
 
    /**
     * Get a schema builder instance for the default connection.
     *
     * @return \Illuminate\Database\Schema\Builder
     */
    protected static function getFacadeAccessor()
    {
        return static::$app['db']->connection()->getSchemaBuilder();
    }
}
 
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
     * @param  mixed  $instance
     * @return void
     */
    public static function swap($instance)
    {
        static::$resolvedInstance[static::getFacadeAccessor()] = $instance;
 
        if (isset(static::$app)) {
            static::$app->instance(static::getFacadeAccessor(), $instance);
        }
    }
 
    /**
     * Get the root object behind the facade.
     *
     * @return mixed
     */
    public static function getFacadeRoot()
    {
        return static::resolveFacadeInstance(static::getFacadeAccessor());
    }
 
    /**
     * Get the registered name of the component.
     *
     * @return string
     *
     * @throws \RuntimeException
     */
    protected static function getFacadeAccessor()
    {
        throw new RuntimeException('Facade does not implement getFacadeAccessor method.');
    }
 
    /**
     * Resolve the facade root instance from the container.
     *
     * @param  object|string  $name
     * @return mixed
     */
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
     * @param  \Illuminate\Contracts\Foundation\Application  $app
     * @return void
     */
    public static function setFacadeApplication($app)
    {
        static::$app = $app;
    }
 
    /**
     * Handle dynamic, static calls to the object.
     *
     * @param  string  $method
     * @param  array   $args
     * @return mixed
     *
     * @throws \RuntimeException
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();
 
        if (! $instance) {
            throw new RuntimeException('A facade root has not been set.');
        }
 
        return $instance->$method(...$args);
    }
}
 
/var/www/vhosts/alugal.kz/galwin.co/app/Providers/AppServiceProvider.php
<?php
 
namespace App\Providers;
 
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
 
class AppServiceProvider extends ServiceProvider
{
    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        Schema::defaultStringLength(191);
    }
 
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }
}
 
Arguments
  1. "defaultStringLength"
    
  2. array:1 [
      0 => 191
    ]
    
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
     * Register a service provider with the application.
     *
     * @param  \Illuminate\Support\ServiceProvider|string  $provider
     * @param  bool   $force
     * @return \Illuminate\Support\ServiceProvider
     */
    public function register($provider, $force = false)
    {
        if (($registered = $this->getProvider($provider)) && ! $force) {
            return $registered;
        }
 
        // If the given "provider" is a string, we will resolve it, passing in the
        // application instance automatically for the developer. This is simply
        // a more convenient way of specifying your service provider classes.
        if (is_string($provider)) {
            $provider = $this->resolveProvider($provider);
        }
 
        $provider->register();
 
        // If there are bindings / singletons set as properties on the provider we
        // will spin through them and register them with the application, which
        // serves as a convenience layer while registering a lot of bindings.
        if (property_exists($provider, 'bindings')) {
            foreach ($provider->bindings as $key => $value) {
                $this->bind($key, $value);
            }
        }
 
        if (property_exists($provider, 'singletons')) {
            foreach ($provider->singletons as $key => $value) {
                $this->singleton($key, $value);
            }
        }
 
        $this->markAsRegistered($provider);
 
        // If the application has already booted, we will call this boot method on
        // the provider class so it has an opportunity to do its boot logic and
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php
 
        // First we will load the service manifest, which contains information on all
        // service providers registered with the application and which services it
        // provides. This is used to know which services are "deferred" loaders.
        if ($this->shouldRecompile($manifest, $providers)) {
            $manifest = $this->compileManifest($providers);
        }
 
        // Next, we will register events to load the providers for each of the events
        // that it has requested. This allows the service provider to defer itself
        // while still getting automatically loaded when a certain event occurs.
        foreach ($manifest['when'] as $provider => $events) {
            $this->registerLoadEvents($provider, $events);
        }
 
        // We will go ahead and register all of the eagerly loaded providers with the
        // application so their services can be registered with the application as
        // a provided service. Then we will set the deferred service list on it.
        foreach ($manifest['eager'] as $provider) {
            $this->app->register($provider);
        }
 
        $this->app->addDeferredServices($manifest['deferred']);
    }
 
    /**
     * Load the service provider manifest JSON file.
     *
     * @return array|null
     */
    public function loadManifest()
    {
        // The service manifest is a file containing a JSON representation of every
        // service provided by the application and whether its provider is using
        // deferred loading or should be eagerly loaded on each request to us.
        if ($this->files->exists($this->manifestPath)) {
            $manifest = $this->files->getRequire($this->manifestPath);
 
            if ($manifest) {
                return array_merge(['when' => []], $manifest);
Arguments
  1. AppServiceProvider {#1543}
    
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
    {
        return $this['env'] === 'testing';
    }
 
    /**
     * Register all of the configured providers.
     *
     * @return void
     */
    public function registerConfiguredProviders()
    {
        $providers = Collection::make($this->config['app.providers'])
                        ->partition(function ($provider) {
                            return Str::startsWith($provider, 'Illuminate\\');
                        });
 
        $providers->splice(1, 0, [$this->make(PackageManifest::class)->providers()]);
 
        (new ProviderRepository($this, new Filesystem, $this->getCachedServicesPath()))
                    ->load($providers->collapse()->toArray());
    }
 
    /**
     * Register a service provider with the application.
     *
     * @param  \Illuminate\Support\ServiceProvider|string  $provider
     * @param  bool   $force
     * @return \Illuminate\Support\ServiceProvider
     */
    public function register($provider, $force = false)
    {
        if (($registered = $this->getProvider($provider)) && ! $force) {
            return $registered;
        }
 
        // If the given "provider" is a string, we will resolve it, passing in the
        // application instance automatically for the developer. This is simply
        // a more convenient way of specifying your service provider classes.
        if (is_string($provider)) {
            $provider = $this->resolveProvider($provider);
Arguments
  1. array:39 [
      0 => "Illuminate\Auth\AuthServiceProvider"
      1 => "Illuminate\Broadcasting\BroadcastServiceProvider"
      2 => "Illuminate\Bus\BusServiceProvider"
      3 => "Illuminate\Cache\CacheServiceProvider"
      4 => "Illuminate\Foundation\Providers\ConsoleSupportServiceProvider"
      5 => "Illuminate\Cookie\CookieServiceProvider"
      6 => "Illuminate\Database\DatabaseServiceProvider"
      7 => "Illuminate\Encryption\EncryptionServiceProvider"
      8 => "Illuminate\Filesystem\FilesystemServiceProvider"
      9 => "Illuminate\Foundation\Providers\FoundationServiceProvider"
      10 => "Illuminate\Hashing\HashServiceProvider"
      11 => "Illuminate\Mail\MailServiceProvider"
      12 => "Illuminate\Notifications\NotificationServiceProvider"
      13 => "Illuminate\Pagination\PaginationServiceProvider"
      14 => "Illuminate\Pipeline\PipelineServiceProvider"
      15 => "Illuminate\Queue\QueueServiceProvider"
      16 => "Illuminate\Redis\RedisServiceProvider"
      17 => "Illuminate\Auth\Passwords\PasswordResetServiceProvider"
      18 => "Illuminate\Session\SessionServiceProvider"
      19 => "Illuminate\Translation\TranslationServiceProvider"
      20 => "Illuminate\Validation\ValidationServiceProvider"
      21 => "Illuminate\View\ViewServiceProvider"
      22 => "Arrilot\Widgets\ServiceProvider"
      23 => "BeyondCode\DumpServer\DumpServerServiceProvider"
      24 => "DaveJamesMiller\Breadcrumbs\BreadcrumbsServiceProvider"
      25 => "Fideloper\Proxy\TrustedProxyServiceProvider"
      26 => "Intervention\Image\ImageServiceProvider"
      27 => "Larapack\VoyagerHooks\VoyagerHooksServiceProvider"
      28 => "Laravel\Tinker\TinkerServiceProvider"
      29 => "Carbon\Laravel\ServiceProvider"
      30 => "NunoMaduro\Collision\Adapters\Laravel\CollisionServiceProvider"
      31 => "TCG\Voyager\VoyagerServiceProvider"
      32 => "TCG\Voyager\Providers\VoyagerDummyServiceProvider"
      33 => "TCG\Voyager\VoyagerServiceProvider"
      34 => "DaveJamesMiller\Breadcrumbs\BreadcrumbsServiceProvider"
      35 => "App\Providers\AppServiceProvider"
      36 => "App\Providers\AuthServiceProvider"
      37 => "App\Providers\EventServiceProvider"
      38 => "App\Providers\RouteServiceProvider"
    ]
    
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php
<?php
 
namespace Illuminate\Foundation\Bootstrap;
 
use Illuminate\Contracts\Foundation\Application;
 
class RegisterProviders
{
    /**
     * Bootstrap the given application.
     *
     * @param  \Illuminate\Contracts\Foundation\Application  $app
     * @return void
     */
    public function bootstrap(Application $app)
    {
        $app->registerConfiguredProviders();
    }
}
 
/var/www/vhosts/alugal.kz/galwin.co/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
    {
        $this->register(new EventServiceProvider($this));
        $this->register(new LogServiceProvider($this));
        $this->register(new RoutingServiceProvider($this));
    }
 
    /**
     * Run the given array of bootstrap classes.
     *
     * @param  string[]  $bootstrappers
     * @return void
     */
    public function bootstrapWith(array $bootstrappers)
    {
        $this->hasBeenBootstrapped = true;
 
        foreach ($bootstrappers as $bootstrapper) {
            $this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
 
            $this->make($bootstrapper)->bootstrap($this);
 
            $this['events']->dispatch('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}
    
/var/www/vhosts/alugal.kz/galwin.co/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"
    ]
    
/var/www/vhosts/alugal.kz/galwin.co/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());
        }
    }
 
    /**
/var/www/vhosts/alugal.kz/galwin.co/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: null
      #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: 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: "/about"
      requestUri: "/about"
      baseUrl: ""
      basePath: ""
      method: "GET"
      format: "html"
    }
    
/var/www/vhosts/alugal.kz/galwin.co/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 {#43
      #json: null
      #convertedFiles: null
      #userResolver: null
      #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: 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: "/about"
      requestUri: "/about"
      baseUrl: ""
      basePath: ""
      method: "GET"
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PP_CUSTOM_PHP_INI
"/var/www/vhosts/system/galwin.co/etc/php.ini"
PP_CUSTOM_PHP_CGI_INDEX
"plesk-php73-fastcgi"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/about"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/about"
REMOTE_PORT
"14718"
SCRIPT_FILENAME
"/var/www/vhosts/alugal.kz/galwin.co/public/index.php"
SERVER_ADMIN
"a-luxkz@mail.ru"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/alugal.kz/galwin.co/public"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/var/www/vhosts/alugal.kz/galwin.co/public"
REMOTE_ADDR
"3.236.145.110"
SERVER_PORT
"443"
SERVER_ADDR
"195.210.46.62"
SERVER_NAME
"galwin.co"
SERVER_SOFTWARE
"Apache"
SERVER_SIGNATURE
""
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_X_REAL_IP
"3.236.145.110"
HTTP_HOST
"galwin.co"
HTTPS
"on"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
UNIQUE_ID
"ZgX@2CdOcjmwh52pMoeL5QAAAV0"
REDIRECT_STATUS
"200"
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
REDIRECT_UNIQUE_ID
"ZgX@2CdOcjmwh52pMoeL5QAAAV0"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711668952.8909
REQUEST_TIME
1711668952
APP_NAME
"Galwin"
APP_ENV
"local"
APP_KEY
"base64:jVjEntqU0mZY72PJ9+YAfqLHrNZu3oZdekhN+ChRSrY="
APP_DEBUG
"true"
APP_URL
"http://galwin.co"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"srv-pleskdb32.ps.kz"
DB_PORT
"3306"
DB_DATABASE
"alugalkz_galwin"
DB_USERNAME
"alugalkz_aluga_vsvp21"
DB_PASSWORD
"7N_29fdu"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_MAILER
"smtp"
MAIL_HOST
"smtp.yandex.kz"
MAIL_PORT
"465"
MAIL_USERNAME
"marketing.sigeria@yandex.kz"
MAIL_PASSWORD
"wtumulfxquqgwrcn"
MAIL_ENCRYPTION
"ssl"
MAIL_FROM_ADDRESS
"marketing.sigeria@yandex.kz"
MAIL_FROM_NAME
"Marketing-Sigeria"
AWS_ACCESS_KEY_ID
""
AWS_SECRET_ACCESS_KEY
""
AWS_DEFAULT_REGION
"us-east-1"
AWS_BUCKET
""
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
Key Value
APP_NAME
"Galwin"
APP_ENV
"local"
APP_KEY
"base64:jVjEntqU0mZY72PJ9+YAfqLHrNZu3oZdekhN+ChRSrY="
APP_DEBUG
"true"
APP_URL
"http://galwin.co"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"srv-pleskdb32.ps.kz"
DB_PORT
"3306"
DB_DATABASE
"alugalkz_galwin"
DB_USERNAME
"alugalkz_aluga_vsvp21"
DB_PASSWORD
"7N_29fdu"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_MAILER
"smtp"
MAIL_HOST
"smtp.yandex.kz"
MAIL_PORT
"465"
MAIL_USERNAME
"marketing.sigeria@yandex.kz"
MAIL_PASSWORD
"wtumulfxquqgwrcn"
MAIL_ENCRYPTION
"ssl"
MAIL_FROM_ADDRESS
"marketing.sigeria@yandex.kz"
MAIL_FROM_NAME
"Marketing-Sigeria"
AWS_ACCESS_KEY_ID
""
AWS_SECRET_ACCESS_KEY
""
AWS_DEFAULT_REGION
"us-east-1"
AWS_BUCKET
""
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
0. Whoops\Handler\PrettyPageHandler