Whoops, looks like something went wrong.

1/1 ErrorException in MySqlConnector.php line 56: PDOStatement::execute(): MySQL server has gone away

  1. in MySqlConnector.php line 56
  2. at HandleExceptions->handleError('2', 'PDOStatement::execute(): MySQL server has gone away', '/home/cpvidhyaa/public_html/new/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php', '56', array('config' => array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'cpvidhya_vidhyaa', 'username' => 'cpvidhya_vidhyaa', 'password' => 'ctyS)bbeeTGL', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql'), 'dsn' => 'mysql:host=localhost;dbname=cpvidhya_vidhyaa', 'options' => array('0', '2', '0', false, false), 'connection' => object(PDO), 'collation' => 'utf8_unicode_ci', 'charset' => 'utf8', 'names' => 'set names 'utf8' collate 'utf8_unicode_ci''))
  3. at PDOStatement->execute() in MySqlConnector.php line 56
  4. at MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'cpvidhya_vidhyaa', 'username' => 'cpvidhya_vidhyaa', 'password' => 'ctyS)bbeeTGL', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 60
  5. at ConnectionFactory->createSingleConnection(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'cpvidhya_vidhyaa', 'username' => 'cpvidhya_vidhyaa', 'password' => 'ctyS)bbeeTGL', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 49
  6. at ConnectionFactory->make(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'cpvidhya_vidhyaa', 'username' => 'cpvidhya_vidhyaa', 'password' => 'ctyS)bbeeTGL', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql'), 'mysql') in DatabaseManager.php line 175
  7. at DatabaseManager->makeConnection('mysql') in DatabaseManager.php line 67
  8. at DatabaseManager->connection('mysql') in Model.php line 3245
  9. at Model::resolveConnection(null) in Model.php line 3211
  10. at Model->getConnection() in Model.php line 1914
  11. at Model->newBaseQueryBuilder() in Model.php line 1857
  12. at Model->newQueryWithoutScopes() in Model.php line 1831
  13. at Model->newQuery() in Model.php line 3457
  14. at Model->__call('whereRaw', array('user_id=?', array('1'))) in User.php line 217
  15. at User->get(array('user_id' => '1'))
  16. at call_user_func_array(array(object(User), 'get'), array(array('user_id' => '1'))) in Model.php line 3473
  17. at Model::__callStatic('get', array(array('user_id' => '1'))) in Controller.php line 42
  18. at Controller->__construct() in BaseController.php line 54
  19. at BaseController->__construct() in NormalCourseController.php line 31
  20. at NormalCourseController->__construct()
  21. at ReflectionClass->newInstanceArgs(array()) in Container.php line 776
  22. at Container->build('App\Http\Controllers\Frontend\NormalCourseController', array()) in Container.php line 627
  23. at Container->make('App\Http\Controllers\Frontend\NormalCourseController', array()) in Application.php line 674
  24. at Application->make('App\Http\Controllers\Frontend\NormalCourseController') in ControllerDispatcher.php line 85
  25. at ControllerDispatcher->makeController('App\Http\Controllers\Frontend\NormalCourseController') in ControllerDispatcher.php line 57
  26. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Frontend\NormalCourseController', 'getIndex') in Route.php line 203
  27. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  28. at Route->run(object(Request)) in Router.php line 704
  29. at Router->Illuminate\Routing\{closure}(object(Request))
  30. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  31. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  32. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  33. at Pipeline->then(object(Closure)) in Router.php line 706
  34. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 670
  35. at Router->dispatchToRoute(object(Request)) in Router.php line 631
  36. at Router->dispatch(object(Request)) in Kernel.php line 236
  37. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  38. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  39. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AfterMiddleware.php line 18
  40. at AfterMiddleware->handle(object(Request), object(Closure))
  41. at call_user_func_array(array(object(AfterMiddleware), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  42. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 50
  43. at VerifyCsrfToken->handle(object(Request), object(Closure))
  44. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  45. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  46. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  47. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  48. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
  49. at StartSession->handle(object(Request), object(Closure))
  50. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  51. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  52. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  53. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  54. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
  55. at EncryptCookies->handle(object(Request), object(Closure))
  56. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  57. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
  58. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  59. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  60. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  61. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  62. at Pipeline->then(object(Closure)) in Kernel.php line 122
  63. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  64. at Kernel->handle(object(Request)) in index.php line 53
  65. at require_once('/home/cpvidhyaa/public_html/new/public/index.php') in index.php line 21