Whoops, looks like something went wrong.

1/1 ErrorException in routes.php line 4: Cannot modify header information - headers already sent by (output started at /home/docteurdza/www/app/Http/routes.php:1)

  1. in routes.php line 4
  2. at HandleExceptions->handleError('2', 'Cannot modify header information - headers already sent by (output started at /home/docteurdza/www/app/Http/routes.php:1)', '/home/docteurdza/www/app/Http/routes.php', '4', array('router' => object(Router)))
  3. at header('Access-Control-Allow-Origin: http://www.docteurdaniel.be') in routes.php line 4
  4. at require('/home/docteurdza/www/app/Http/routes.php') in RouteServiceProvider.php line 58
  5. at RouteServiceProvider->App\Providers\{closure}(object(Router))
  6. at call_user_func(object(Closure), object(Router)) in Router.php line 398
  7. at Router->group(array('namespace' => 'App\Http\Controllers', 'middleware' => 'web'), object(Closure)) in RouteServiceProvider.php line 59
  8. at RouteServiceProvider->mapWebRoutes(object(Router)) in RouteServiceProvider.php line 40
  9. at RouteServiceProvider->map(object(Router))
  10. at call_user_func_array(array(object(RouteServiceProvider), 'map'), array(object(Router))) in Container.php line 507
  11. at Container->call(array(object(RouteServiceProvider), 'map')) in RouteServiceProvider.php line 72
  12. at RouteServiceProvider->loadRoutes() in RouteServiceProvider.php line 31
  13. at RouteServiceProvider->boot(object(Router)) in RouteServiceProvider.php line 29
  14. at RouteServiceProvider->boot(object(Router))
  15. at call_user_func_array(array(object(RouteServiceProvider), 'boot'), array(object(Router))) in Container.php line 507
  16. at Container->call(array(object(RouteServiceProvider), 'boot')) in Application.php line 757
  17. at Application->bootProvider(object(RouteServiceProvider)) in Application.php line 740
  18. at Application->Illuminate\Foundation\{closure}(object(RouteServiceProvider), '14')
  19. at array_walk(array(object(EventServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FoundationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ViewServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider)), object(Closure)) in Application.php line 741
  20. at Application->boot() in BootProviders.php line 17
  21. at BootProviders->bootstrap(object(Application)) in Application.php line 203
  22. 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 232
  23. at Kernel->bootstrap() in Kernel.php line 127
  24. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
  25. at Kernel->handle(object(Request)) in index.php line 55