Whoops, looks like something went wrong.

1/1 ErrorException in RegionCities.php line 155: Object of class stdClass could not be converted to int

  1. in RegionCities.php line 155
  2. at HandleExceptions->handleError('8', 'Object of class stdClass could not be converted to int', '/home/thailandguide24/public_html/app/RegionCities.php', '155', array('id' => '45', 'defaultCategoryData' => object(stdClass), 'categoryData' => '', 'choosenLanguage' => '_cn', 'enable' => 'enable_for_cn')) in RegionCities.php line 155
  3. at RegionCities::getDefaultCategory('45') in PublicRegionActivityController.php line 47
  4. at PublicRegionActivityController->getCityactivity('taiguo')
  5. at call_user_func_array(array(object(PublicRegionActivityController), 'getCityactivity'), array('cityslug' => 'taiguo')) in Controller.php line 80
  6. at Controller->callAction('getCityactivity', array('cityslug' => 'taiguo')) in routes.php line 858
  7. at RouteServiceProvider->{closure}('taiguo', 'huodong')
  8. at call_user_func_array(object(Closure), array('cityslug' => 'taiguo', 'categoryslug' => 'huodong')) in Route.php line 158
  9. at Route->runCallable(object(Request)) in Route.php line 137
  10. at Route->run(object(Request)) in Router.php line 724
  11. at Router->Illuminate\Routing\{closure}(object(Request))
  12. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  13. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 64
  14. at VerifyCsrfToken->handle(object(Request), object(Closure))
  15. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  16. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  17. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  18. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  19. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  20. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  21. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  22. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  23. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
  24. at StartSession->handle(object(Request), object(Closure))
  25. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  26. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  27. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  28. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  29. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  30. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  31. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  32. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  33. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
  34. at EncryptCookies->handle(object(Request), object(Closure))
  35. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  36. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  37. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  38. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  39. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  40. at Pipeline->then(object(Closure)) in Router.php line 726
  41. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
  42. at Router->dispatchToRoute(object(Request)) in Router.php line 675
  43. at Router->dispatch(object(Request)) in Kernel.php line 246
  44. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  45. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  46. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  47. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  48. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  49. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  50. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  51. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  52. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  53. at Pipeline->then(object(Closure)) in Kernel.php line 132
  54. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
  55. at Kernel->handle(object(Request)) in index.php line 53