PDOException {#745
#message: "SQLSTATE[08004] [1040] Too many connections"
#code: 1040
#file: "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php"
#line: 47
+errorInfo: null
-trace: array:25 [
0 => array:3 [
"call" => "PDO->__construct()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:47"
"args" => array:4 [
0 => "mysql:host=localhost;dbname=caselaw"
1 => "root"
2 => "phamminhduc5590432"
3 => array:5 [
8 => 0
3 => 2
11 => 0
17 => false
20 => false
]
]
]
1 => array:3 [
"call" => "Illuminate\Database\Connectors\Connector->createConnection()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:20"
"args" => array:3 [
0 => "mysql:host=localhost;dbname=caselaw"
1 => array:10 [
"driver" => "mysql"
"host" => "localhost"
"database" => "caselaw"
"username" => "root"
"password" => "phamminhduc5590432"
"charset" => "utf8"
"collation" => "utf8_unicode_ci"
"prefix" => ""
"strict" => false
"name" => "mysql"
]
2 => array:5 [
8 => 0
3 => 2
11 => 0
17 => false
20 => false
]
]
]
2 => array:3 [
"call" => "Illuminate\Database\Connectors\MySqlConnector->connect()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:58"
"args" => array:1 [
0 => array:10 [
"driver" => "mysql"
"host" => "localhost"
"database" => "caselaw"
"username" => "root"
"password" => "phamminhduc5590432"
"charset" => "utf8"
"collation" => "utf8_unicode_ci"
"prefix" => ""
"strict" => false
"name" => "mysql"
]
]
]
3 => array:3 [
"call" => "Illuminate\Database\Connectors\ConnectionFactory->createSingleConnection()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:47"
"args" => array:1 [
0 => array:10 [
"driver" => "mysql"
"host" => "localhost"
"database" => "caselaw"
"username" => "root"
"password" => "phamminhduc5590432"
"charset" => "utf8"
"collation" => "utf8_unicode_ci"
"prefix" => ""
"strict" => false
"name" => "mysql"
]
]
]
4 => array:3 [
"call" => "Illuminate\Database\Connectors\ConnectionFactory->make()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:177"
"args" => array:2 [
0 => array:10 [
"driver" => "mysql"
"host" => "localhost"
"database" => "caselaw"
"username" => "root"
"password" => "phamminhduc5590432"
"charset" => "utf8"
"collation" => "utf8_unicode_ci"
"prefix" => ""
"strict" => false
"name" => "mysql"
]
1 => "mysql"
]
]
5 => array:3 [
"call" => "Illuminate\Database\DatabaseManager->makeConnection()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:65"
"args" => array:1 [
0 => "mysql"
]
]
6 => array:3 [
"call" => "Illuminate\Database\DatabaseManager->connection()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Session/SessionManager.php:86"
"args" => array:1 [
0 => "mysql"
]
]
7 => array:3 [
"call" => "Illuminate\Session\SessionManager->getDatabaseConnection()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Session/SessionManager.php:70"
"args" => []
]
8 => array:3 [
"call" => "Illuminate\Session\SessionManager->createDatabaseDriver()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Support/Manager.php:89"
"args" => []
]
9 => array:3 [
"call" => "Illuminate\Support\Manager->createDriver()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Support/Manager.php:62"
"args" => array:1 [
0 => "database"
]
]
10 => array:3 [
"call" => "Illuminate\Support\Manager->driver()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:116"
"args" => []
]
11 => array:3 [
"call" => "Illuminate\Session\Middleware\StartSession->getSession()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:101"
"args" => array:1 [
0 => Request {#37
#json: null
#sessionStore: null
#userResolver: null
#routeResolver: null
+attributes: ParameterBag {#39
#parameters: []
}
+request: ParameterBag {#45
#parameters: array:2 [
"_url" => "/van-ban-phap-luat/265084-thong-tu-so-30-2014-tt-btc-ngay-07-03-2014-cua-bo-truong-bo-tai-chinh-sua-doi-muc-thue-suat-thue-xuat-khau-va-ma-hang-doi-voi-mat-hang-bot-cacbonat-canxi-tai-bieu-thue-xuat-khau-van-ban-het-hieu-luc"
"vblq" => "true"
]
}
+query: ParameterBag {#45}
+server: ServerBag {#42
#parameters: array:31 [
"USER" => "www-data"
"HOME" => "/var/www"
"HTTP_HOST" => "caselaw.vn"
"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" => "*/*"
"REDIRECT_STATUS" => "200"
"SERVER_NAME" => "caselaw.vn"
"SERVER_PORT" => "443"
"SERVER_ADDR" => "128.199.180.125"
"REMOTE_PORT" => "8957"
"REMOTE_ADDR" => "18.222.112.116"
"SERVER_SOFTWARE" => "nginx/1.10.3"
"GATEWAY_INTERFACE" => "CGI/1.1"
"HTTPS" => "on"
"REQUEST_SCHEME" => "https"
"SERVER_PROTOCOL" => "HTTP/1.1"
"DOCUMENT_ROOT" => "/var/www/html/caselaw/public"
"DOCUMENT_URI" => "/index.php"
"REQUEST_URI" => "/van-ban-phap-luat/265084-thong-tu-so-30-2014-tt-btc-ngay-07-03-2014-cua-bo-truong-bo-tai-chinh-sua-doi-muc-thue-suat-thue-xuat-khau-va-ma-hang-doi-voi-mat-hang-bot-cacbonat-canxi-tai-bieu-thue-xuat-khau-van-ban-het-hieu-luc?vblq=true"
"SCRIPT_NAME" => "/index.php"
"CONTENT_LENGTH" => ""
"CONTENT_TYPE" => ""
"REQUEST_METHOD" => "GET"
"QUERY_STRING" => "_url=/van-ban-phap-luat/265084-thong-tu-so-30-2014-tt-btc-ngay-07-03-2014-cua-bo-truong-bo-tai-chinh-sua-doi-muc-thue-suat-thue-xuat-khau-va-ma-hang-doi-voi-mat-hang-bot-cacbonat-canxi-tai-bieu-thue-xuat-khau-van-ban-het-hieu-luc&vblq=true"
"SCRIPT_FILENAME" => "/var/www/html/caselaw/public/index.php"
"PATH_INFO" => ""
"FCGI_ROLE" => "RESPONDER"
"PHP_SELF" => "/index.php"
"REQUEST_TIME_FLOAT" => 1743495258.8509
"REQUEST_TIME" => 1743495258
]
}
+files: FileBag {#41
#parameters: []
}
+cookies: ParameterBag {#40
#parameters: []
}
+headers: HeaderBag {#43
#headers: array:6 [
"host" => array:1 [
0 => "caselaw.vn"
]
"accept-encoding" => array:1 [
0 => "gzip, br, zstd, deflate"
]
"user-agent" => array:1 [
0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
]
"accept" => array:1 [
0 => "*/*"
]
"content-length" => array:1 [
0 => ""
]
"content-type" => array:1 [
0 => ""
]
]
#cacheControl: []
}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: null
#requestUri: null
#baseUrl: null
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
}
]
]
12 => array:3 [
"call" => "Illuminate\Session\Middleware\StartSession->startSession()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:56"
"args" => array:1 [
0 => Request {#37}
]
]
13 => array:3 [
"call" => "Illuminate\Session\Middleware\StartSession->handle()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:125"
"args" => array:2 [
0 => Request {#37}
1 => Closure {#739
reflection: """
Closure [ <user, prototype Closure> public method Illuminate\Pipeline\{closure} ] {\n
@@ /var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 113 - 127\n
\n
- Bound Variables [2] {\n
Variable #0 [ $stack ]\n
Variable #1 [ $pipe ]\n
}\n
\n
- Parameters [1] {\n
Parameter #0 [ <required> $passable ]\n
}\n
}\n
"""
}
]
]
14 => array:3 [
"call" => "Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:36"
"args" => array:1 [
0 => Request {#37}
]
]
15 => array:3 [
"call" => "Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:125"
"args" => array:2 [
0 => Request {#37}
1 => Closure {#740
reflection: """
Closure [ <user, prototype Closure> public method Illuminate\Pipeline\{closure} ] {\n
@@ /var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 113 - 127\n
\n
- Bound Variables [2] {\n
Variable #0 [ $stack ]\n
Variable #1 [ $pipe ]\n
}\n
\n
- Parameters [1] {\n
Parameter #0 [ <required> $passable ]\n
}\n
}\n
"""
}
]
]
16 => array:3 [
"call" => "Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:40"
"args" => array:1 [
0 => Request {#37}
]
]
17 => array:3 [
"call" => "Illuminate\Cookie\Middleware\EncryptCookies->handle()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:125"
"args" => array:2 [
0 => Request {#37}
1 => Closure {#741
reflection: """
Closure [ <user, prototype Closure> public method Illuminate\Pipeline\{closure} ] {\n
@@ /var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 113 - 127\n
\n
- Bound Variables [2] {\n
Variable #0 [ $stack ]\n
Variable #1 [ $pipe ]\n
}\n
\n
- Parameters [1] {\n
Parameter #0 [ <required> $passable ]\n
}\n
}\n
"""
}
]
]
18 => array:3 [
"call" => "Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:42"
"args" => array:1 [
0 => Request {#37}
]
]
19 => array:3 [
"call" => "Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:125"
"args" => array:2 [
0 => Request {#37}
1 => Closure {#742
reflection: """
Closure [ <user, prototype Closure> public method Illuminate\Pipeline\{closure} ] {\n
@@ /var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 113 - 127\n
\n
- Bound Variables [2] {\n
Variable #0 [ $stack ]\n
Variable #1 [ $pipe ]\n
}\n
\n
- Parameters [1] {\n
Parameter #0 [ <required> $passable ]\n
}\n
}\n
"""
}
]
]
20 => array:3 [
"call" => "Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()"
"file" => ""
"args" => array:1 [
0 => Request {#37}
]
]
21 => array:3 [
"call" => "call_user_func()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:100"
"args" => array:2 [
0 => Closure {#743
reflection: """
Closure [ <user, prototype Closure> public method Illuminate\Pipeline\{closure} ] {\n
@@ /var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 113 - 127\n
\n
- Bound Variables [2] {\n
Variable #0 [ $stack ]\n
Variable #1 [ $pipe ]\n
}\n
\n
- Parameters [1] {\n
Parameter #0 [ <required> $passable ]\n
}\n
}\n
"""
}
1 => Request {#37}
]
]
22 => array:3 [
"call" => "Illuminate\Pipeline\Pipeline->then()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:115"
"args" => array:1 [
0 => Closure {#35
reflection: """
Closure [ <user, prototype Closure> public method Illuminate\Foundation\Http\{closure} ] {\n
@@ /var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 210 - 215\n
\n
- Parameters [1] {\n
Parameter #0 [ <required> $request ]\n
}\n
}\n
"""
}
]
]
23 => array:3 [
"call" => "Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()"
"file" => "/var/www/html/caselaw/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:84"
"args" => array:1 [
0 => Request {#37}
]
]
24 => array:3 [
"call" => "Illuminate\Foundation\Http\Kernel->handle()"
"file" => "/var/www/html/caselaw/public/index.php:53"
"args" => array:1 [
0 => Request {#37}
]
]
]
}