Illuminate \ Database \ QueryException (1040)
SQLSTATE[HY000] [1040] Too many connections (SQL: select `id`, `url`, `default` from `languages` where `url` = compare and `status` = 1 limit 1)
Previous exceptions
  • SQLSTATE[HY000] [1040] Too many connections (1040)
  • SQLSTATE[HY000] [1040] Too many connections (1040)
Illuminate\Database\QueryException thrown with message "SQLSTATE[HY000] [1040] Too many connections (SQL: select `id`, `url`, `default` from `languages` where `url` = compare and `status` = 1 limit 1)" Stacktrace: #50 Illuminate\Database\QueryException in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664 #49 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #48 Doctrine\DBAL\Driver\PDO\Exception in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18 #47 Doctrine\DBAL\Driver\PDO\Exception:new in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:44 #46 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #45 PDOException in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40 #44 PDO:__construct in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40 #43 Doctrine\DBAL\Driver\PDOConnection:__construct in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67 #42 Illuminate\Database\Connectors\Connector:createPdoConnection in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46 #41 Illuminate\Database\Connectors\Connector:createConnection in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 #40 Illuminate\Database\Connectors\MySqlConnector:connect in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:182 #39 Illuminate\Database\Connectors\ConnectionFactory:Illuminate\Database\Connectors\{closure} in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:918 #38 call_user_func in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:918 #37 Illuminate\Database\Connection:getPdo in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:943 #36 Illuminate\Database\Connection:getReadPdo in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:399 #35 Illuminate\Database\Connection:getPdoForSelect in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:325 #34 Illuminate\Database\Connection:Illuminate\Database\{closure} in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:657 #33 Illuminate\Database\Connection:runQueryCallback in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 #32 Illuminate\Database\Connection:run in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:333 #31 Illuminate\Database\Connection:select in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2095 #30 Illuminate\Database\Query\Builder:runSelect in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2083 #29 Illuminate\Database\Query\Builder:Illuminate\Database\Query\{closure} in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2569 #28 Illuminate\Database\Query\Builder:onceWithColumns in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2084 #27 Illuminate\Database\Query\Builder:get in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:519 #26 Illuminate\Database\Eloquent\Builder:getModels in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:503 #25 Illuminate\Database\Eloquent\Builder:get in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php:77 #24 Illuminate\Database\Eloquent\Builder:first in /home/m/moderavf/moderavf.beget.tech/public_html/Modules/Article/Providers/ArticleServiceProvider.php:47 #23 Modules\Article\Providers\ArticleServiceProvider:register in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:598 #22 Illuminate\Foundation\Application:register in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75 #21 Illuminate\Foundation\ProviderRepository:load in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/nwidart/laravel-modules/src/Laravel/Module.php:27 #20 Nwidart\Modules\Laravel\Module:registerProviders in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/nwidart/laravel-modules/src/Module.php:251 #19 Nwidart\Modules\Module:register in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/nwidart/laravel-modules/src/FileRepository.php:299 #18 Nwidart\Modules\FileRepository:register in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/nwidart/laravel-modules/src/Providers/BootstrapServiceProvider.php:22 #17 Nwidart\Modules\Providers\BootstrapServiceProvider:register in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:598 #16 Illuminate\Foundation\Application:register in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/nwidart/laravel-modules/src/ModulesServiceProvider.php:38 #15 Nwidart\Modules\ModulesServiceProvider:registerModules in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/nwidart/laravel-modules/src/LaravelModulesServiceProvider.php:15 #14 Nwidart\Modules\LaravelModulesServiceProvider:boot in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 #13 call_user_func_array in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 #12 Illuminate\Container\BoundMethod:Illuminate\Container\{closure} in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87 #11 Illuminate\Container\BoundMethod:callBoundMethod in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31 #10 Illuminate\Container\BoundMethod:call in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:572 #9 Illuminate\Container\Container:call in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:819 #8 Illuminate\Foundation\Application:bootProvider in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:802 #7 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #6 array_walk in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:803 #5 Illuminate\Foundation\Application:boot in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17 #4 Illuminate\Foundation\Bootstrap\BootProviders:bootstrap in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:211 #3 Illuminate\Foundation\Application:bootstrapWith in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:162 #2 Illuminate\Foundation\Http\Kernel:bootstrap in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:146 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /home/m/moderavf/moderavf.beget.tech/public_html/public/index.php:53
50
Illuminate\Database\QueryException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php664
49
Illuminate\Foundation\Application Illuminate\Foundation\{closure}
[internal]0
48
Doctrine\DBAL\Driver\PDO\Exception
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php18
47
Doctrine\DBAL\Driver\PDO\Exception new
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php44
46
Illuminate\Foundation\Application Illuminate\Foundation\{closure}
[internal]0
45
PDOException
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php40
44
PDO __construct
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php40
43
Doctrine\DBAL\Driver\PDOConnection __construct
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php67
42
Illuminate\Database\Connectors\Connector createPdoConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php46
41
Illuminate\Database\Connectors\Connector createConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php24
40
Illuminate\Database\Connectors\MySqlConnector connect
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php182
39
Illuminate\Database\Connectors\ConnectionFactory Illuminate\Database\Connectors\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php918
38
call_user_func
/vendor/laravel/framework/src/Illuminate/Database/Connection.php918
37
Illuminate\Database\Connection getPdo
/vendor/laravel/framework/src/Illuminate/Database/Connection.php943
36
Illuminate\Database\Connection getReadPdo
/vendor/laravel/framework/src/Illuminate/Database/Connection.php399
35
Illuminate\Database\Connection getPdoForSelect
/vendor/laravel/framework/src/Illuminate/Database/Connection.php325
34
Illuminate\Database\Connection Illuminate\Database\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php657
33
Illuminate\Database\Connection runQueryCallback
/vendor/laravel/framework/src/Illuminate/Database/Connection.php624
32
Illuminate\Database\Connection run
/vendor/laravel/framework/src/Illuminate/Database/Connection.php333
31
Illuminate\Database\Connection select
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2095
30
Illuminate\Database\Query\Builder runSelect
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2083
29
Illuminate\Database\Query\Builder Illuminate\Database\Query\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2569
28
Illuminate\Database\Query\Builder onceWithColumns
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2084
27
Illuminate\Database\Query\Builder get
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php519
26
Illuminate\Database\Eloquent\Builder getModels
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php503
25
Illuminate\Database\Eloquent\Builder get
/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php77
24
Illuminate\Database\Eloquent\Builder first
/Modules/Article/Providers/ArticleServiceProvider.php47
23
Modules\Article\Providers\ArticleServiceProvider register
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php598
22
Illuminate\Foundation\Application register
/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php75
21
Illuminate\Foundation\ProviderRepository load
/vendor/nwidart/laravel-modules/src/Laravel/Module.php27
20
Nwidart\Modules\Laravel\Module registerProviders
/vendor/nwidart/laravel-modules/src/Module.php251
19
Nwidart\Modules\Module register
/vendor/nwidart/laravel-modules/src/FileRepository.php299
18
Nwidart\Modules\FileRepository register
/vendor/nwidart/laravel-modules/src/Providers/BootstrapServiceProvider.php22
17
Nwidart\Modules\Providers\BootstrapServiceProvider register
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php598
16
Illuminate\Foundation\Application register
/vendor/nwidart/laravel-modules/src/ModulesServiceProvider.php38
15
Nwidart\Modules\ModulesServiceProvider registerModules
/vendor/nwidart/laravel-modules/src/LaravelModulesServiceProvider.php15
14
Nwidart\Modules\LaravelModulesServiceProvider boot
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php29
13
call_user_func_array
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php29
12
Illuminate\Container\BoundMethod Illuminate\Container\{closure}
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php87
11
Illuminate\Container\BoundMethod callBoundMethod
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php31
10
Illuminate\Container\BoundMethod call
/vendor/laravel/framework/src/Illuminate/Container/Container.php572
9
Illuminate\Container\Container call
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php819
8
Illuminate\Foundation\Application bootProvider
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php802
7
Illuminate\Foundation\Application Illuminate\Foundation\{closure}
[internal]0
6
array_walk
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php803
5
Illuminate\Foundation\Application boot
/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php17
4
Illuminate\Foundation\Bootstrap\BootProviders bootstrap
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php211
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.php53
/home/m/moderavf/moderavf.beget.tech/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[HY000] [1040] Too many connections (SQL: select `id`, `url`, `default` from `languages` where `url` = compare and `status` = 1 limit 1)"
    
[internal]
Arguments
  1. Nwidart\Modules\LaravelModulesServiceProvider {#124}
    
  2. 28
    
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php
<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Driver\PDO;

use Doctrine\DBAL\Driver\PDOException;

/**
 * @internal
 *
 * @psalm-immutable
 */
final class Exception extends PDOException
{
    public static function new(\PDOException $exception): self
    {
        return new self($exception);
    }
}
 
Arguments
  1. "SQLSTATE[HY000] [1040] Too many connections"
    
Exception message: SQLSTATE[HY000] [1040] Too many connections
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
    use PDOQueryImplementation;

    /**
     * @internal The connection can be only instantiated by its driver.
     *
     * @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, (string) $user, (string) $password, (array) $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [Statement::class, []]);
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (PDOException $exception) {
            throw Exception::new($exception);
        }
    }

    /**
     * {@inheritdoc}
     */
    #[ReturnTypeWillChange]
    public function exec($sql)
    {
        try {
            $result = parent::exec($sql);
            assert($result !== false);

            return $result;
        } catch (PDOException $exception) {
            throw Exception::new($exception);
        }
    }

    /**
Arguments
  1. PDOException {#941
      #message: "SQLSTATE[HY000] [1040] Too many connections"
      #code: 1040
      #file: "/home/m/moderavf/moderavf.beget.tech/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
      #line: 40
      +errorInfo: array:3 [
        0 => "HY000"
        1 => 1040
        2 => "Too many connections"
      ]
    }
    
[internal]
Arguments
  1. Nwidart\Modules\LaravelModulesServiceProvider {#124}
    
  2. 28
    
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
 * @deprecated Use {@link Connection} instead
 */
class PDOConnection extends PDO implements ConnectionInterface, ServerInfoAwareConnection
{
    use PDOQueryImplementation;

    /**
     * @internal The connection can be only instantiated by its driver.
     *
     * @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, (string) $user, (string) $password, (array) $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [Statement::class, []]);
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (PDOException $exception) {
            throw Exception::new($exception);
        }
    }

    /**
     * {@inheritdoc}
     */
    #[ReturnTypeWillChange]
    public function exec($sql)
    {
        try {
            $result = parent::exec($sql);
            assert($result !== false);

            return $result;
        } catch (PDOException $exception) {
            throw Exception::new($exception);
Arguments
  1. "SQLSTATE[HY000] [1040] Too many connections"
    
Exception message: SQLSTATE[HY000] [1040] Too many connections
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
 * @deprecated Use {@link Connection} instead
 */
class PDOConnection extends PDO implements ConnectionInterface, ServerInfoAwareConnection
{
    use PDOQueryImplementation;

    /**
     * @internal The connection can be only instantiated by its driver.
     *
     * @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, (string) $user, (string) $password, (array) $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [Statement::class, []]);
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (PDOException $exception) {
            throw Exception::new($exception);
        }
    }

    /**
     * {@inheritdoc}
     */
    #[ReturnTypeWillChange]
    public function exec($sql)
    {
        try {
            $result = parent::exec($sql);
            assert($result !== false);

            return $result;
        } catch (PDOException $exception) {
            throw Exception::new($exception);
Arguments
  1. "mysql:host=localhost;port=3306;dbname=moderavf_admin"
    
  2. "moderavf_admin"
    
  3. "&Y47yiwZ"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
        } catch (Exception $e) {
            return $this->tryAgainIfCausedByLostConnection(
                $e, $dsn, $username, $password, $options
            );
        }
    }

    /**
     * Create a new PDO connection instance.
     *
     * @param  string  $dsn
     * @param  string  $username
     * @param  string  $password
     * @param  array  $options
     * @return \PDO
     */
    protected function createPdoConnection($dsn, $username, $password, $options)
    {
        if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
            return new PDOConnection($dsn, $username, $password, $options);
        }

        return new PDO($dsn, $username, $password, $options);
    }

    /**
     * Determine if the connection is persistent.
     *
     * @param  array  $options
     * @return bool
     */
    protected function isPersistentConnection($options)
    {
        return isset($options[PDO::ATTR_PERSISTENT]) &&
               $options[PDO::ATTR_PERSISTENT];
    }

    /**
     * Handle an exception that occurred during connect execution.
     *
Arguments
  1. "mysql:host=localhost;port=3306;dbname=moderavf_admin"
    
  2. "moderavf_admin"
    
  3. "&Y47yiwZ"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/home/m/moderavf/moderavf.beget.tech/public_html/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=localhost;port=3306;dbname=moderavf_admin"
    
  2. "moderavf_admin"
    
  3. "&Y47yiwZ"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/home/m/moderavf/moderavf.beget.tech/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=localhost;port=3306;dbname=moderavf_admin"
    
  2. array:13 [
      "driver" => "mysql"
      "host" => "localhost"
      "port" => "3306"
      "database" => "moderavf_admin"
      "username" => "moderavf_admin"
      "password" => "&Y47yiwZ"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "strict" => false
      "engine" => null
      "name" => "mysql"
    ]
    
  3. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/home/m/moderavf/moderavf.beget.tech/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) {
                    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:13 [
      "driver" => "mysql"
      "host" => "localhost"
      "port" => "3306"
      "database" => "moderavf_admin"
      "username" => "moderavf_admin"
      "password" => "&Y47yiwZ"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "strict" => false
      "engine" => null
      "name" => "mysql"
    ]
    
/home/m/moderavf/moderavf.beget.tech/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->recordsModified && $this->getConfig('sticky')) {
            return $this->getPdo();
        }

/home/m/moderavf/moderavf.beget.tech/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->recordsModified && $this->getConfig('sticky')) {
            return $this->getPdo();
        }

Arguments
  1. Closure() {#256 …4}
    
/home/m/moderavf/moderavf.beget.tech/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->recordsModified && $this->getConfig('sticky')) {
            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/m/moderavf/moderavf.beget.tech/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/m/moderavf/moderavf.beget.tech/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/m/moderavf/moderavf.beget.tech/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 `id`, `url`, `default` from `languages` where `url` = ? and `status` = ? limit 1"
    
  2. array:2 [
      0 => "compare"
      1 => 1
    ]
    
/home/m/moderavf/moderavf.beget.tech/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 `id`, `url`, `default` from `languages` where `url` = ? and `status` = ? limit 1"
    
  2. array:2 [
      0 => "compare"
      1 => 1
    ]
    
  3. Closure($query, $bindings) {#581 …4}
    
/home/m/moderavf/moderavf.beget.tech/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 `id`, `url`, `default` from `languages` where `url` = ? and `status` = ? limit 1"
    
  2. array:2 [
      0 => "compare"
      1 => 1
    ]
    
  3. Closure($query, $bindings) {#581 …4}
    
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
     *
     * @param  array  $columns
     * @return \Illuminate\Support\Collection
     */
    public function get($columns = ['*'])
    {
        return collect($this->onceWithColumns($columns, function () {
            return $this->processor->processSelect($this, $this->runSelect());
        }));
    }

    /**
     * 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 `id`, `url`, `default` from `languages` where `url` = ? and `status` = ? limit 1"
    
  2. array:2 [
      0 => "compare"
      1 => 1
    ]
    
  3. true
    
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
     * @param  string  $column
     * @return mixed
     */
    public function value($column)
    {
        $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 = ['*'])
    {
        return collect($this->onceWithColumns($columns, function () {
            return $this->processor->processSelect($this, $this->runSelect());
        }));
    }

    /**
     * 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
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
    }

    /**
     * Execute the given callback while selecting the given columns.
     *
     * After running the callback, the columns are reset to the original value.
     *
     * @param  array  $columns
     * @param  callable  $callback
     * @return mixed
     */
    protected function onceWithColumns($columns, $callback)
    {
        $original = $this->columns;

        if (is_null($original)) {
            $this->columns = $columns;
        }

        $result = $callback();

        $this->columns = $original;

        return $result;
    }

    /**
     * Insert a new record into the database.
     *
     * @param  array  $values
     * @return bool
     */
    public function insert(array $values)
    {
        // Since every insert gets treated like a batch insert, we will make sure the
        // bindings are structured in a way that is convenient when building these
        // inserts statements by verifying these elements are actually an array.
        if (empty($values)) {
            return true;
        }
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
     * @return mixed
     */
    public function value($column)
    {
        $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 = ['*'])
    {
        return collect($this->onceWithColumns($columns, function () {
            return $this->processor->processSelect($this, $this->runSelect());
        }));
    }

    /**
     * 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
Arguments
  1. array:3 [
      0 => "id"
      1 => "url"
      2 => "default"
    ]
    
  2. Closure() {#1045 …4}
    
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
        // If we actually found models we will also eager load any relationships that
        // have been specified as needing to be eager loaded, which will solve the
        // n+1 query issue for the developers to avoid running a lot of queries.
        if (count($models = $builder->getModels($columns)) > 0) {
            $models = $builder->eagerLoadRelations($models);
        }

        return $builder->getModel()->newCollection($models);
    }

    /**
     * Get the hydrated models without eager loading.
     *
     * @param  array  $columns
     * @return \Illuminate\Database\Eloquent\Model[]|static[]
     */
    public function getModels($columns = ['*'])
    {
        return $this->model->hydrate(
            $this->query->get($columns)->all()
        )->all();
    }

    /**
     * Eager load the relationships for the models.
     *
     * @param  array  $models
     * @return array
     */
    public function eagerLoadRelations(array $models)
    {
        foreach ($this->eagerLoad as $name => $constraints) {
            // For nested eager loads we'll skip loading them here and they will be set as an
            // eager load on the query to retrieve the relation so that they will be eager
            // loaded on that query, because that is where they get hydrated as models.
            if (strpos($name, '.') === false) {
                $models = $this->eagerLoadRelation($models, $name, $constraints);
            }
        }

Arguments
  1. array:3 [
      0 => "id"
      1 => "url"
      2 => "default"
    ]
    
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
    {
        if ($result = $this->first([$column])) {
            return $result->{$column};
        }
    }

    /**
     * Execute the query as a "select" statement.
     *
     * @param  array  $columns
     * @return \Illuminate\Database\Eloquent\Collection|static[]
     */
    public function get($columns = ['*'])
    {
        $builder = $this->applyScopes();

        // If we actually found models we will also eager load any relationships that
        // have been specified as needing to be eager loaded, which will solve the
        // n+1 query issue for the developers to avoid running a lot of queries.
        if (count($models = $builder->getModels($columns)) > 0) {
            $models = $builder->eagerLoadRelations($models);
        }

        return $builder->getModel()->newCollection($models);
    }

    /**
     * Get the hydrated models without eager loading.
     *
     * @param  array  $columns
     * @return \Illuminate\Database\Eloquent\Model[]|static[]
     */
    public function getModels($columns = ['*'])
    {
        return $this->model->hydrate(
            $this->query->get($columns)->all()
        )->all();
    }

    /**
Arguments
  1. array:3 [
      0 => "id"
      1 => "url"
      2 => "default"
    ]
    
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php
    public function each(callable $callback, $count = 1000)
    {
        return $this->chunk($count, function ($results) use ($callback) {
            foreach ($results as $key => $value) {
                if ($callback($value, $key) === false) {
                    return false;
                }
            }
        });
    }

    /**
     * Execute the query and get the first result.
     *
     * @param  array  $columns
     * @return \Illuminate\Database\Eloquent\Model|object|static|null
     */
    public function first($columns = ['*'])
    {
        return $this->take(1)->get($columns)->first();
    }

    /**
     * Apply the callback's query changes if the given "value" is true.
     *
     * @param  mixed  $value
     * @param  callable  $callback
     * @param  callable  $default
     * @return mixed|$this
     */
    public function when($value, $callback, $default = null)
    {
        if ($value) {
            return $callback($this, $value) ?: $this;
        } elseif ($default) {
            return $default($this, $value) ?: $this;
        }

        return $this;
    }
Arguments
  1. array:3 [
      0 => "id"
      1 => "url"
      2 => "default"
    ]
    
/home/m/moderavf/moderavf.beget.tech/public_html/Modules/Article/Providers/ArticleServiceProvider.php
        $this->registerConfig();
        $this->registerViews();
        $this->registerFactories();
        $this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');

        Article::observe(ArticleObserver::class);
    }

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        $prefix = '';
        if (request()->segment(1)) {
            $lang = Language::where('url', request()->segment(1))
                ->where('status', 1)
                ->first(['id', 'url', 'default']);
            if ($lang && $lang->default != 1)
                config(['app.locale_id' => $lang->id]);

            if ($lang)
                $prefix = $lang->url;
        }
        config(['app.locale_prefix' => $prefix]);

        $this->app->register(RouteServiceProvider::class);
    }

    /**
     * Register config.
     *
     * @return void
     */
    protected function registerConfig()
    {
        $this->publishes([
            __DIR__ . '/../Config/config.php' => config_path('article.php'),
Arguments
  1. array:3 [
      0 => "id"
      1 => "url"
      2 => "default"
    ]
    
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
     *
     * @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);
        }

        if (method_exists($provider, 'register')) {
            $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
/home/m/moderavf/moderavf.beget.tech/public_html/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. Modules\Article\Providers\ArticleServiceProvider {#254}
    
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/nwidart/laravel-modules/src/Laravel/Module.php
use Illuminate\Support\Str;
use Nwidart\Modules\Module as BaseModule;

class Module extends BaseModule
{
    /**
     * {@inheritdoc}
     */
    public function getCachedServicesPath()
    {
        return Str::replaceLast('services.php', $this->getSnakeName() . '_module.php', $this->app->getCachedServicesPath());
    }

    /**
     * {@inheritdoc}
     */
    public function registerProviders()
    {
        (new ProviderRepository($this->app, new Filesystem(), $this->getCachedServicesPath()))
            ->load($this->get('providers', []));
    }

    /**
     * {@inheritdoc}
     */
    public function registerAliases()
    {
        $loader = AliasLoader::getInstance();
        foreach ($this->get('aliases', []) as $aliasName => $aliasClass) {
            $loader->alias($aliasName, $aliasClass);
        }
    }
}
 
Arguments
  1. array:1 [
      0 => "Modules\Article\Providers\ArticleServiceProvider"
    ]
    
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/nwidart/laravel-modules/src/Module.php
     * Get a specific data from composer.json file by given the key.
     *
     * @param $key
     * @param null $default
     *
     * @return mixed
     */
    public function getComposerAttr($key, $default = null)
    {
        return $this->json('composer.json')->get($key, $default);
    }

    /**
     * Register the module.
     */
    public function register()
    {
        $this->registerAliases();

        $this->registerProviders();

        if ($this->isLoadFilesOnBoot() === false) {
            $this->registerFiles();
        }

        $this->fireEvent('register');
    }

    /**
     * Register the module event.
     *
     * @param string $event
     */
    protected function fireEvent($event)
    {
        $this->app['events']->dispatch(sprintf('modules.%s.' . $event, $this->getLowerName()), [$this]);
    }
    /**
     * Register the aliases from this module.
     */
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/nwidart/laravel-modules/src/FileRepository.php
        return $modules;
    }

    /**
     * Get a module path.
     *
     * @return string
     */
    public function getPath() : string
    {
        return $this->path ?: $this->config('paths.modules', base_path('Modules'));
    }

    /**
     * Register the modules.
     */
    public function register()
    {
        foreach ($this->getOrdered() as $module) {
            $module->register();
        }
    }

    /**
     * Boot the modules.
     */
    public function boot()
    {
        foreach ($this->getOrdered() as $module) {
            $module->boot();
        }
    }

    /**
     * Find a specific module.
     * @param $name
     * @return mixed|void
     */
    public function find($name)
    {
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/nwidart/laravel-modules/src/Providers/BootstrapServiceProvider.php
namespace Nwidart\Modules\Providers;

use Illuminate\Support\ServiceProvider;

class BootstrapServiceProvider extends ServiceProvider
{
    /**
     * Booting the package.
     */
    public function boot()
    {
        $this->app['modules']->boot();
    }

    /**
     * Register the provider.
     */
    public function register()
    {
        $this->app['modules']->register();
    }
}
 
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
     *
     * @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);
        }

        if (method_exists($provider, 'register')) {
            $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
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/nwidart/laravel-modules/src/ModulesServiceProvider.php
    /**
     * Booting the package.
     */
    public function boot()
    {
    }

    /**
     * Register all modules.
     */
    public function register()
    {
    }

    /**
     * Register all modules.
     */
    protected function registerModules()
    {
        $this->app->register(BootstrapServiceProvider::class);
    }

    /**
     * Register package's namespaces.
     */
    protected function registerNamespaces()
    {
        $configPath = __DIR__ . '/../config/config.php';

        $this->mergeConfigFrom($configPath, 'modules');
        $this->publishes([
            $configPath => config_path('modules.php'),
        ], 'config');
    }

    /**
     * Register the service provider.
     */
    abstract protected function registerServices();

Arguments
  1. Nwidart\Modules\Providers\BootstrapServiceProvider {#163}
    
/home/m/moderavf/moderavf.beget.tech/public_html/vendor/nwidart/laravel-modules/src/LaravelModulesServiceProvider.php
<?php

namespace Nwidart\Modules;

use Nwidart\Modules\Support\Stub;

class LaravelModulesServiceProvider extends ModulesServiceProvider
{
    /**
     * Booting the package.
     */
    public function boot()
    {
        $this->registerNamespaces();
        $this->registerModules();
    }

    /**
     * Register the service provider.
     */
    public function register()
    {
        $this->registerServices();
        $this->setupStubPath();
        $this->registerProviders();
    }

    /**
     * Setup stub path.
     */
    public function setupStubPath()
    {
        Stub::setBasePath(__DIR__ . '/Commands/stubs');

        $this->app->booted(function ($app) {
            if ($app['modules']->config('stubs.enabled') === true) {
                Stub::setBasePath($app['modules']->config('stubs.path'));
            }
        });
    }
/home/m/moderavf/moderavf.beget.tech/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/m/moderavf/moderavf.beget.tech/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 => Nwidart\Modules\LaravelModulesServiceProvider {#124}
      1 => "boot"
    ]
    
  2. []
    
/home/m/moderavf/moderavf.beget.tech/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/m/moderavf/moderavf.beget.tech/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. Illuminate\Foundation\Application {#2}
    
  2. array:2 [
      0 => Nwidart\Modules\LaravelModulesServiceProvider {#124}
      1 => "boot"
    ]
    
  3. Closure() {#30 …3}
    
/home/m/moderavf/moderavf.beget.tech/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. Illuminate\Foundation\Application {#2}
    
  2. array:2 [
      0 => Nwidart\Modules\LaravelModulesServiceProvider {#124}
      1 => "boot"
    ]
    
  3. []
    
  4. null
    
/home/m/moderavf/moderavf.beget.tech/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  callable  $callback
     * @return void
     */
    public function booting($callback)
    {
        $this->bootingCallbacks[] = $callback;
    }

    /**
     * Register a new "booted" listener.
     *
     * @param  callable  $callback
     * @return void
     */
Arguments
  1. array:2 [
      0 => Nwidart\Modules\LaravelModulesServiceProvider {#124}
      1 => "boot"
    ]
    
/home/m/moderavf/moderavf.beget.tech/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. Nwidart\Modules\LaravelModulesServiceProvider {#124}
    
[internal]
Arguments
  1. Nwidart\Modules\LaravelModulesServiceProvider {#124}
    
  2. 28
    
/home/m/moderavf/moderavf.beget.tech/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:38 [
      0 => Illuminate\Events\EventServiceProvider {#6}
      1 => Illuminate\Log\LogServiceProvider {#8}
      2 => Illuminate\Routing\RoutingServiceProvider {#10}
      3 => Illuminate\Auth\AuthServiceProvider {#21}
      4 => Illuminate\Cookie\CookieServiceProvider {#49}
      5 => Illuminate\Database\DatabaseServiceProvider {#52}
      6 => Illuminate\Encryption\EncryptionServiceProvider {#59}
      7 => Illuminate\Filesystem\FilesystemServiceProvider {#61}
      8 => Illuminate\Foundation\Providers\FormRequestServiceProvider {#67}
      9 => Illuminate\Foundation\Providers\FoundationServiceProvider {#66}
      10 => Illuminate\Notifications\NotificationServiceProvider {#70}
      11 => Illuminate\Pagination\PaginationServiceProvider {#72}
      12 => Illuminate\Session\SessionServiceProvider {#76}
      13 => Illuminate\View\ViewServiceProvider {#80}
      14 => BeyondCode\DumpServer\DumpServerServiceProvider {#84}
      15 => Fideloper\Proxy\TrustedProxyServiceProvider {#92}
      16 => Fynduck\FilesUpload\FilesUploadServiceProvider {#93}
      17 => Fynduck\VideoUrlParser\VideoUrlParserServiceProvider {#94}
      18 => Intervention\Image\ImageServiceProvider {#95}
      19 => Jaybizzle\LaravelCrawlerDetect\LaravelCrawlerDetectServiceProvider {#98}
      20 => Illuminate\Notifications\NexmoChannelServiceProvider {#100}
      21 => Laravel\Passport\PassportServiceProvider {#103}
      22 => Laravel\Scout\ScoutServiceProvider {#110}
      23 => Illuminate\Notifications\SlackChannelServiceProvider {#112}
      24 => Maatwebsite\Excel\ExcelServiceProvider {#114}
      25 => Carbon\Laravel\ServiceProvider {#123}
      26 => Nwidart\Modules\Providers\ConsoleServiceProvider {#127}
      27 => Nwidart\Modules\Providers\ContractsServiceProvider {#129}
      28 => Nwidart\Modules\LaravelModulesServiceProvider {#124}
      29 => Spatie\Sitemap\SitemapServiceProvider {#125}
      30 => UniSharp\LaravelFilemanager\LaravelFilemanagerServiceProvider {#131}
      31 => App\Providers\AppServiceProvider {#133}
      32 => App\Providers\AuthServiceProvider {#134}
      33 => App\Providers\BroadcastServiceProvider {#135}
      34 => App\Providers\EventServiceProvider {#136}
      35 => App\Providers\RouteServiceProvider {#137}
      36 => Illuminate\Translation\TranslationServiceProvider {#152}
      37 => Illuminate\Hashing\HashServiceProvider {#32}
    ]
    
  2. Closure($p) {#31 …4}
    
/home/m/moderavf/moderavf.beget.tech/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/m/moderavf/moderavf.beget.tech/public_html/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. Illuminate\Foundation\Application {#2}
    
/home/m/moderavf/moderavf.beget.tech/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/m/moderavf/moderavf.beget.tech/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/m/moderavf/moderavf.beget.tech/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. Illuminate\Http\Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#44}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +server: Symfony\Component\HttpFoundation\ServerBag {#46}
      +files: Symfony\Component\HttpFoundation\FileBag {#47}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/compare"
      #requestUri: "/compare"
      #baseUrl: ""
      #basePath: null
      #method: null
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      method: "GET"
      format: "html"
    }
    
/home/m/moderavf/moderavf.beget.tech/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. Illuminate\Http\Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#44}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +server: Symfony\Component\HttpFoundation\ServerBag {#46}
      +files: Symfony\Component\HttpFoundation\FileBag {#47}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/compare"
      #requestUri: "/compare"
      #baseUrl: ""
      #basePath: null
      #method: null
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      method: "GET"
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
REDIRECT_REDIRECT_UNIQUE_ID
"ZgWw4bb-KbZn8ajzEcHY4AAAAB8"
REDIRECT_REDIRECT_MMDB_ADDR
"54.198.37.250"
REDIRECT_REDIRECT_GEOIP_ADDR
"54.198.37.250"
REDIRECT_REDIRECT_MMDB_INFO
"result found"
REDIRECT_REDIRECT_GEOIP_CITY
"Ashburn"
REDIRECT_REDIRECT_GEOIP_LONGITUDE
"-77.47280"
REDIRECT_REDIRECT_GEOIP_CONTINENT_CODE
"NA"
REDIRECT_REDIRECT_GEOIP_LATITUDE
"39.04810"
REDIRECT_REDIRECT_GEOIP_POSTAL_CODE
"20149"
REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE
"US"
REDIRECT_REDIRECT_GEOIP_COUNTRY_NAME
"United States"
REDIRECT_REDIRECT_GEOIP_REGION
"VA"
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_PERL_USE_UNSAFE_INC
"1"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"ZgWw4bb-KbZn8ajzEcHY4AAAAB8"
REDIRECT_MMDB_ADDR
"54.198.37.250"
REDIRECT_GEOIP_ADDR
"54.198.37.250"
REDIRECT_MMDB_INFO
"result found"
REDIRECT_GEOIP_CITY
"Ashburn"
REDIRECT_GEOIP_LONGITUDE
"-77.47280"
REDIRECT_GEOIP_CONTINENT_CODE
"NA"
REDIRECT_GEOIP_LATITUDE
"39.04810"
REDIRECT_GEOIP_POSTAL_CODE
"20149"
REDIRECT_GEOIP_COUNTRY_CODE
"US"
REDIRECT_GEOIP_COUNTRY_NAME
"United States"
REDIRECT_GEOIP_REGION
"VA"
REDIRECT_HTTPS
"on"
REDIRECT_PERL_USE_UNSAFE_INC
"1"
REDIRECT_STATUS
"200"
UNIQUE_ID
"ZgWw4bb-KbZn8ajzEcHY4AAAAB8"
MMDB_ADDR
"54.198.37.250"
GEOIP_ADDR
"54.198.37.250"
MMDB_INFO
"result found"
GEOIP_CITY
"Ashburn"
GEOIP_LONGITUDE
"-77.47280"
GEOIP_CONTINENT_CODE
"NA"
GEOIP_LATITUDE
"39.04810"
GEOIP_POSTAL_CODE
"20149"
GEOIP_COUNTRY_CODE
"US"
GEOIP_COUNTRY_NAME
"United States"
GEOIP_REGION
"VA"
HTTPS
"on"
PERL_USE_UNSAFE_INC
"1"
HTTP_HOST
"braer.ru"
HTTP_X_SERVER_ADDR
"87.236.16.229"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_REAL_IP
"54.198.37.250"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"claudebot"
HTTP_REFERER
"https://braer.ru/ru/compare"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
SERVER_SIGNATURE
"<address>Apache/2.4.55 (Unix) Server at braer.ru Port 80</address>\n"
SERVER_SOFTWARE
"Apache/2.4.55 (Unix)"
SERVER_NAME
"braer.ru"
SERVER_ADDR
"87.236.16.229"
SERVER_PORT
"443"
REQUEST_SCHEME
"https"
REMOTE_ADDR
"54.198.37.250"
DOCUMENT_ROOT
"/home/m/moderavf/moderavf.beget.tech/public_html"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/m/moderavf/moderavf.beget.tech/public_html"
SERVER_ADMIN
"webmaster@braer.ru"
SCRIPT_FILENAME
"/home/m/moderavf/moderavf.beget.tech/public_html/public/index.php"
REMOTE_PORT
"63149"
REDIRECT_URL
"/public/compare"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/compare"
SCRIPT_NAME
"/public/index.php"
PHP_SELF
"/public/index.php"
REQUEST_TIME_FLOAT
1711648993.3317
REQUEST_TIME
1711648993
argv
[]
argc
0
APP_NAME
"Braer.ru"
APP_ENV
"production"
APP_SSL
"false"
APP_KEY
"base64:pQNmHuA+SDv/GN3xYXpHbDytYsxHnARnt06bO5NShOw"
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"https://braer.ru"
APP_TIMEZONE
"Europe/Moscow"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"moderavf_admin"
DB_USERNAME
"moderavf_admin"
DB_PASSWORD
"&Y47yiwZ"
BROADCAST_DRIVER
"redis"
REDIS_HOST
"localhost"
QUEUE_DRIVER
"database"
MAIL_DRIVER
"smtp"
MAIL_HOST
"mail.nic.ru"
MAIL_PORT
"465"
MAIL_USERNAME
"web@braer.info"
MAIL_PASSWORD
"SN2jgMfkQhnTKFd"
MAIL_FROM_ADDRESS
"web@braer.info"
MAIL_FROM_NAME
"web@braer.info"
MAIL_ENCRYPTION
"ssl"
SMS_LOGIN
"tdbraer"
SMS_PASSWORD
"6457120Braer"
SMS_SENDER
"BRAER.RU"
SMS_MESSAGE
"Вам_поступил_заказ._Перейти_https://braer.ru/cabinet/orders"
SUM_MAX_ORDER
"95000"
GOOGLE_KEY
"6LdsSgIiAAAAAMqmBBXfYAZfaLVR7k_2Jkv4hrTp"
Key Value
APT_GET_UPGRADE
"apt-get dist-upgrade -qq -y"
HOSTNAME
"bruma.beget.ru"
OLDPWD
"/"
APT_GET_INSTALL
"apt-get install --no-install-recommends -qq -y"
IN_CONTAINER
"true"
PWD
"/"
HOME
"/root"
DEBIAN_FRONTEND
"noninteractive"
SHLVL
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
APT_GET_UPDATE
"apt-get update -qq"
APP_NAME
"Braer.ru"
APP_ENV
"production"
APP_SSL
"false"
APP_KEY
"base64:pQNmHuA+SDv/GN3xYXpHbDytYsxHnARnt06bO5NShOw"
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"https://braer.ru"
APP_TIMEZONE
"Europe/Moscow"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"moderavf_admin"
DB_USERNAME
"moderavf_admin"
DB_PASSWORD
"&Y47yiwZ"
BROADCAST_DRIVER
"redis"
REDIS_HOST
"localhost"
QUEUE_DRIVER
"database"
MAIL_DRIVER
"smtp"
MAIL_HOST
"mail.nic.ru"
MAIL_PORT
"465"
MAIL_USERNAME
"web@braer.info"
MAIL_PASSWORD
"SN2jgMfkQhnTKFd"
MAIL_FROM_ADDRESS
"web@braer.info"
MAIL_FROM_NAME
"web@braer.info"
MAIL_ENCRYPTION
"ssl"
SMS_LOGIN
"tdbraer"
SMS_PASSWORD
"6457120Braer"
SMS_SENDER
"BRAER.RU"
SMS_MESSAGE
"Вам_поступил_заказ._Перейти_https://braer.ru/cabinet/orders"
SUM_MAX_ORDER
"95000"
GOOGLE_KEY
"6LdsSgIiAAAAAMqmBBXfYAZfaLVR7k_2Jkv4hrTp"
0. Whoops\Handler\PrettyPageHandler