Whoops, looks like something went wrong.1

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

  1. in Connector.php line 55
  2. at PDO->__construct('mysql:host=localhost;port=3306;dbname=sqlfeikaiwa', 'root', '3mRI]F[UFq4t!j89', array('0', '2', '0', false, false)) in Connector.php line 55
  3. at Connector->createConnection('mysql:host=localhost;port=3306;dbname=sqlfeikaiwa', array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'sqlfeikaiwa', 'username' => 'root', 'password' => '3mRI]F[UFq4t!j89', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => 'o2o_', 'strict' => false, 'engine' => null, 'name' => 'mysql'), array('0', '2', '0', false, false)) in MySqlConnector.php line 24
  4. at MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'sqlfeikaiwa', 'username' => 'root', 'password' => '3mRI]F[UFq4t!j89', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => 'o2o_', 'strict' => false, 'engine' => null, 'name' => 'mysql')) in compiled.php line 11846
  5. at ConnectionFactory->Illuminate\Database\Connectors\{closure}()
  6. at call_user_func(object(Closure)) in Connection.php line 924
  7. at Connection->getPdo() in Connection.php line 792
  8. at Connection->reconnectIfMissingConnection() in Connection.php line 677
  9. at Connection->run('select `name`, `id`, `recommend`, `icon`, `char` from `o2o_brands` where (`status` = ?) and `class_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by `sort` asc, `id` desc', array('1', '1058', '1072', '1073', '1074', '1075', '1076', '1080', '1145', '1146', '1147', '1148', '1161', '1077', '1158', '1159', '1162', '1110'), object(Closure)) in Connection.php line 349
  10. at Connection->select('select `name`, `id`, `recommend`, `icon`, `char` from `o2o_brands` where (`status` = ?) and `class_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by `sort` asc, `id` desc', array('1', '1058', '1072', '1073', '1074', '1075', '1076', '1080', '1145', '1146', '1147', '1148', '1161', '1077', '1158', '1159', '1162', '1110'), true) in Builder.php line 1610
  11. at Builder->runSelect() in Builder.php line 1596
  12. at Builder->get(array('name', 'id', 'recommend', 'icon', 'char')) in Builder.php line 625
  13. at Builder->getModels(array('name', 'id', 'recommend', 'icon', 'char')) in Builder.php line 316
  14. at Builder->get(array('name', 'id', 'recommend', 'icon', 'char')) in BaseController.php line 44
  15. at BaseController->Modules\Shop\Http\Controllers\{closure}() in Repository.php line 292
  16. at Repository->remember('brand', '30', object(Closure))
  17. at call_user_func_array(array(object(Repository), 'remember'), array('brand', '30', object(Closure))) in CacheManager.php line 296
  18. at CacheManager->__call('remember', array('brand', '30', object(Closure))) in compiled.php line 6330
  19. at CacheManager->remember('brand', '30', object(Closure)) in compiled.php line 6330
  20. at Facade::__callStatic('remember', array('brand', '30', object(Closure))) in BaseController.php line 45
  21. at Cache::remember('brand', '30', object(Closure)) in BaseController.php line 45
  22. at BaseController->Modules\Shop\Http\Controllers\{closure}(object(View))
  23. at call_user_func_array(object(Closure), array(object(View))) in compiled.php line 10135
  24. at Dispatcher->fire('composing: errors.error', array(object(View))) in compiled.php line 14726
  25. at Factory->callComposer(object(View)) in compiled.php line 15184
  26. at View->renderContents() in compiled.php line 15169
  27. at View->render() in compiled.php line 16416
  28. at Response->setContent(object(View)) in compiled.php line 15912
  29. at Response->__construct(object(View)) in compiled.php line 8374
  30. at Router->prepareResponse(object(Request), object(View)) in compiled.php line 9467
  31. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  32. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  33. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  34. at call_user_func(object(Closure), object(Request)) in compiled.php line 9949
  35. at Pipeline->then(object(Closure)) in compiled.php line 9468
  36. at ControllerDispatcher->callWithinStack(object(ForumController), object(Route), object(Request), 'detail') in compiled.php line 9455
  37. at ControllerDispatcher->dispatch(object(Route), object(Request), 'Modules\Shop\Http\Controllers\ForumController', 'detail') in compiled.php line 8525
  38. at Route->runController(object(Request)) in compiled.php line 8512
  39. at Route->run(object(Request)) in compiled.php line 8226
  40. at Router->Illuminate\Routing\{closure}(object(Request))
  41. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  42. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Shop.php line 43
  43. at Shop->handle(object(Request), object(Closure))
  44. at call_user_func_array(array(object(Shop), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9964
  45. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  46. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  47. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckSite.php line 20
  48. at CheckSite->handle(object(Request), object(Closure))
  49. at call_user_func_array(array(object(CheckSite), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9964
  50. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  51. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  52. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Init.php line 21
  53. at Init->handle(object(Request), object(Closure))
  54. at call_user_func_array(array(object(Init), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9964
  55. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  56. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  57. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13214
  58. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  59. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9964
  60. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  61. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  62. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13475
  63. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  64. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9964
  65. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  66. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  67. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 11965
  68. at StartSession->handle(object(Request), object(Closure))
  69. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9964
  70. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  71. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  72. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  73. at call_user_func(object(Closure), object(Request)) in compiled.php line 9949
  74. at Pipeline->then(object(Closure)) in compiled.php line 8227
  75. at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 8218
  76. at Router->dispatchToRoute(object(Request)) in compiled.php line 8208
  77. at Router->dispatch(object(Request)) in compiled.php line 2419
  78. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  79. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  80. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3286
  81. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  82. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9964
  83. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  84. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  85. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  86. at call_user_func(object(Closure), object(Request)) in compiled.php line 9949
  87. at Pipeline->then(object(Closure)) in compiled.php line 2366
  88. at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2350
  89. at Kernel->handle(object(Request)) in index.php line 60