^ PDOException {#62
  #message: "SQLSTATE[HY000] [1040] Too many connections"
  #code: 1040
  #file: "/var/www/kvzr/data/www/kotel-kv.ru/storage/framework/cache/config-cache.php"
  #line: 44
  +errorInfo: array:3 [
    0 => "HY000"
    1 => 1040
    2 => "Too many connections"
  ]
  trace: {
    /var/www/kvzr/data/www/kotel-kv.ru/storage/framework/cache/config-cache.php:44 {
      Laminas\ConfigAggregator\ConfigAggregator::{closure} …
      › $config = $container->get('config')['pdo'];
      › $pdo = new \PDO("mysql:host={$config['host']}:3306;dbname={$config['dbname']};charset={$config['charset']}", $config['user'], $config['password'], $config['driver_options']);
      › $pdo->exec("SET @@session.time_zone = '+00:00'");
      arguments: {
        $dsn: "mysql:host=localhost:3306;dbname=kotel_kv_ru;charset=utf8mb4"
        $username: "kotel_kv_ru"
        $passwd: "yT5xM3uL6l"
        $options: array:2 [ …2]
      }
    }
    /var/www/kvzr/data/www/kotel-kv.ru/vendor/laminas/laminas-servicemanager/src/ServiceManager.php:635 {
      Laminas\ServiceManager\ServiceManager->doCreate($resolvedName, array $options = null) …
      ›     $factory = $this->getFactory($resolvedName);
      ›     $object  = $factory($this->creationContext, $resolvedName, $options);
      › } else {
      arguments: {
        Laminas\ServiceManager\ServiceManager {#10 …}
        "PDO"
        null
      }
    }
    /var/www/kvzr/data/www/kotel-kv.ru/vendor/laminas/laminas-servicemanager/src/ServiceManager.php:215 {
      Laminas\ServiceManager\ServiceManager->get($name) …
      › // We use the resolved name for that.
      › $object = $this->doCreate($resolvedName);
      › 
      arguments: {
        $resolvedName: "PDO"
      }
    }
    /var/www/kvzr/data/www/kotel-kv.ru/includes/classes/RBM/Kernel.php:49 {
      RBM\Kernel->get($name) …
      › {
      ›     return $this->getContainer()->get($name);
      › }
      arguments: {
        $name: "PDO"
      }
    }
    /var/www/kvzr/data/www/kotel-kv.ru/includes/classes/RBM/Services.php:32 {
      RBM\Services::RBM\{closure} …
      › /**@var PDO $pdo */
      › $pdo = $kernel->get(PDO::class);
      › 
      arguments: {
        $name: "PDO"
      }
    }
    /var/www/kvzr/data/www/kotel-kv.ru/includes/classes/RBM/Kernel.php:71 {
      RBM\Kernel::boot(): self …
      › } else {
      ›     $service();
      › }
    }
    /var/www/kvzr/data/www/kotel-kv.ru/includes/classes/RBM/App.php:20 {
      RBM\App->__construct(array $data = []) …
      › {
      ›     self::$container = Kernel::boot();
      ›     foreach ($data as $key => $value) {
    }
    /var/www/kvzr/data/www/kotel-kv.ru/includes/classes/RBM/App.php:34 {
      RBM\App::bind(array $data): self …
      › if (self::$_instance === null) {
      ›     self::$_instance = new self($data);
      › } else {
      arguments: {
        $data: array:1 [ …1]
      }
    }
    /var/www/kvzr/data/www/kotel-kv.ru/maincore.php:285 {
      require_once …
      › require_once THEMES . 'templates/pages/main_elements.php';
      › RBM\App::bind(['city_user' => get_city_from_cookie_or_ipgeobase()]);
      › 
      arguments: {
        $data: array:1 [ …1]
      }
    }
    /var/www/kvzr/data/www/kotel-kv.ru/index.php:11 {
      › 
      › require_once 'maincore.php';
      › //var_dump($_SERVER['REQUEST_URI']);
      arguments: {
        "/var/www/kvzr/data/www/kotel-kv.ru/maincore.php"
      }
    }
  }
}