string(43) "SQLSTATE[08004] [1040] Too many connections" string(10276) "#0 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(47): PDO->__construct('mysql:host=hiqd...', 'root', 'root123', Array) #1 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(20): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=hiqd...', Array, Array) #2 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(58): Illuminate\Database\Connectors\MySqlConnector->connect(Array) #3 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(47): Illuminate\Database\Connectors\ConnectionFactory->createSingleConnection(Array) #4 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(177): Illuminate\Database\Connectors\ConnectionFactory->make(Array, 'hiqdb_dump') #5 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(65): Illuminate\Database\DatabaseManager->makeConnection('hiqdb_dump') #6 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(3146): Illuminate\Database\DatabaseManager->connection('hiqdb_dump') #7 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(3112): Illuminate\Database\Eloquent\Model::resolveConnection('hiqdb_dump') #8 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1887): Illuminate\Database\Eloquent\Model->getConnection() #9 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1828): Illuminate\Database\Eloquent\Model->newBaseQueryBuilder() #10 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1802): Illuminate\Database\Eloquent\Model->newQueryWithoutScopes() #11 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(3360): Illuminate\Database\Eloquent\Model->newQuery() #12 /home/thejasvi/release/vayu/public/jal/app/Models/HotelsTracking.php(21): Illuminate\Database\Eloquent\Model->__call('where', Array) #13 /home/thejasvi/release/vayu/public/jal/app/Models/HotelsTracking.php(21): App\Models\HotelsTracking->where('session_id', '=', 'o4qqk4baa9ogosf...') #14 /home/thejasvi/release/vayu/public/jal/app/Models/HotelsTracking.php(31): App\Models\HotelsTracking->sessionCount('o4qqk4baa9ogosf...') #15 /home/thejasvi/release/vayu/public/jal/app/Http/Controllers/HotelDetailFormController.php(442): App\Models\HotelsTracking::hotelTrack('D') #16 [internal function]: App\Http\Controllers\HotelDetailFormController->index('Bharat-Hotel-Ko...', '5802') #17 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(246): call_user_func_array(Array, Array) #18 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(162): Illuminate\Routing\Controller->callAction('index', Array) #19 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(107): Illuminate\Routing\ControllerDispatcher->call(Object(App\Http\Controllers\HotelDetailFormController), Object(Illuminate\Routing\Route), 'index') #20 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) #21 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #22 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #23 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(101): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #24 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(108): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #25 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(67): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(App\Http\Controllers\HotelDetailFormController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'index') #26 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Routing/Route.php(204): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'App\\Http\\Contro...', 'index') #27 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Routing/Route.php(134): Illuminate\Routing\Route->runWithCustomDispatcher(Object(Illuminate\Http\Request)) #28 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Routing/Router.php(701): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request)) #29 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) #30 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #31 /home/thejasvi/release/vayu/public/jal/app/Http/Middleware/TrackReferrer.php(43): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #32 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): App\Http\Middleware\TrackReferrer->handle(Object(Illuminate\Http\Request), Object(Closure)) #33 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #34 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(101): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #35 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #36 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Routing/Router.php(670): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request)) #37 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Routing/Router.php(628): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #38 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(214): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #39 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request)) #40 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #41 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(55): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #42 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure)) #43 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(61): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #44 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure)) #45 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #46 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure)) #47 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(40): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #48 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure)) #49 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(42): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #50 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure)) #51 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #52 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(101): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #53 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(115): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #54 /home/thejasvi/release/vayu/public/jal/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(84): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) #55 /home/thejasvi/release/vayu/public/jal/public/index.php(78): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #56 {main}" index

Exception thrown when handling an exception (ErrorException: Cannot modify header information - headers already sent by (output started at /home/thejasvi/release/vayu/public/jal/app/Exceptions/Handler.php:52))

1/1 PDOException in Connector.php line 47: SQLSTATE[08004] [1040] Too many connections

  1. in Connector.php line 47
  2. at PDO->__construct('mysql:host=hiqdb_dump;dbname=data_tracking', 'root', 'root123', array('2', '0', '0', false, '2', true)) in Connector.php line 47
  3. at Connector->createConnection('mysql:host=hiqdb_dump;dbname=data_tracking', array('driver' => 'mysql', 'host' => 'hiqdb_dump', 'database' => 'data_tracking', 'username' => 'root', 'password' => 'root123', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'options' => array('2', true), 'name' => 'hiqdb_dump'), array('2', '0', '0', false, '2', true)) in MySqlConnector.php line 20
  4. at MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'hiqdb_dump', 'database' => 'data_tracking', 'username' => 'root', 'password' => 'root123', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'options' => array('2', true), 'name' => 'hiqdb_dump')) in ConnectionFactory.php line 58
  5. at ConnectionFactory->createSingleConnection(array('driver' => 'mysql', 'host' => 'hiqdb_dump', 'database' => 'data_tracking', 'username' => 'root', 'password' => 'root123', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'options' => array('2', true), 'name' => 'hiqdb_dump')) in ConnectionFactory.php line 47
  6. at ConnectionFactory->make(array('driver' => 'mysql', 'host' => 'hiqdb_dump', 'database' => 'data_tracking', 'username' => 'root', 'password' => 'root123', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'options' => array('2', true)), 'hiqdb_dump') in DatabaseManager.php line 177
  7. at DatabaseManager->makeConnection('hiqdb_dump') in DatabaseManager.php line 65
  8. at DatabaseManager->connection('hiqdb_dump') in Model.php line 3146
  9. at Model::resolveConnection('hiqdb_dump') in Model.php line 3112
  10. at Model->getConnection() in Model.php line 1887
  11. at Model->newBaseQueryBuilder() in Model.php line 1828
  12. at Model->newQueryWithoutScopes() in Model.php line 1802
  13. at Model->newQuery() in Model.php line 3360
  14. at Model->__call('where', array('session_id', '=', 'o4qqk4baa9ogosfpi6udenm7l7')) in HotelsTracking.php line 21
  15. at HotelsTracking->where('session_id', '=', 'o4qqk4baa9ogosfpi6udenm7l7') in HotelsTracking.php line 21
  16. at HotelsTracking->sessionCount('o4qqk4baa9ogosfpi6udenm7l7') in HotelsTracking.php line 31
  17. at HotelsTracking::hotelTrack('D') in HotelDetailFormController.php line 442
  18. at HotelDetailFormController->index('Bharat-Hotel-Kochi-Cochin', '5802')
  19. at call_user_func_array(array(object(HotelDetailFormController), 'index'), array('resortUrlSlug' => 'Bharat-Hotel-Kochi-Cochin', 'resortId' => '5802')) in Controller.php line 246
  20. at Controller->callAction('index', array('resortUrlSlug' => 'Bharat-Hotel-Kochi-Cochin', 'resortId' => '5802')) in ControllerDispatcher.php line 162
  21. at ControllerDispatcher->call(object(HotelDetailFormController), object(Route), 'index') in ControllerDispatcher.php line 107
  22. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  23. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
  24. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  26. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 108
  27. at ControllerDispatcher->callWithinStack(object(HotelDetailFormController), object(Route), object(Request), 'index') in ControllerDispatcher.php line 67
  28. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\HotelDetailFormController', 'index') in Route.php line 204
  29. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  30. at Route->run(object(Request)) in Router.php line 701
  31. at Router->Illuminate\Routing\{closure}(object(Request))
  32. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
  33. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in TrackReferrer.php line 43
  34. at TrackReferrer->handle(object(Request), object(Closure)) in Pipeline.php line 125
  35. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  36. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  37. at Pipeline->then(object(Closure)) in Router.php line 703
  38. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 670
  39. at Router->dispatchToRoute(object(Request)) in Router.php line 628
  40. at Router->dispatch(object(Request)) in Kernel.php line 214
  41. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  42. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
  43. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 55
  44. at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
  45. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 61
  46. at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
  47. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 36
  48. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 125
  49. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 40
  50. at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 125
  51. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
  52. at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 125
  53. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  54. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  55. at Pipeline->then(object(Closure)) in Kernel.php line 115
  56. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 84
  57. at Kernel->handle(object(Request)) in index.php line 78