SEDU.ME - трансфер знаний

Политика Конфиденциальности сайта sEdu.me

Администрация сайта sEdu.me обязуется сохранять вашу конфиденциальность в Интернете. Мы уделяем большое значение охране предоставленных вами данных. Наша политика конфиденциальности основана на требованиях Общего регламента о защите персональных данных Европейского Союза (GDPR).

Цели, в которых мы собираем персональные данные: улучшение работы нашего сервиса, осуществление контактов с посетителями данного сайта, новостная рассылка по электронной почте, обработка данных пользователей для сервиса онлайн - торговли, предоставление информации, которую запрашивал пользователь, осуществление услуг, связанных с направлением деятельности данного сайта, а также для указанных ниже действий.

Сбор и использование персональных данных

Мы собираем и используем ваши персональные данные только в случае вашего добровольного согласия. При согласии с этим вы разрешаете нам собирать и использовать следующие данные: ваши имя и фамилия, электронная почта, номер телефона, личные фотографии, данные банковской карточки и идентификаторы электронных кошельков, данные аккаунтов в социальных сетях, данные о образовании и компетенциях, страна проживания, данные о карьере.

Сбор и обработка ваших данных проводится в соответствии с законами, действующими на территории Европейского Союза.

Хранение данных, изменение и удаление

Пользователь, предоставивший свои персональные данные сайту sEdu.me имеет право на их изменение и удаление, а также на отзыв своего согласия на их использование.

Срок, в течение которого будут храниться ваши персональные данные: время, необходимое для использования данных для основной деятельности сайта. При завершении использования ваших данных администрация сайта удаляет их.

Для доступа к своим персональным данным вы можете связаться с администрацией сайта по следующему адресу: www.newton.team@gmail.com.

Мы можем передавать ваши личные данные третьей стороне только с вашего добровольного согласия, если они были переданы, то изменение данных в других организациях, не связанных с нами, мы осуществить не можем.

Использование технических данных при посещении сайта

При посещении вами сайта sEdu.me в базе данных сохраняются записи о вашем IP адресе, времени посещения, настройках браузера, операционной системе, а также другая техническая информация необходимая для корректного отображения содержимого сайта. По этим данным нам невозможно идентифицировать личность посетителя.

Предоставление информации детьми

Если Вы являетесь родителем или опекуном, и вы знаете, что ваши дети предоставили нам свои личные данные без Вашего согласия, свяжитесь с нами: www.newton.team@gmail.com. На нашем сервисе запрещено оставлять личные данные несовершеннолетних без согласия родителей или опекунов.

Использование файлов cookies

Для корректного отображения содержимого и для удобства использования сайта sEdu.me мы используем cookie файлы. Это небольшие файлы, которые хранятся на вашем устройстве.

Они помогают сайту запомнить информацию о вас, например, на каком языке вы просматриваете сайт и какие страницы вы уже открывали, эта информация будет полезна при следующем посещении. Благодаря файлам cookie просмотр сайта становится значительно более удобным. Подробнее про эти файлы вы можете прочитать тут.

Вы можете настроить прием или блокировку cookie в браузере самостоятельно. При этом вы должны знать, что невозможность принимать файлы cookie может ограничить работоспособность сайта и послужить причиной для временной или окончательной блокировки вашего аккаунта.

Использование персональных данных другими сервисами

На этом сайте используются сторонние интернет-сервисы, осуществляющие независимый от нас сбор информации: Google Analytics, Google AdSense, Yandex.Metrica, Facebook.com. Собранные ими данные могут предоставляться другим службам внутри этих организаций, они могут использовать данные для персонализации рекламы своей собственной рекламной сети.

Вы можете прочитать пользовательские соглашения этих организаций на их сайтах. Там же вы можете отказаться от сбора ими персональных данных, к примеру, блокировщик Google Analytics находится тутблокировщик Яндекс Метрики тут.

Мы не передаем персональные данные другим организациям и службам, не указанным в данной политике конфиденциальности. Исключение составляет только передача информации при законных требованиях государственных органов уполномоченных осуществлять данные действия.

Ссылки на другие сайты

Наш сайт sEdu.me может содержать ссылки на другие сайты, которые не управляются нами. Мы не несем ответственность за их содержание. Мы рекомендуем вам ознакомиться с политикой конфиденциальности каждого сайта, который вы посещаете, если она там есть.

Изменения в политике конфиденциальности

Наш сайт sEdu.me может обновлять нашу политику конфиденциальности время от времени. Мы сообщаем о любых изменениях, разместив новую политику конфиденциальности на этой странице. Мы отслеживаем изменения законодательства, касающегося персональных данных в Европейском Союзе. Если вы оставили персональные данные у нас, то мы постараемся оповестить вас об изменении в политике конфиденциальности. Если ваши персональные данные были введены не корректно, то мы не сможем с вами связаться.

Обратная связь, заключительные положения

Связаться с администрацией сайта sEdu.me по вопросам, связанным с политикой конфиденциальности можно по адресу: www.newton.team@gmail.com, либо с помощью контактной формы, указанной в соответствующем разделе данного сайта. Если вы не согласны с данной политикой конфиденциальности, вы не можете пользоваться услугами сайта sEdu.me, в этом случае вы должны воздержаться от посещения нашего сайта.

Whoops! There was an error.
Doctrine \ DBAL \ Driver \ PDOException (2003)
SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111)
Previous exceptions
  • SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111) (2003)
Doctrine\DBAL\Driver\PDOException thrown with message "SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111)" Stacktrace: #33 Doctrine\DBAL\Driver\PDOException in /var/www/urich1/data/www/sedu.me/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31 #32 App\Http\Middleware\RegionMiddleware:__construct in [internal]:0 #31 PDOException in /var/www/urich1/data/www/sedu.me/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 #30 PDO:__construct in /var/www/urich1/data/www/sedu.me/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 #29 Doctrine\DBAL\Driver\PDOConnection:__construct in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67 #28 Illuminate\Database\Connectors\Connector:createPdoConnection in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46 #27 Illuminate\Database\Connectors\Connector:createConnection in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 #26 Illuminate\Database\Connectors\MySqlConnector:connect in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:182 #25 Illuminate\Database\Connectors\ConnectionFactory:Illuminate\Database\Connectors\{closure} in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php:918 #24 call_user_func in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php:918 #23 Illuminate\Database\Connection:getPdo in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:248 #22 Illuminate\Database\DatabaseManager:refreshPdoConnections in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:234 #21 Illuminate\Database\DatabaseManager:reconnect in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:168 #20 Illuminate\Database\DatabaseManager:Illuminate\Database\{closure} in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php:756 #19 call_user_func in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php:756 #18 Illuminate\Database\Connection:reconnect in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php:736 #17 Illuminate\Database\Connection:tryAgainIfCausedByLostConnection in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php:718 #16 Illuminate\Database\Connection:handleQueryException in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php:627 #15 Illuminate\Database\Connection:run in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php:333 #14 Illuminate\Database\Connection:select in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2095 #13 Illuminate\Database\Query\Builder:runSelect in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2289 #12 Illuminate\Database\Query\Builder:Illuminate\Database\Query\{closure} in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2569 #11 Illuminate\Database\Query\Builder:onceWithColumns in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2291 #10 Illuminate\Database\Query\Builder:pluck in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:715 #9 Illuminate\Database\Eloquent\Builder:pluck in /var/www/urich1/data/www/sedu.me/app/Models/Region.php:22 #8 App\Models\Region:getLocale in /var/www/urich1/data/www/sedu.me/app/Http/Middleware/RegionMiddleware.php:42 #7 App\Http\Middleware\RegionMiddleware:__construct in [internal]:0 #6 ReflectionClass:newInstanceArgs in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Container/Container.php:812 #5 Illuminate\Container\Container:build in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Container/Container.php:658 #4 Illuminate\Container\Container:resolve in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Container/Container.php:609 #3 Illuminate\Container\Container:make in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:759 #2 Illuminate\Foundation\Application:make in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:215 #1 Illuminate\Foundation\Http\Kernel:terminateMiddleware in /var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:189 #0 Illuminate\Foundation\Http\Kernel:terminate in /var/www/urich1/data/www/sedu.me/public/index.php:58
33
Doctrine\DBAL\Driver\PDOException
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php31
32
App\Http\Middleware\RegionMiddleware __construct
[internal]0
31
PDOException
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php27
30
PDO __construct
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php27
29
Doctrine\DBAL\Driver\PDOConnection __construct
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php67
28
Illuminate\Database\Connectors\Connector createPdoConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php46
27
Illuminate\Database\Connectors\Connector createConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php24
26
Illuminate\Database\Connectors\MySqlConnector connect
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php182
25
Illuminate\Database\Connectors\ConnectionFactory Illuminate\Database\Connectors\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php918
24
call_user_func
/vendor/laravel/framework/src/Illuminate/Database/Connection.php918
23
Illuminate\Database\Connection getPdo
/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php248
22
Illuminate\Database\DatabaseManager refreshPdoConnections
/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php234
21
Illuminate\Database\DatabaseManager reconnect
/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php168
20
Illuminate\Database\DatabaseManager Illuminate\Database\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php756
19
call_user_func
/vendor/laravel/framework/src/Illuminate/Database/Connection.php756
18
Illuminate\Database\Connection reconnect
/vendor/laravel/framework/src/Illuminate/Database/Connection.php736
17
Illuminate\Database\Connection tryAgainIfCausedByLostConnection
/vendor/laravel/framework/src/Illuminate/Database/Connection.php718
16
Illuminate\Database\Connection handleQueryException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php627
15
Illuminate\Database\Connection run
/vendor/laravel/framework/src/Illuminate/Database/Connection.php333
14
Illuminate\Database\Connection select
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2095
13
Illuminate\Database\Query\Builder runSelect
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2289
12
Illuminate\Database\Query\Builder Illuminate\Database\Query\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2569
11
Illuminate\Database\Query\Builder onceWithColumns
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2291
10
Illuminate\Database\Query\Builder pluck
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php715
9
Illuminate\Database\Eloquent\Builder pluck
/app/Models/Region.php22
8
App\Models\Region getLocale
/app/Http/Middleware/RegionMiddleware.php42
7
App\Http\Middleware\RegionMiddleware __construct
[internal]0
6
ReflectionClass newInstanceArgs
/vendor/laravel/framework/src/Illuminate/Container/Container.php812
5
Illuminate\Container\Container build
/vendor/laravel/framework/src/Illuminate/Container/Container.php658
4
Illuminate\Container\Container resolve
/vendor/laravel/framework/src/Illuminate/Container/Container.php609
3
Illuminate\Container\Container make
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php759
2
Illuminate\Foundation\Application make
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php215
1
Illuminate\Foundation\Http\Kernel terminateMiddleware
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php189
0
Illuminate\Foundation\Http\Kernel terminate
/public/index.php58
/var/www/urich1/data/www/sedu.me/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, (string) $user, (string) $password, (array) $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($sql)
    {
        try {
            $result = parent::exec($sql);
            assert($result !== false);
 
            return $result;
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
Arguments
  1. "SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111)"
    
[internal]
Arguments
  1. Barryvdh\TranslationManager\Manager {#404}
    
/var/www/urich1/data/www/sedu.me/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, (string) $user, (string) $password, (array) $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($sql)
    {
        try {
            $result = parent::exec($sql);
            assert($result !== false);
 
            return $result;
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
Arguments
  1. "SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111)"
    
Exception message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111)
/var/www/urich1/data/www/sedu.me/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, (string) $user, (string) $password, (array) $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($sql)
    {
        try {
            $result = parent::exec($sql);
            assert($result !== false);
 
            return $result;
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
Arguments
  1. "mysql:host=127.0.0.1;port=3306;dbname=sedu_me"
    
  2. "sedu"
    
  3. "sedu@me&123"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/var/www/urich1/data/www/sedu.me/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=127.0.0.1;port=3306;dbname=sedu_me"
    
  2. "sedu"
    
  3. "sedu@me&123"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/var/www/urich1/data/www/sedu.me/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=127.0.0.1;port=3306;dbname=sedu_me"
    
  2. "sedu"
    
  3. "sedu@me&123"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php
use PDO;
 
class MySqlConnector extends Connector implements ConnectorInterface
{
    /**
     * Establish a database connection.
     *
     * @param  array  $config
     * @return \PDO
     */
    public function connect(array $config)
    {
        $dsn = $this->getDsn($config);
 
        $options = $this->getOptions($config);
 
        // We need to grab the PDO options that should be used while making the brand
        // new connection instance. The PDO options control various aspects of the
        // connection's behavior, and some might be specified by the developers.
        $connection = $this->createConnection($dsn, $config, $options);
 
        if (! empty($config['database'])) {
            $connection->exec("use `{$config['database']}`;");
        }
 
        $this->configureEncoding($connection, $config);
 
        // Next, we will check to see if a timezone has been specified in this config
        // and if it has we will issue a statement to modify the timezone with the
        // database. Setting this DB timezone is an optional configuration item.
        $this->configureTimezone($connection, $config);
 
        $this->setModes($connection, $config);
 
        return $connection;
    }
 
    /**
     * Set the connection character set and collation.
     *
Arguments
  1. "mysql:host=127.0.0.1;port=3306;dbname=sedu_me"
    
  2. array:14 [
      "driver" => "mysql"
      "host" => "127.0.0.1"
      "port" => "3306"
      "database" => "sedu_me"
      "username" => "sedu"
      "password" => "sedu@me&123"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "prefix_indexes" => true
      "strict" => true
      "engine" => null
      "name" => "mysql"
    ]
    
  3. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/var/www/urich1/data/www/sedu.me/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:14 [
      "driver" => "mysql"
      "host" => "127.0.0.1"
      "port" => "3306"
      "database" => "sedu_me"
      "username" => "sedu"
      "password" => "sedu@me&123"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "prefix_indexes" => true
      "strict" => true
      "engine" => null
      "name" => "mysql"
    ]
    
/var/www/urich1/data/www/sedu.me/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();
        }
 
/var/www/urich1/data/www/sedu.me/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() {#515 …4}
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php
 
        if (! isset($this->connections[$name])) {
            return $this->connection($name);
        }
 
        return $this->refreshPdoConnections($name);
    }
 
    /**
     * Refresh the PDO connections on a given connection.
     *
     * @param  string  $name
     * @return \Illuminate\Database\Connection
     */
    protected function refreshPdoConnections($name)
    {
        $fresh = $this->makeConnection($name);
 
        return $this->connections[$name]
                                ->setPdo($fresh->getPdo())
                                ->setReadPdo($fresh->getReadPdo());
    }
 
    /**
     * Get the default connection name.
     *
     * @return string
     */
    public function getDefaultConnection()
    {
        return $this->app['config']['database.default'];
    }
 
    /**
     * Set the default connection name.
     *
     * @param  string  $name
     * @return void
     */
    public function setDefaultConnection($name)
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php
        if (isset($this->connections[$name = $name ?: $this->getDefaultConnection()])) {
            $this->connections[$name]->disconnect();
        }
    }
 
    /**
     * Reconnect to the given database.
     *
     * @param  string  $name
     * @return \Illuminate\Database\Connection
     */
    public function reconnect($name = null)
    {
        $this->disconnect($name = $name ?: $this->getDefaultConnection());
 
        if (! isset($this->connections[$name])) {
            return $this->connection($name);
        }
 
        return $this->refreshPdoConnections($name);
    }
 
    /**
     * Refresh the PDO connections on a given connection.
     *
     * @param  string  $name
     * @return \Illuminate\Database\Connection
     */
    protected function refreshPdoConnections($name)
    {
        $fresh = $this->makeConnection($name);
 
        return $this->connections[$name]
                                ->setPdo($fresh->getPdo())
                                ->setReadPdo($fresh->getReadPdo());
    }
 
    /**
     * Get the default connection name.
     *
Arguments
  1. "mysql"
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php
     * @param  \Illuminate\Database\Connection  $connection
     * @param  string  $type
     * @return \Illuminate\Database\Connection
     */
    protected function configure(Connection $connection, $type)
    {
        $connection = $this->setPdoForType($connection, $type);
 
        // First we'll set the fetch mode and a few other dependencies of the database
        // connection. This method basically just configures and prepares it to get
        // used by the application. Once we're finished we'll return it back out.
        if ($this->app->bound('events')) {
            $connection->setEventDispatcher($this->app['events']);
        }
 
        // Here we'll set a reconnector callback. This reconnector can be any callable
        // so we will set a Closure to reconnect from this manager with the name of
        // the connection, which will allow us to reconnect from the connections.
        $connection->setReconnector(function ($connection) {
            $this->reconnect($connection->getName());
        });
 
        return $connection;
    }
 
    /**
     * Prepare the read / write mode for database connection instance.
     *
     * @param  \Illuminate\Database\Connection  $connection
     * @param  string  $type
     * @return \Illuminate\Database\Connection
     */
    protected function setPdoForType(Connection $connection, $type = null)
    {
        if ($type === 'read') {
            $connection->setPdo($connection->getReadPdo());
        } elseif ($type === 'write') {
            $connection->setReadPdo($connection->getPdo());
        }
 
Arguments
  1. "mysql"
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php
 
            return $this->runQueryCallback($query, $bindings, $callback);
        }
 
        throw $e;
    }
 
    /**
     * Reconnect to the database.
     *
     * @return void
     *
     * @throws \LogicException
     */
    public function reconnect()
    {
        if (is_callable($this->reconnector)) {
            $this->doctrineConnection = null;
 
            return call_user_func($this->reconnector, $this);
        }
 
        throw new LogicException('Lost connection and no reconnector available.');
    }
 
    /**
     * Reconnect to the database if a PDO connection is missing.
     *
     * @return void
     */
    protected function reconnectIfMissingConnection()
    {
        if (is_null($this->pdo)) {
            $this->reconnect();
        }
    }
 
    /**
     * Disconnect from the underlying PDO connection.
     *
Arguments
  1. Illuminate\Database\MySqlConnection {#507}
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php
 
            return $this->runQueryCallback($query, $bindings, $callback);
        }
 
        throw $e;
    }
 
    /**
     * Reconnect to the database.
     *
     * @return void
     *
     * @throws \LogicException
     */
    public function reconnect()
    {
        if (is_callable($this->reconnector)) {
            $this->doctrineConnection = null;
 
            return call_user_func($this->reconnector, $this);
        }
 
        throw new LogicException('Lost connection and no reconnector available.');
    }
 
    /**
     * Reconnect to the database if a PDO connection is missing.
     *
     * @return void
     */
    protected function reconnectIfMissingConnection()
    {
        if (is_null($this->pdo)) {
            $this->reconnect();
        }
    }
 
    /**
     * Disconnect from the underlying PDO connection.
     *
Arguments
  1. Closure($connection) {#510 …4}
    
  2. Illuminate\Database\MySqlConnection {#507}
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php
        return $this->tryAgainIfCausedByLostConnection(
            $e, $query, $bindings, $callback
        );
    }
 
    /**
     * Handle a query exception that occurred during query execution.
     *
     * @param  \Illuminate\Database\QueryException  $e
     * @param  string    $query
     * @param  array     $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function tryAgainIfCausedByLostConnection(QueryException $e, $query, $bindings, Closure $callback)
    {
        if ($this->causedByLostConnection($e->getPrevious())) {
            $this->reconnect();
 
            return $this->runQueryCallback($query, $bindings, $callback);
        }
 
        throw $e;
    }
 
    /**
     * Reconnect to the database.
     *
     * @return void
     *
     * @throws \LogicException
     */
    public function reconnect()
    {
        if (is_callable($this->reconnector)) {
            $this->doctrineConnection = null;
 
            return call_user_func($this->reconnector, $this);
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php
 
    /**
     * Handle a query exception.
     *
     * @param  \Exception  $e
     * @param  string  $query
     * @param  array  $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleQueryException($e, $query, $bindings, Closure $callback)
    {
        if ($this->transactions >= 1) {
            throw $e;
        }
 
        return $this->tryAgainIfCausedByLostConnection(
            $e, $query, $bindings, $callback
        );
    }
 
    /**
     * Handle a query exception that occurred during query execution.
     *
     * @param  \Illuminate\Database\QueryException  $e
     * @param  string    $query
     * @param  array     $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function tryAgainIfCausedByLostConnection(QueryException $e, $query, $bindings, Closure $callback)
    {
        if ($this->causedByLostConnection($e->getPrevious())) {
            $this->reconnect();
 
            return $this->runQueryCallback($query, $bindings, $callback);
Arguments
  1. Illuminate\Database\QueryException {#1544
      #sql: "select `short_name` from `locales` where `id` = ?"
      #bindings: array:1 [
        0 => "6"
      ]
      #message: "SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query (SQL: select `short_name` from `locales` where `id` = 6)"
      #code: "HY000"
      #file: "/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php"
      #line: 664
      -previous: Doctrine\DBAL\Driver\PDOException {#2125
        -errorCode: 2013
        -sqlState: "HY000"
        #message: "SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query"
        #code: "HY000"
        #file: "/var/www/urich1/data/www/sedu.me/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
        #line: 72
        -previous: PDOException {#2129
          #message: "SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query"
          #code: "HY000"
          #file: "/var/www/urich1/data/www/sedu.me/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
          #line: 67
          +errorInfo: array:3 [
            0 => "HY000"
            1 => 2013
            2 => "Lost connection to MySQL server during query"
          ]
        }
        +errorInfo: array:3 [
          0 => "HY000"
          1 => 2013
          2 => "Lost connection to MySQL server during query"
        ]
      }
      +errorInfo: array:3 [
        0 => "HY000"
        1 => 2013
        2 => "Lost connection to MySQL server during query"
      ]
    }
    
  2. "select `short_name` from `locales` where `id` = ?"
    
  3. array:1 [
      0 => "6"
    ]
    
  4. Closure($query, $bindings) {#2136 …4}
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * @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
     * @param  array     $bindings
     * @param  \Closure  $callback
     * @return mixed
Arguments
  1. Illuminate\Database\QueryException {#1544
      #sql: "select `short_name` from `locales` where `id` = ?"
      #bindings: array:1 [
        0 => "6"
      ]
      #message: "SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query (SQL: select `short_name` from `locales` where `id` = 6)"
      #code: "HY000"
      #file: "/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Connection.php"
      #line: 664
      -previous: Doctrine\DBAL\Driver\PDOException {#2125
        -errorCode: 2013
        -sqlState: "HY000"
        #message: "SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query"
        #code: "HY000"
        #file: "/var/www/urich1/data/www/sedu.me/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
        #line: 72
        -previous: PDOException {#2129
          #message: "SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query"
          #code: "HY000"
          #file: "/var/www/urich1/data/www/sedu.me/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
          #line: 67
          +errorInfo: array:3 [
            0 => "HY000"
            1 => 2013
            2 => "Lost connection to MySQL server during query"
          ]
        }
        +errorInfo: array:3 [
          0 => "HY000"
          1 => 2013
          2 => "Lost connection to MySQL server during query"
        ]
      }
      +errorInfo: array:3 [
        0 => "HY000"
        1 => 2013
        2 => "Lost connection to MySQL server during query"
      ]
    }
    
  2. "select `short_name` from `locales` where `id` = ?"
    
  3. array:1 [
      0 => "6"
    ]
    
  4. Closure($query, $bindings) {#2136 …4}
    
/var/www/urich1/data/www/sedu.me/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 `short_name` from `locales` where `id` = ?"
    
  2. array:1 [
      0 => "6"
    ]
    
  3. Closure($query, $bindings) {#2136 …4}
    
/var/www/urich1/data/www/sedu.me/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 `short_name` from `locales` where `id` = ?"
    
  2. array:1 [
      0 => "6"
    ]
    
  3. true
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
        }
    }
 
    /**
     * Get an array with the values of a given column.
     *
     * @param  string  $column
     * @param  string|null  $key
     * @return \Illuminate\Support\Collection
     */
    public function pluck($column, $key = null)
    {
        // First, we will need to select the results of the query accounting for the
        // given columns / key. Once we have the results, we will be able to take
        // the results and get the exact data that was requested for the query.
        $queryResult = $this->onceWithColumns(
            is_null($key) ? [$column] : [$column, $key],
            function () {
                return $this->processor->processSelect(
                    $this, $this->runSelect()
                );
            }
        );
 
        if (empty($queryResult)) {
            return collect();
        }
 
        // If the columns are qualified with a table or have an alias, we cannot use
        // those directly in the "pluck" operations since the results from the DB
        // are only keyed by the column itself. We'll strip the table out here.
        $column = $this->stripTableForPluck($column);
 
        $key = $this->stripTableForPluck($key);
 
        return is_array($queryResult[0])
                    ? $this->pluckFromArrayColumn($queryResult, $column, $key)
                    : $this->pluckFromObjectColumn($queryResult, $column, $key);
    }
 
/var/www/urich1/data/www/sedu.me/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;
        }
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
 
    /**
     * Get an array with the values of a given column.
     *
     * @param  string  $column
     * @param  string|null  $key
     * @return \Illuminate\Support\Collection
     */
    public function pluck($column, $key = null)
    {
        // First, we will need to select the results of the query accounting for the
        // given columns / key. Once we have the results, we will be able to take
        // the results and get the exact data that was requested for the query.
        $queryResult = $this->onceWithColumns(
            is_null($key) ? [$column] : [$column, $key],
            function () {
                return $this->processor->processSelect(
                    $this, $this->runSelect()
                );
            }
        );
 
        if (empty($queryResult)) {
            return collect();
        }
 
        // If the columns are qualified with a table or have an alias, we cannot use
        // those directly in the "pluck" operations since the results from the DB
        // are only keyed by the column itself. We'll strip the table out here.
        $column = $this->stripTableForPluck($column);
 
        $key = $this->stripTableForPluck($key);
 
        return is_array($queryResult[0])
                    ? $this->pluckFromArrayColumn($queryResult, $column, $key)
                    : $this->pluckFromObjectColumn($queryResult, $column, $key);
    }
 
    /**
     * Strip off the table name or alias from a column identifier.
Arguments
  1. array:1 [
      0 => "short_name"
    ]
    
  2. Closure() {#33 …4}
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
     *
     * @return void
     */
    protected function enforceOrderBy()
    {
        if (empty($this->query->orders) && empty($this->query->unionOrders)) {
            $this->orderBy($this->model->getQualifiedKeyName(), 'asc');
        }
    }
 
    /**
     * Get an array with the values of a given column.
     *
     * @param  string  $column
     * @param  string|null  $key
     * @return \Illuminate\Support\Collection
     */
    public function pluck($column, $key = null)
    {
        $results = $this->toBase()->pluck($column, $key);
 
        // If the model has a mutator for the requested column, we will spin through
        // the results and mutate the values so that the mutated version of these
        // columns are returned as you would expect from these Eloquent models.
        if (! $this->model->hasGetMutator($column) &&
            ! $this->model->hasCast($column) &&
            ! in_array($column, $this->model->getDates())) {
            return $results;
        }
 
        return $results->map(function ($value) use ($column) {
            return $this->model->newFromBuilder([$column => $value])->{$column};
        });
    }
 
    /**
     * Paginate the given query.
     *
     * @param  int  $perPage
     * @param  array  $columns
Arguments
  1. "short_name"
    
  2. null
    
/var/www/urich1/data/www/sedu.me/app/Models/Region.php
namespace App\Models;
 
use App\Models\Locale;
use App\Models\LocaleCode;
use Illuminate\Database\Eloquent\Model;
 
class Region extends Model
{
    public $table = "regions";
 
    protected $guarded=[];
 
    public static function getAllRegions()
    {
        return Region::pluck('short_name as region')->toArray();
    }
 
    public static function getLocale($locale_id)
    {
        return Locale::where('id',$locale_id)->pluck('short_name')->first();
    }
 
    public static function getLocaleCode($locale_code_id)
    {
        return LocaleCode::where('id',$locale_code_id)->pluck('name')->first();
    }
 
    public static function getDirection($locale_code_id)
    {
        return LocaleCode::where('id',$locale_code_id)->pluck('name')->first();
    }
}
 
Arguments
  1. "short_name"
    
/var/www/urich1/data/www/sedu.me/app/Http/Middleware/RegionMiddleware.php
    private $regionDefault;
    private $regionsEnable;
    private $domain;
 
    /**
     * Handle an incoming request.
     *
     * RegionMiddleware constructor.
     * @param Manager $manager
     */
    public function __construct(Manager $manager)
    {
        $this->manager = $manager;
        
        $this->regionsEnable = config('region.status');
        $regions = Region::All();
        $regionsArrays = [];
        foreach ($regions as $region) {
            $regionsArrays[$region->short_name] = [
                $region->getLocale($region->locale_id),
                $region->getLocaleCode($region->locale_code_id),
                $region->direction ?  'true' : 'false'
            ];
        };
        $this->regions = $regionsArrays;
        $this->regionDefault = config('region.default');
    }
 
    public function handle($request, Closure $next)
    {
        if (!$this->regionsEnable)
            return $next($request);
 
        if(app()->router->getCurrentRoute()->getName() == 'frontend.auth.social.login')
            return $next($request);
        
        $this->domain = parse_url(config('app.url'), PHP_URL_HOST);
        $subdomain = rtrim(str_replace($this->domain, '', $request->getHost()), '.');
 
        if (!$subdomain)
Arguments
  1. "6"
    
[internal]
Arguments
  1. Barryvdh\TranslationManager\Manager {#404}
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Container/Container.php
        // we can just resolve the instances of the objects right away, without
        // resolving any other types or dependencies out of these containers.
        if (is_null($constructor)) {
            array_pop($this->buildStack);
 
            return new $concrete;
        }
 
        $dependencies = $constructor->getParameters();
 
        // Once we have all the constructor's parameters we can create each of the
        // dependency instances and then use the reflection instances to make a
        // new instance of this class, injecting the created dependencies in.
        $instances = $this->resolveDependencies(
            $dependencies
        );
 
        array_pop($this->buildStack);
 
        return $reflector->newInstanceArgs($instances);
    }
 
    /**
     * Resolve all of the dependencies from the ReflectionParameters.
     *
     * @param  array  $dependencies
     * @return array
     */
    protected function resolveDependencies(array $dependencies)
    {
        $results = [];
 
        foreach ($dependencies as $dependency) {
            // If this dependency has a override for this particular build we will use
            // that instead as the value. Otherwise, we will continue with this run
            // of resolutions and let reflection attempt to determine the result.
            if ($this->hasParameterOverride($dependency)) {
                $results[] = $this->getParameterOverride($dependency);
 
                continue;
Arguments
  1. array:1 [
      0 => Barryvdh\TranslationManager\Manager {#404}
    ]
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Container/Container.php
        $needsContextualBuild = ! empty($parameters) || ! is_null(
            $this->getContextualConcrete($abstract)
        );
 
        // If an instance of the type is currently being managed as a singleton we'll
        // just return an existing instance instead of instantiating new instances
        // so the developer can keep using the same objects instance every time.
        if (isset($this->instances[$abstract]) && ! $needsContextualBuild) {
            return $this->instances[$abstract];
        }
 
        $this->with[] = $parameters;
 
        $concrete = $this->getConcrete($abstract);
 
        // We're ready to instantiate an instance of the concrete type registered for
        // the binding. This will instantiate the types, as well as resolve any of
        // its "nested" dependencies recursively until all have gotten resolved.
        if ($this->isBuildable($concrete, $abstract)) {
            $object = $this->build($concrete);
        } else {
            $object = $this->make($concrete);
        }
 
        // If we defined any extenders for this type, we'll need to spin through them
        // and apply them to the object being built. This allows for the extension
        // of services, such as changing configuration or decorating the object.
        foreach ($this->getExtenders($abstract) as $extender) {
            $object = $extender($object, $this);
        }
 
        // If the requested type is registered as a singleton we'll want to cache off
        // the instances in "memory" so we can return it later without creating an
        // entirely new instance of an object on each subsequent request for it.
        if ($this->isShared($abstract) && ! $needsContextualBuild) {
            $this->instances[$abstract] = $object;
        }
 
        $this->fireResolvingCallbacks($abstract, $object);
 
Arguments
  1. "App\Http\Middleware\RegionMiddleware"
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Container/Container.php
     *
     * @param  string  $abstract
     * @param  array  $parameters
     * @return mixed
     */
    public function makeWith($abstract, array $parameters = [])
    {
        return $this->make($abstract, $parameters);
    }
 
    /**
     * Resolve the given type from the container.
     *
     * @param  string  $abstract
     * @param  array  $parameters
     * @return mixed
     */
    public function make($abstract, array $parameters = [])
    {
        return $this->resolve($abstract, $parameters);
    }
 
    /**
     *  {@inheritdoc}
     */
    public function get($id)
    {
        try {
            return $this->resolve($id);
        } catch (Exception $e) {
            if ($this->has($id)) {
                throw $e;
            }
 
            throw new EntryNotFoundException;
        }
    }
 
    /**
     * Resolve the given type from the container.
Arguments
  1. "App\Http\Middleware\RegionMiddleware"
    
  2. []
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
    }
 
    /**
     * Resolve the given type from the container.
     *
     * (Overriding Container::make)
     *
     * @param  string  $abstract
     * @param  array  $parameters
     * @return mixed
     */
    public function make($abstract, array $parameters = [])
    {
        $abstract = $this->getAlias($abstract);
 
        if (isset($this->deferredServices[$abstract]) && ! isset($this->instances[$abstract])) {
            $this->loadDeferredProvider($abstract);
        }
 
        return parent::make($abstract, $parameters);
    }
 
    /**
     * Determine if the given abstract type has been bound.
     *
     * (Overriding Container::bound)
     *
     * @param  string  $abstract
     * @return bool
     */
    public function bound($abstract)
    {
        return isset($this->deferredServices[$abstract]) || parent::bound($abstract);
    }
 
    /**
     * Determine if the application has booted.
     *
     * @return bool
     */
Arguments
  1. "App\Http\Middleware\RegionMiddleware"
    
  2. []
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    protected function terminateMiddleware($request, $response)
    {
        $middlewares = $this->app->shouldSkipMiddleware() ? [] : array_merge(
            $this->gatherRouteMiddleware($request),
            $this->middleware
        );
 
        foreach ($middlewares as $middleware) {
            if (! is_string($middleware)) {
                continue;
            }
 
            [$name] = $this->parseMiddleware($middleware);
 
            $instance = $this->app->make($name);
 
            if (method_exists($instance, 'terminate')) {
                $instance->terminate($request, $response);
            }
        }
    }
 
    /**
     * Gather the route middleware for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    protected function gatherRouteMiddleware($request)
    {
        if ($route = $request->route()) {
            return $this->router->gatherRouteMiddleware($route);
        }
 
        return [];
Arguments
  1. "App\Http\Middleware\RegionMiddleware"
    
/var/www/urich1/data/www/sedu.me/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    public function terminate($request, $response)
    {
        $this->terminateMiddleware($request, $response);
 
        $this->app->terminate();
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    protected function terminateMiddleware($request, $response)
    {
        $middlewares = $this->app->shouldSkipMiddleware() ? [] : array_merge(
            $this->gatherRouteMiddleware($request),
            $this->middleware
        );
 
        foreach ($middlewares as $middleware) {
            if (! is_string($middleware)) {
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2155 …4}
      #routeResolver: Closure() {#2152 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#52}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/privacy-policy"
      #requestUri: "/privacy-policy"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#386}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\Http\Response {#2566}
    
/var/www/urich1/data/www/sedu.me/public/index.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 {#44
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2155 …4}
      #routeResolver: Closure() {#2152 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#52}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/privacy-policy"
      #requestUri: "/privacy-policy"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#386}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\Http\Response {#2566}
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
PHP_INI_SCAN_DIR
"/var/www/urich1/data/php-bin-isp-php72/sedu.me:"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHPRC
"/var/www/urich1/data/php-bin-isp-php72"
PWD
"/var/www/php-bin-isp-php72/urich1/sedu.me"
CONTENT_LENGTH
"0"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/privacy-policy"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/privacy-policy"
REMOTE_PORT
"47592"
SCRIPT_FILENAME
"/var/www/urich1/data/www/sedu.me/public/index.php"
SERVER_ADMIN
"webmaster@sedu.me"
CONTEXT_DOCUMENT_ROOT
"/var/www/urich1/data/www/sedu.me/public"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"http"
DOCUMENT_ROOT
"/var/www/urich1/data/www/sedu.me/public"
REMOTE_ADDR
"18.191.181.143"
SERVER_PORT
"80"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"gb.sedu.me"
SERVER_SOFTWARE
"Apache/2.4.18 (Ubuntu)"
SERVER_SIGNATURE
"<address>Apache/2.4.18 (Ubuntu) Server at gb.sedu.me Port 80</address>\n"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_HOST
"gb.sedu.me"
HTTPS
"on"
REDIRECT_STATUS
"200"
REDIRECT_HTTPS
"on"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1722066255.9688
REQUEST_TIME
1722066255
APP_NAME
"SEDU.ME"
APP_ENV
"local"
APP_KEY
"***************************************************"
APP_DEBUG
"true"
DEBUGBAR_ENABLED
"false"
APP_URL
"https://sedu.me"
APP_LOCALE
"en"
APP_FALLBACK_LOCALE
"en"
APP_LOCALE_PHP
"en_US"
APP_TIMEZONE
"UTC"
LOG_CHANNEL
"daily"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"sedu_me"
DB_USERNAME
"sedu"
DB_PASSWORD
"***********"
BROADCAST_DRIVER
"pusher"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
SESSION_ENCRYPT
"false"
QUEUE_CONNECTION
"sync"
SESSION_DOMAIN
".sedu.me"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"****"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.googlemail.com"
MAIL_PORT
"465"
MAIL_USERNAME
"***********************"
MAIL_PASSWORD
"****************"
MAIL_ENCRYPTION
"ssl"
MAIL_FROM_ADDRESS
"sedu.me.mail@gmail.com"
MAIL_FROM_NAME
"SeduMe"
PUSHER_APP_ID
"sedu"
PUSHER_APP_KEY
"****"
PUSHER_APP_SECRET
"***********"
PUSHER_APP_CLUSTER
"mt1"
LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT
"/var/www/httpd-cert/urich1/sedu.me_le5.crtca"
LARAVEL_WEBSOCKETS_SSL_LOCAL_PK
"/var/www/httpd-cert/urich1/sedu.me_le5.key"
MIX_PUSHER_APP_KEY
"sedu"
MIX_PUSHER_APP_CLUSTER
"mt1"
ENABLE_REGISTRATION
"true"
CHANGE_EMAIL
"false"
PASSWORD_HISTORY
"3"
PASSWORD_EXPIRES_DAYS
""
REQUIRES_APPROVAL
"false"
CONFIRM_EMAIL
"true"
REGISTRATION_CAPTCHA_STATUS
"false"
NOCAPTCHA_SITEKEY
""
NOCAPTCHA_SECRET
""
FACEBOOK_ACTIVE
"false"
FACEBOOK_REDIRECT
"https://sedu.me/login/facebook/callback"
BITBUCKET_ACTIVE
"false"
BITBUCKET_REDIRECT
"https://sedu.me/login/bitbucket/callback"
GITHUB_ACTIVE
"false"
GITHUB_REDIRECT
"https://sedu.me/login/github/callback"
GOOGLE_ACTIVE
"false"
GOOGLE_REDIRECT
"https://sedu.me/login/google/callback"
LINKEDIN_ACTIVE
"false"
LINKEDIN_REDIRECT
"https://sedu.me/login/linkedin/callback"
TWITTER_ACTIVE
"false"
TWITTER_REDIRECT
"https://sedu.me/login/twitter/callback"
STRIPE_KEY
""
STRIPE_SECRET
""
PAYPAL_CLIENT_ID
""
PAYPAL_SECRET
""
PAYPAL_MODE
""
MAILCHIMP_API_KEY
"ertergverg"
TWILIO_SID
"AC34fa671610ac1bb883cf3b8238af72e8"
TWILIO_AUTH_TOKEN
"dd529ba7d4d93746c642accd9ae0df01"
TWILIO_NUMBER
"12565769360"
NEW_TEL_KEY
"0c98f30e7909cc93c3cdf67cc058327c45a46d83f3672ae0"
NEW_AUTH_TOKEN
"8e415d49627e96a9af9eb0b27b9855b83f14538cc81a1e1a"
JITSI_DOMAIN
"jitsimeet.intelegram.ru"
Key Value
APP_NAME
"SEDU.ME"
APP_ENV
"local"
APP_KEY
"***************************************************"
APP_DEBUG
"true"
DEBUGBAR_ENABLED
"false"
APP_URL
"https://sedu.me"
APP_LOCALE
"en"
APP_FALLBACK_LOCALE
"en"
APP_LOCALE_PHP
"en_US"
APP_TIMEZONE
"UTC"
LOG_CHANNEL
"daily"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"sedu_me"
DB_USERNAME
"sedu"
DB_PASSWORD
"***********"
BROADCAST_DRIVER
"pusher"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
SESSION_ENCRYPT
"false"
QUEUE_CONNECTION
"sync"
SESSION_DOMAIN
".sedu.me"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"****"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.googlemail.com"
MAIL_PORT
"465"
MAIL_USERNAME
"***********************"
MAIL_PASSWORD
"****************"
MAIL_ENCRYPTION
"ssl"
MAIL_FROM_ADDRESS
"sedu.me.mail@gmail.com"
MAIL_FROM_NAME
"SeduMe"
PUSHER_APP_ID
"sedu"
PUSHER_APP_KEY
"****"
PUSHER_APP_SECRET
"***********"
PUSHER_APP_CLUSTER
"mt1"
LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT
"/var/www/httpd-cert/urich1/sedu.me_le5.crtca"
LARAVEL_WEBSOCKETS_SSL_LOCAL_PK
"/var/www/httpd-cert/urich1/sedu.me_le5.key"
MIX_PUSHER_APP_KEY
"sedu"
MIX_PUSHER_APP_CLUSTER
"mt1"
ENABLE_REGISTRATION
"true"
CHANGE_EMAIL
"false"
PASSWORD_HISTORY
"3"
PASSWORD_EXPIRES_DAYS
""
REQUIRES_APPROVAL
"false"
CONFIRM_EMAIL
"true"
REGISTRATION_CAPTCHA_STATUS
"false"
NOCAPTCHA_SITEKEY
""
NOCAPTCHA_SECRET
""
FACEBOOK_ACTIVE
"false"
FACEBOOK_REDIRECT
"https://sedu.me/login/facebook/callback"
BITBUCKET_ACTIVE
"false"
BITBUCKET_REDIRECT
"https://sedu.me/login/bitbucket/callback"
GITHUB_ACTIVE
"false"
GITHUB_REDIRECT
"https://sedu.me/login/github/callback"
GOOGLE_ACTIVE
"false"
GOOGLE_REDIRECT
"https://sedu.me/login/google/callback"
LINKEDIN_ACTIVE
"false"
LINKEDIN_REDIRECT
"https://sedu.me/login/linkedin/callback"
TWITTER_ACTIVE
"false"
TWITTER_REDIRECT
"https://sedu.me/login/twitter/callback"
STRIPE_KEY
""
STRIPE_SECRET
""
PAYPAL_CLIENT_ID
""
PAYPAL_SECRET
""
PAYPAL_MODE
""
MAILCHIMP_API_KEY
"ertergverg"
TWILIO_SID
"AC34fa671610ac1bb883cf3b8238af72e8"
TWILIO_AUTH_TOKEN
"dd529ba7d4d93746c642accd9ae0df01"
TWILIO_NUMBER
"12565769360"
NEW_TEL_KEY
"0c98f30e7909cc93c3cdf67cc058327c45a46d83f3672ae0"
NEW_AUTH_TOKEN
"8e415d49627e96a9af9eb0b27b9855b83f14538cc81a1e1a"
JITSI_DOMAIN
"jitsimeet.intelegram.ru"
0. Whoops\Handler\PrettyPageHandler