Whoops, looks like something went wrong.

2/2 QueryException in Connection.php line 651: SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared (SQL: select * from `SitePreferences` where `SitePreferences`.`id` = 1 limit 1)

  1. in Connection.php line 651
  2. at Connection->runQueryCallback('select * from `SitePreferences` where `SitePreferences`.`id` = ? limit 1', array('1'), object(Closure)) in Connection.php line 611
  3. at Connection->run('select * from `SitePreferences` where `SitePreferences`.`id` = ? limit 1', array('1'), object(Closure)) in Connection.php line 324
  4. at Connection->select('select * from `SitePreferences` where `SitePreferences`.`id` = ? limit 1', array('1'), true) in Builder.php line 1431
  5. at Builder->runSelect() in Builder.php line 1408
  6. at Builder->get(array('*')) in Builder.php line 477
  7. at Builder->getModels(array('*')) in Builder.php line 234
  8. at Builder->get(array('*')) in Builder.php line 206
  9. at Builder->first(array('*')) in Builder.php line 87
  10. at Builder->find('1')
  11. at call_user_func_array(array(object(Builder), 'find'), array('1')) in Model.php line 3437
  12. at Model->__call('find', array('1'))
  13. at SitePreferences->find('1')
  14. at call_user_func_array(array(object(SitePreferences), 'find'), array('1')) in Model.php line 3451
  15. at Model::__callStatic('find', array('1')) in routes.php line 8
  16. at SitePreferences::find('1') in routes.php line 8
  17. at RouteServiceProvider->{closure}(object(Router))
  18. at call_user_func(object(Closure), object(Router)) in Router.php line 354
  19. at Router->group(array('domain' => '{area}.jnmte.com'), object(Closure)) in Facade.php line 219
  20. at Facade::__callStatic('group', array(array('domain' => '{area}.jnmte.com'), object(Closure))) in routes.php line 18
  21. at Route::group(array('domain' => '{area}.jnmte.com'), object(Closure)) in routes.php line 18
  22. at require('/www/jnmte_new/app/Http/routes.php') in RouteServiceProvider.php line 41
  23. at RouteServiceProvider->App\Providers\{closure}(object(Router))
  24. at call_user_func(object(Closure), object(Router)) in Router.php line 354
  25. at Router->group(array('namespace' => 'App\Http\Controllers'), object(Closure)) in RouteServiceProvider.php line 42
  26. at RouteServiceProvider->map(object(Router))
  27. at call_user_func_array(array(object(RouteServiceProvider), 'map'), array(object(Router))) in Container.php line 507
  28. at Container->call(array(object(RouteServiceProvider), 'map')) in RouteServiceProvider.php line 72
  29. at RouteServiceProvider->loadRoutes() in RouteServiceProvider.php line 31
  30. at RouteServiceProvider->boot(object(Router)) in RouteServiceProvider.php line 29
  31. at RouteServiceProvider->boot(object(Router))
  32. at call_user_func_array(array(object(RouteServiceProvider), 'boot'), array(object(Router))) in Container.php line 507
  33. at Container->call(array(object(RouteServiceProvider), 'boot')) in Application.php line 734
  34. at Application->bootProvider(object(RouteServiceProvider)) in Application.php line 717
  35. at Application->Illuminate\Foundation\{closure}(object(RouteServiceProvider), '17')
  36. at array_walk(array(object(EventServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(ControllerServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FormRequestServiceProvider), object(FoundationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ValidationServiceProvider), object(ViewServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(ExcelServiceProvider)), object(Closure)) in Application.php line 718
  37. at Application->boot() in BootProviders.php line 17
  38. at BootProviders->bootstrap(object(Application)) in Application.php line 203
  39. at Application->bootstrapWith(array('Illuminate\Foundation\Bootstrap\DetectEnvironment', 'Illuminate\Foundation\Bootstrap\LoadConfiguration', 'Illuminate\Foundation\Bootstrap\ConfigureLogging', 'Illuminate\Foundation\Bootstrap\HandleExceptions', 'Illuminate\Foundation\Bootstrap\RegisterFacades', 'Illuminate\Foundation\Bootstrap\RegisterProviders', 'Illuminate\Foundation\Bootstrap\BootProviders')) in Kernel.php line 222
  40. at Kernel->bootstrap() in Kernel.php line 117
  41. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  42. at Kernel->handle(object(Request)) in index.php line 54

1/2 PDOException in Connection.php line 321: SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared

  1. in Connection.php line 321
  2. at PDOStatement->execute(array('1')) in Connection.php line 321
  3. at Connection->Illuminate\Database\{closure}(object(MySqlConnection), 'select * from `SitePreferences` where `SitePreferences`.`id` = ? limit 1', array('1')) in Connection.php line 644
  4. at Connection->runQueryCallback('select * from `SitePreferences` where `SitePreferences`.`id` = ? limit 1', array('1'), object(Closure)) in Connection.php line 611
  5. at Connection->run('select * from `SitePreferences` where `SitePreferences`.`id` = ? limit 1', array('1'), object(Closure)) in Connection.php line 324
  6. at Connection->select('select * from `SitePreferences` where `SitePreferences`.`id` = ? limit 1', array('1'), true) in Builder.php line 1431
  7. at Builder->runSelect() in Builder.php line 1408
  8. at Builder->get(array('*')) in Builder.php line 477
  9. at Builder->getModels(array('*')) in Builder.php line 234
  10. at Builder->get(array('*')) in Builder.php line 206
  11. at Builder->first(array('*')) in Builder.php line 87
  12. at Builder->find('1')
  13. at call_user_func_array(array(object(Builder), 'find'), array('1')) in Model.php line 3437
  14. at Model->__call('find', array('1'))
  15. at SitePreferences->find('1')
  16. at call_user_func_array(array(object(SitePreferences), 'find'), array('1')) in Model.php line 3451
  17. at Model::__callStatic('find', array('1')) in routes.php line 8
  18. at SitePreferences::find('1') in routes.php line 8
  19. at RouteServiceProvider->{closure}(object(Router))
  20. at call_user_func(object(Closure), object(Router)) in Router.php line 354
  21. at Router->group(array('domain' => '{area}.jnmte.com'), object(Closure)) in Facade.php line 219
  22. at Facade::__callStatic('group', array(array('domain' => '{area}.jnmte.com'), object(Closure))) in routes.php line 18
  23. at Route::group(array('domain' => '{area}.jnmte.com'), object(Closure)) in routes.php line 18
  24. at require('/www/jnmte_new/app/Http/routes.php') in RouteServiceProvider.php line 41
  25. at RouteServiceProvider->App\Providers\{closure}(object(Router))
  26. at call_user_func(object(Closure), object(Router)) in Router.php line 354
  27. at Router->group(array('namespace' => 'App\Http\Controllers'), object(Closure)) in RouteServiceProvider.php line 42
  28. at RouteServiceProvider->map(object(Router))
  29. at call_user_func_array(array(object(RouteServiceProvider), 'map'), array(object(Router))) in Container.php line 507
  30. at Container->call(array(object(RouteServiceProvider), 'map')) in RouteServiceProvider.php line 72
  31. at RouteServiceProvider->loadRoutes() in RouteServiceProvider.php line 31
  32. at RouteServiceProvider->boot(object(Router)) in RouteServiceProvider.php line 29
  33. at RouteServiceProvider->boot(object(Router))
  34. at call_user_func_array(array(object(RouteServiceProvider), 'boot'), array(object(Router))) in Container.php line 507
  35. at Container->call(array(object(RouteServiceProvider), 'boot')) in Application.php line 734
  36. at Application->bootProvider(object(RouteServiceProvider)) in Application.php line 717
  37. at Application->Illuminate\Foundation\{closure}(object(RouteServiceProvider), '17')
  38. at array_walk(array(object(EventServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(ControllerServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FormRequestServiceProvider), object(FoundationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ValidationServiceProvider), object(ViewServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(ExcelServiceProvider)), object(Closure)) in Application.php line 718
  39. at Application->boot() in BootProviders.php line 17
  40. at BootProviders->bootstrap(object(Application)) in Application.php line 203
  41. at Application->bootstrapWith(array('Illuminate\Foundation\Bootstrap\DetectEnvironment', 'Illuminate\Foundation\Bootstrap\LoadConfiguration', 'Illuminate\Foundation\Bootstrap\ConfigureLogging', 'Illuminate\Foundation\Bootstrap\HandleExceptions', 'Illuminate\Foundation\Bootstrap\RegisterFacades', 'Illuminate\Foundation\Bootstrap\RegisterProviders', 'Illuminate\Foundation\Bootstrap\BootProviders')) in Kernel.php line 222
  42. at Kernel->bootstrap() in Kernel.php line 117
  43. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  44. at Kernel->handle(object(Request)) in index.php line 54