yii\db\Exception#1
(
    [
errorInfo] => [
        
=> '08004'
        
=> 1040
        2 
=> 'Too many connections'
    
]
    [*:
message] => 'SQLSTATE[08004] [1040] Too many connections'
    
[Exception:string] => ''
    
[*:code] => 1040
    
[*:file] => '/var/www/html/vendor/yiisoft/yii2/db/Connection.php'
    
[*:line] => 649
    
[Exception:trace] => [
        
=> [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/db/Connection.php'
            'line' 
=> 1059
            
'function' => 'open'
            'class' 
=> 'yii\\db\\Connection'
            'type' 
=> '->'
            'args' 
=> []
        ]
        
=> [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/db/Connection.php'
            'line' 
=> 1046
            
'function' => 'getMasterPdo'
            'class' 
=> 'yii\\db\\Connection'
            'type' 
=> '->'
            'args' 
=> []
        ]
        
=> [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/db/mysql/QueryBuilder.php'
            'line' 
=> 406
            
'function' => 'getSlavePdo'
            'class' 
=> 'yii\\db\\Connection'
            'type' 
=> '->'
            'args' 
=> []
        ]
        
=> [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/db/mysql/QueryBuilder.php'
            'line' 
=> 430
            
'function' => 'supportsFractionalSeconds'
            'class' 
=> 'yii\\db\\mysql\\QueryBuilder'
            'type' 
=> '->'
            'args' 
=> []
        ]
        
=> [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/db/mysql/QueryBuilder.php'
            'line' 
=> 59
            
'function' => 'defaultTimeTypeMap'
            'class' 
=> 'yii\\db\\mysql\\QueryBuilder'
            'type' 
=> '->'
            'args' 
=> []
        ]
        
=> [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/base/BaseObject.php'
            'line' 
=> 109
            
'function' => 'init'
            'class' 
=> 'yii\\db\\mysql\\QueryBuilder'
            'type' 
=> '->'
            'args' 
=> []
        ]
        
=> [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/db/QueryBuilder.php'
            'line' 
=> 116
            
'function' => '__construct'
            'class' 
=> 'yii\\base\\BaseObject'
            'type' 
=> '->'
            'args' 
=> [
                
=> []
            ]
        ]
        
=> [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/db/mysql/Schema.php'
            'line' 
=> 217
            
'function' => '__construct'
            'class' 
=> 'yii\\db\\QueryBuilder'
            'type' 
=> '->'
            'args' 
=> [
                
=> yii\db\Connection#2
                
(
                    [
dsn] => 'mysql:host=10.1.0.218;dbname=kvado'
                    
[username] => 'kvado-site'
                    
[password] => 'Dto9AHWbo9sB'
                    
[attributes] => null
                    
[pdo] => null
                    
[enableSchemaCache] => true
                    
[schemaCacheDuration] => 3600
                    
[schemaCacheExclude] => [...]
                    [
schemaCache] => 'cache'
                    
[enableQueryCache] => true
                    
[queryCacheDuration] => 3600
                    
[queryCache] => 'cache'
                    
[charset] => 'utf8'
                    
[emulatePrepare] => null
                    
[tablePrefix] => ''
                    
[schemaMap] => [...]
                    [
pdoClass] => null
                    
[commandClass] => 'yii\\db\\Command'
                    
[commandMap] => [...]
                    [
enableSavepoint] => true
                    
[serverStatusCache] => 'cache'
                    
[serverRetryInterval] => 600
                    
[enableSlaves] => true
                    
[slaves] => [...]
                    [
slaveConfig] => [...]
                    [
masters] => [...]
                    [
masterConfig] => [...]
                    [
shuffleMasters] => true
                    
[enableLogging] => true
                    
[enableProfiling] => true
                    
[isSybase] => false
                    
[yii\db\Connection:_queryBuilderConfigurations] => [...]
                    [
yii\db\Connection:_transaction] => null
                    
[yii\db\Connection:_schema] => yii\db\mysql\Schema(...)
                    [
yii\db\Connection:_driverName] => 'mysql'
                    
[yii\db\Connection:_master] => false
                    
[yii\db\Connection:_slave] => null
                    
[yii\db\Connection:_queryCacheInfo] => [...]
                    [
yii\db\Connection:_quotedTableNames] => null
                    
[yii\db\Connection:_quotedColumnNames] => null
                    
[yii\base\Component:_events] => [...]
                    [
yii\base\Component:_eventWildcards] => [...]
                    [
yii\base\Component:_behaviors] => null
                
)
            ]
        ]
        
=> [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/db/Schema.php'
            'line' 
=> 249
            
'function' => 'createQueryBuilder'
            'class' 
=> 'yii\\db\\mysql\\Schema'
            'type' 
=> '->'
            'args' 
=> []
        ]
        
=> [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/db/Connection.php'
            'line' 
=> 876
            
'function' => 'getQueryBuilder'
            'class' 
=> 'yii\\db\\Schema'
            'type' 
=> '->'
            'args' 
=> []
        ]
        
10 => [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/db/ActiveQuery.php'
            'line' 
=> 328
            
'function' => 'getQueryBuilder'
            'class' 
=> 'yii\\db\\Connection'
            'type' 
=> '->'
            'args' 
=> []
        ]
        
11 => [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/db/Query.php'
            'line' 
=> 287
            
'function' => 'createCommand'
            'class' 
=> 'yii\\db\\ActiveQuery'
            'type' 
=> '->'
            'args' 
=> [
                
=> yii\db\Connection#2(...)
            
]
        ]
        
12 => [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/db/ActiveQuery.php'
            'line' 
=> 304
            
'function' => 'one'
            'class' 
=> 'yii\\db\\Query'
            'type' 
=> '->'
            'args' 
=> [
                
=> null
            
]
        ]
        
13 => [
            
'file' => '/var/www/html/components/Controller.php'
            'line' 
=> 152
            
'function' => 'one'
            'class' 
=> 'yii\\db\\ActiveQuery'
            'type' 
=> '->'
            'args' 
=> []
        ]
        
14 => [
            
'file' => '/var/www/html/components/Controller.php'
            'line' 
=> 42
            
'function' => 'setSite'
            'class' 
=> 'app\\components\\Controller'
            'type' 
=> '->'
            'args' 
=> []
        ]
        
15 => [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/base/BaseObject.php'
            'line' 
=> 109
            
'function' => 'init'
            'class' 
=> 'app\\components\\Controller'
            'type' 
=> '->'
            'args' 
=> []
        ]
        
16 => [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/base/Controller.php'
            'line' 
=> 98
            
'function' => '__construct'
            'class' 
=> 'yii\\base\\BaseObject'
            'type' 
=> '->'
            'args' 
=> [
                
=> []
            ]
        ]
        
17 => [
            
'function' => '__construct'
            'class' 
=> 'yii\\base\\Controller'
            'type' 
=> '->'
            'args' 
=> [
                
=> 'files'
                
=> yii\web\Application#3
                
(
                    [
defaultRoute] => 'site'
                    
[catchAll] => null
                    
[controller] => null
                    
[yii\web\Application:_homeUrl] => null
                    
[controllerNamespace] => 'app\\controllers'
                    
[name] => 'My Application'
                    
[charset] => 'UTF-8'
                    
[language] => 'ru'
                    
[sourceLanguage] => 'en_US'
                    
[layout] => 'main'
                    
[requestedRoute] => 'files/index'
                    
[requestedAction] => null
                    
[requestedParams] => null
                    
[extensions] => [...]
                    [
bootstrap] => [...]
                    [
state] => 3
                    
[loadedModules] => [...]
                    [
yii\base\Application:_runtimePath] => '/var/www/html/runtime'
                    
[yii\base\Application:_vendorPath] => '/var/www/html/vendor'
                    
[params] => [...]
                    [
id] => 'basic'
                    
[module] => null
                    
[controllerMap] => [...]
                    [
yii\base\Module:_basePath] => '/var/www/html'
                    
[yii\base\Module:_viewPath] => null
                    
[yii\base\Module:_layoutPath] => null
                    
[yii\base\Module:_modules] => [...]
                    [
yii\base\Module:_version] => null
                    
[yii\di\ServiceLocator:_components] => [...]
                    [
yii\di\ServiceLocator:_definitions] => [...]
                    [
yii\base\Component:_events] => [...]
                    [
yii\base\Component:_eventWildcards] => [...]
                    [
yii\base\Component:_behaviors] => [...]
                )
                
=> []
            ]
        ]
        
18 => [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/di/Container.php'
            'line' 
=> 412
            
'function' => 'newInstanceArgs'
            'class' 
=> 'ReflectionClass'
            'type' 
=> '->'
            'args' 
=> [
                
=> [
                    
=> 'files'
                    
=> yii\web\Application#3(...)
                    
=> [...]
                ]
            ]
        ]
        
19 => [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/di/Container.php'
            'line' 
=> 171
            
'function' => 'build'
            'class' 
=> 'yii\\di\\Container'
            'type' 
=> '->'
            'args' 
=> [
                
=> 'app\\controllers\\FilesController'
                
=> [
                    
=> 'files'
                    
=> yii\web\Application#3(...)
                
]
                
=> []
            ]
        ]
        
20 => [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/BaseYii.php'
            'line' 
=> 345
            
'function' => 'get'
            'class' 
=> 'yii\\di\\Container'
            'type' 
=> '->'
            'args' 
=> [
                
=> 'app\\controllers\\FilesController'
                
=> [
                    
=> 'files'
                    
=> yii\web\Application#3(...)
                
]
            ]
        ]
        
21 => [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/base/Module.php'
            'line' 
=> 648
            
'function' => 'createObject'
            'class' 
=> 'yii\\BaseYii'
            'type' 
=> '::'
            'args' 
=> [
                
=> 'app\\controllers\\FilesController'
                
=> [
                    
=> 'files'
                    
=> yii\web\Application#3(...)
                
]
            ]
        ]
        
22 => [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/base/Module.php'
            'line' 
=> 602
            
'function' => 'createControllerByID'
            'class' 
=> 'yii\\base\\Module'
            'type' 
=> '->'
            'args' 
=> [
                
=> 'files'
            
]
        ]
        
23 => [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/base/Module.php'
            'line' 
=> 528
            
'function' => 'createController'
            'class' 
=> 'yii\\base\\Module'
            'type' 
=> '->'
            'args' 
=> [
                
=> 'index'
            
]
        ]
        
24 => [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/web/Application.php'
            'line' 
=> 104
            
'function' => 'runAction'
            'class' 
=> 'yii\\base\\Module'
            'type' 
=> '->'
            'args' 
=> [
                
=> 'files/index'
                
=> [
                    
'filename' => '56f9198d0b734434579126/5886012208460406700543.pdf'
                
]
            ]
        ]
        
25 => [
            
'file' => '/var/www/html/vendor/yiisoft/yii2/base/Application.php'
            'line' 
=> 392
            
'function' => 'handleRequest'
            'class' 
=> 'yii\\web\\Application'
            'type' 
=> '->'
            'args' 
=> [
                
=> yii\web\Request#4
                
(
                    [
enableCsrfValidation] => true
                    
[csrfParam] => '_csrf'
                    
[csrfCookie] => [...]
                    [
enableCsrfCookie] => true
                    
[enableCookieValidation] => true
                    
[cookieValidationKey] => 'jsd9f823yu89_cnwdop;320r-i0r'
                    
[methodParam] => '_method'
                    
[parsers] => [...]
                    [
trustedHosts] => [...]
                    [
secureHeaders] => [...]
                    [
ipHeaders] => [...]
                    [
secureProtocolHeaders] => [...]
                    [
yii\web\Request:_cookies] => null
                    
[yii\web\Request:_headers] => yii\web\HeaderCollection(...)
                    [
yii\web\Request:_rawBody] => null
                    
[yii\web\Request:_bodyParams] => null
                    
[yii\web\Request:_queryParams] => null
                    
[yii\web\Request:_hostInfo] => 'http://www.ooouniversal.ru'
                    
[yii\web\Request:_hostName] => null
                    
[yii\web\Request:_baseUrl] => ''
                    
[yii\web\Request:_scriptUrl] => '/index.php'
                    
[yii\web\Request:_scriptFile] => null
                    
[yii\web\Request:_pathInfo] => 'files/56f9198d0b734434579126/5886012208460406700543.pdf'
                    
[yii\web\Request:_url] => '/files/56f9198d0b734434579126/5886012208460406700543.pdf'
                    
[yii\web\Request:_port] => null
                    
[yii\web\Request:_securePort] => null
                    
[yii\web\Request:_contentTypes] => null
                    
[yii\web\Request:_languages] => null
                    
[yii\web\Request:_csrfToken] => null
                    
[yii\web\Request:_secureForwardedHeaderParts] => [...]
                    [
yii\base\Request:_isConsoleRequest] => null
                    
[yii\base\Component:_events] => [...]
                    [
yii\base\Component:_eventWildcards] => [...]
                    [
yii\base\Component:_behaviors] => null
                    
[yii\base\Request:_scriptFile] => null
                
)
            ]
        ]
        
26 => [
            
'file' => '/var/www/html/web/index.php'
            'line' 
=> 35
            
'function' => 'run'
            'class' 
=> 'yii\\base\\Application'
            'type' 
=> '->'
            'args' 
=> []
        ]
    ]
    [
Exception:previous] => PDOException#5
    
(
        [*:
message] => 'SQLSTATE[08004] [1040] Too many connections'
        
[Exception:string] => ''
        
[*:code] => 1040
        
[*:file] => '/var/www/html/vendor/yiisoft/yii2/db/Connection.php'
        
[*:line] => 719
        
[Exception:trace] => [
            
=> [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/Connection.php'
                'line' 
=> 719
                
'function' => '__construct'
                'class' 
=> 'PDO'
                'type' 
=> '->'
                'args' 
=> [
                    
=> 'mysql:host=10.1.0.218;dbname=kvado'
                    
=> 'kvado-site'
                    
=> 'Dto9AHWbo9sB'
                    
=> null
                
]
            ]
            
=> [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/Connection.php'
                'line' 
=> 638
                
'function' => 'createPdoInstance'
                'class' 
=> 'yii\\db\\Connection'
                'type' 
=> '->'
                'args' 
=> []
            ]
            
=> [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/Connection.php'
                'line' 
=> 1059
                
'function' => 'open'
                'class' 
=> 'yii\\db\\Connection'
                'type' 
=> '->'
                'args' 
=> []
            ]
            
=> [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/Connection.php'
                'line' 
=> 1046
                
'function' => 'getMasterPdo'
                'class' 
=> 'yii\\db\\Connection'
                'type' 
=> '->'
                'args' 
=> []
            ]
            
=> [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/mysql/QueryBuilder.php'
                'line' 
=> 406
                
'function' => 'getSlavePdo'
                'class' 
=> 'yii\\db\\Connection'
                'type' 
=> '->'
                'args' 
=> []
            ]
            
=> [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/mysql/QueryBuilder.php'
                'line' 
=> 430
                
'function' => 'supportsFractionalSeconds'
                'class' 
=> 'yii\\db\\mysql\\QueryBuilder'
                'type' 
=> '->'
                'args' 
=> []
            ]
            
=> [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/mysql/QueryBuilder.php'
                'line' 
=> 59
                
'function' => 'defaultTimeTypeMap'
                'class' 
=> 'yii\\db\\mysql\\QueryBuilder'
                'type' 
=> '->'
                'args' 
=> []
            ]
            
=> [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/base/BaseObject.php'
                'line' 
=> 109
                
'function' => 'init'
                'class' 
=> 'yii\\db\\mysql\\QueryBuilder'
                'type' 
=> '->'
                'args' 
=> []
            ]
            
=> [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/QueryBuilder.php'
                'line' 
=> 116
                
'function' => '__construct'
                'class' 
=> 'yii\\base\\BaseObject'
                'type' 
=> '->'
                'args' 
=> [
                    
=> [...]
                ]
            ]
            
=> [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/mysql/Schema.php'
                'line' 
=> 217
                
'function' => '__construct'
                'class' 
=> 'yii\\db\\QueryBuilder'
                'type' 
=> '->'
                'args' 
=> [
                    
=> yii\db\Connection#2(...)
                
]
            ]
            
10 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/Schema.php'
                'line' 
=> 249
                
'function' => 'createQueryBuilder'
                'class' 
=> 'yii\\db\\mysql\\Schema'
                'type' 
=> '->'
                'args' 
=> []
            ]
            
11 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/Connection.php'
                'line' 
=> 876
                
'function' => 'getQueryBuilder'
                'class' 
=> 'yii\\db\\Schema'
                'type' 
=> '->'
                'args' 
=> []
            ]
            
12 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/ActiveQuery.php'
                'line' 
=> 328
                
'function' => 'getQueryBuilder'
                'class' 
=> 'yii\\db\\Connection'
                'type' 
=> '->'
                'args' 
=> []
            ]
            
13 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/Query.php'
                'line' 
=> 287
                
'function' => 'createCommand'
                'class' 
=> 'yii\\db\\ActiveQuery'
                'type' 
=> '->'
                'args' 
=> [
                    
=> yii\db\Connection#2(...)
                
]
            ]
            
14 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/db/ActiveQuery.php'
                'line' 
=> 304
                
'function' => 'one'
                'class' 
=> 'yii\\db\\Query'
                'type' 
=> '->'
                'args' 
=> [
                    
=> null
                
]
            ]
            
15 => [
                
'file' => '/var/www/html/components/Controller.php'
                'line' 
=> 152
                
'function' => 'one'
                'class' 
=> 'yii\\db\\ActiveQuery'
                'type' 
=> '->'
                'args' 
=> []
            ]
            
16 => [
                
'file' => '/var/www/html/components/Controller.php'
                'line' 
=> 42
                
'function' => 'setSite'
                'class' 
=> 'app\\components\\Controller'
                'type' 
=> '->'
                'args' 
=> []
            ]
            
17 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/base/BaseObject.php'
                'line' 
=> 109
                
'function' => 'init'
                'class' 
=> 'app\\components\\Controller'
                'type' 
=> '->'
                'args' 
=> []
            ]
            
18 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/base/Controller.php'
                'line' 
=> 98
                
'function' => '__construct'
                'class' 
=> 'yii\\base\\BaseObject'
                'type' 
=> '->'
                'args' 
=> [
                    
=> [...]
                ]
            ]
            
19 => [
                
'function' => '__construct'
                'class' 
=> 'yii\\base\\Controller'
                'type' 
=> '->'
                'args' 
=> [
                    
=> 'files'
                    
=> yii\web\Application#3(...)
                    
=> [...]
                ]
            ]
            
20 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/di/Container.php'
                'line' 
=> 412
                
'function' => 'newInstanceArgs'
                'class' 
=> 'ReflectionClass'
                'type' 
=> '->'
                'args' 
=> [
                    
=> [...]
                ]
            ]
            
21 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/di/Container.php'
                'line' 
=> 171
                
'function' => 'build'
                'class' 
=> 'yii\\di\\Container'
                'type' 
=> '->'
                'args' 
=> [
                    
=> 'app\\controllers\\FilesController'
                    
=> [...]
                    
=> [...]
                ]
            ]
            
22 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/BaseYii.php'
                'line' 
=> 345
                
'function' => 'get'
                'class' 
=> 'yii\\di\\Container'
                'type' 
=> '->'
                'args' 
=> [
                    
=> 'app\\controllers\\FilesController'
                    
=> [...]
                ]
            ]
            
23 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/base/Module.php'
                'line' 
=> 648
                
'function' => 'createObject'
                'class' 
=> 'yii\\BaseYii'
                'type' 
=> '::'
                'args' 
=> [
                    
=> 'app\\controllers\\FilesController'
                    
=> [...]
                ]
            ]
            
24 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/base/Module.php'
                'line' 
=> 602
                
'function' => 'createControllerByID'
                'class' 
=> 'yii\\base\\Module'
                'type' 
=> '->'
                'args' 
=> [
                    
=> 'files'
                
]
            ]
            
25 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/base/Module.php'
                'line' 
=> 528
                
'function' => 'createController'
                'class' 
=> 'yii\\base\\Module'
                'type' 
=> '->'
                'args' 
=> [
                    
=> 'index'
                
]
            ]
            
26 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/web/Application.php'
                'line' 
=> 104
                
'function' => 'runAction'
                'class' 
=> 'yii\\base\\Module'
                'type' 
=> '->'
                'args' 
=> [
                    
=> 'files/index'
                    
=> [...]
                ]
            ]
            
27 => [
                
'file' => '/var/www/html/vendor/yiisoft/yii2/base/Application.php'
                'line' 
=> 392
                
'function' => 'handleRequest'
                'class' 
=> 'yii\\web\\Application'
                'type' 
=> '->'
                'args' 
=> [
                    
=> yii\web\Request#4(...)
                
]
            ]
            
28 => [
                
'file' => '/var/www/html/web/index.php'
                'line' 
=> 35
                
'function' => 'run'
                'class' 
=> 'yii\\base\\Application'
                'type' 
=> '->'
                'args' 
=> []
            ]
        ]
        [
Exception:previous] => null
        
[errorInfo] => [
            
=> '08004'
            
=> 1040
            2 
=> 'Too many connections'
        
]
    )
)