InvalidStateException

Cannot set HTTP code after HTTP headers have been sent (output started at /data/www/www.vyveska.sk/public_html/widget.vyveska.sk/app/presenters/RegisterPresenter.php:1).

Source file

Call stack

  1. Web/HttpResponse.php (158) source   NHttpResponse-> setCode (arguments )

  2. Responses/RedirectingResponse.php (68) source   NHttpResponse-> redirect (arguments )

  3. Application/Application.php (152) source   NRedirectingResponse-> send ()

  4. app/bootstrap.php (63) source   NApplication-> run ()

    Line 56:        'presenter' => 'Homepage',
    Line 57:        'action' => 'default',
    Line 58:        'id' => NULL,
    Line 59:    ));
    Line 60:    
    Line 61:    
    Line 62:    // Step 5: Run the application!
    Line 63:    $application->run();
    Line 64:    
    
  5. public/index.php (13) source   require (arguments )

Nette Application

Environment

HTTP request

HTTP response