500 : Internal Server Error=>

Whoops, looks like something went wrong.

1/1 ErrorException in PostTenantController.php line 139: Creating default object from empty value

  1. in PostTenantController.php line 139
  2. at Application->Laravel\Lumen\{closure}('2', 'Creating default object from empty value', 'C:\inetpub\wwwroot\api-mall\app\Http\Controllers\PostTenant\PostTenantController.php', '139', array('slug' => 'travel', 'data' => array(), 'params' => array('post_company_id' => '1', 'published' => '1', 'slug' => 'travel'), 'post' => object(stdClass))) in PostTenantController.php line 139
  3. at PostTenantController->detailTenant('travel')
  4. at call_user_func_array(array(object(PostTenantController), 'detailTenant'), array('travel')) in Container.php line 503
  5. at Container->call(array(object(PostTenantController), 'detailTenant'), array('slug' => 'travel')) in Application.php line 1399
  6. at Application->callControllerCallable(array(object(PostTenantController), 'detailTenant'), array('slug' => 'travel')) in Application.php line 1363
  7. at Application->callLumenController(object(PostTenantController), 'detailTenant', array('1', array('uses' => 'App\Http\Controllers\PostTenant\PostTenantController@detailTenant'), array('slug' => 'travel'))) in Application.php line 1335
  8. at Application->callControllerAction(array('1', array('uses' => 'App\Http\Controllers\PostTenant\PostTenantController@detailTenant'), array('slug' => 'travel'))) in Application.php line 1303
  9. at Application->callActionOnArrayBasedRoute(array('1', array('uses' => 'App\Http\Controllers\PostTenant\PostTenantController@detailTenant'), array('slug' => 'travel'))) in Application.php line 1288
  10. at Application->handleFoundRoute(array('1', array('uses' => 'App\Http\Controllers\PostTenant\PostTenantController@detailTenant'), array('slug' => 'travel'))) in Application.php line 1262
  11. at Application->handleDispatcherResponse(array('1', array('uses' => 'App\Http\Controllers\PostTenant\PostTenantController@detailTenant'), array('slug' => 'travel'))) in Application.php line 1211
  12. at Application->Laravel\Lumen\{closure}(object(Request))
  13. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  14. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ConstantMiddleware.php line 16
  15. at ConstantMiddleware->handle(object(Request), object(Closure))
  16. at call_user_func_array(array(object(ConstantMiddleware), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  17. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  19. at Pipeline->then(object(Closure)) in Application.php line 1439
  20. at Application->sendThroughPipeline(array('App\Http\Middleware\ConstantMiddleware'), object(Closure)) in Application.php line 1213
  21. at Application->dispatch(object(Request)) in Application.php line 1153
  22. at Application->run(object(Request)) in index.php line 29