Whoops \ Exception \ ErrorException (E_WARNING)
Cannot modify header information - headers already sent by (output started at /usr/www/users/deutscng/rink-legal.de/site/plugins/validateForm.php:1) Whoops\Exception\ErrorException thrown with message "Cannot modify header information - headers already sent by (output started at /usr/www/users/deutscng/rink-legal.de/site/plugins/validateForm.php:1)" Stacktrace: #7 Whoops\Exception\ErrorException in /usr/www/users/deutscng/rink-legal.de/kirby/vendor/getkirby/toolkit/lib/header.php:132 #6 header in /usr/www/users/deutscng/rink-legal.de/kirby/vendor/getkirby/toolkit/lib/header.php:132 #5 Header:status in /usr/www/users/deutscng/rink-legal.de/kirby/vendor/getkirby/toolkit/lib/header.php:193 #4 Header:notfound in /usr/www/users/deutscng/rink-legal.de/kirby/core/page.php:1155 #3 PageAbstract:headers in /usr/www/users/deutscng/rink-legal.de/kirby/kirby.php:626 #2 Kirby:render in /usr/www/users/deutscng/rink-legal.de/kirby/kirby/component/response.php:29 #1 Kirby\Component\Response:make in /usr/www/users/deutscng/rink-legal.de/kirby/kirby.php:751 #0 Kirby:launch in /usr/www/users/deutscng/rink-legal.de/index.php:16
Stack frames (8)
7
Whoops
\
Exception
\
ErrorException
/
vendor
/
getkirby
/
toolkit
/
lib
/
header.php
132
6
header
/
vendor
/
getkirby
/
toolkit
/
lib
/
header.php
132
5
Header
status
/
vendor
/
getkirby
/
toolkit
/
lib
/
header.php
193
4
Header
notfound
/
core
/
page.php
1155
3
PageAbstract
headers
/
kirby.php
626
2
Kirby
render
/
kirby
/
component
/
response.php
29
1
Kirby
\
Component
\
Response
make
/
kirby.php
751
0
Kirby
launch
/
usr
/
www
/
users
/
deutscng
/
rink-legal.de
/
index.php
16
/
usr
/
www
/
users
/
deutscng
/
rink-legal.de
/
kirby
/
vendor
/
getkirby
/
toolkit
/
lib
/
header.php
   */
  public static function status($code, $send = true) {
 
    $codes = static::$codes;
    $protocol = isset($_SERVER['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0';
 
    // allow full control over code and message
    if(is_string($code) && preg_match('/^\d{3} \w.+$/', $code) === 1) {
      $message = substr(rtrim($code), 4);
      $code = substr($code, 0, 3);
    } else {
      $code = !array_key_exists('_' . $code, $codes) ? 500 : $code;
      $message = isset($codes['_' . $code]) ? $codes['_' . $code] : 'Something went wrong';
    }
 
    $header = $protocol . ' ' . $code . ' ' . $message;
    if(!$send) return $header;
 
    // try to send the header
    header($header);
 
  }
 
  /**
   * Sends a 200 header
   * 
   * @param boolean $send
   * @return string|null
   */
  public static function success($send = true) {
    return static::status(200, $send);
  }
 
  /**
   * Sends a 201 header
   * 
   * @param boolean $send
   * @return string|null
   */
  public static function created($send = true) {
/
usr
/
www
/
users
/
deutscng
/
rink-legal.de
/
kirby
/
vendor
/
getkirby
/
toolkit
/
lib
/
header.php
   */
  public static function status($code, $send = true) {
 
    $codes = static::$codes;
    $protocol = isset($_SERVER['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0';
 
    // allow full control over code and message
    if(is_string($code) && preg_match('/^\d{3} \w.+$/', $code) === 1) {
      $message = substr(rtrim($code), 4);
      $code = substr($code, 0, 3);
    } else {
      $code = !array_key_exists('_' . $code, $codes) ? 500 : $code;
      $message = isset($codes['_' . $code]) ? $codes['_' . $code] : 'Something went wrong';
    }
 
    $header = $protocol . ' ' . $code . ' ' . $message;
    if(!$send) return $header;
 
    // try to send the header
    header($header);
 
  }
 
  /**
   * Sends a 200 header
   * 
   * @param boolean $send
   * @return string|null
   */
  public static function success($send = true) {
    return static::status(200, $send);
  }
 
  /**
   * Sends a 201 header
   * 
   * @param boolean $send
   * @return string|null
   */
  public static function created($send = true) {
/
usr
/
www
/
users
/
deutscng
/
rink-legal.de
/
kirby
/
vendor
/
getkirby
/
toolkit
/
lib
/
header.php
  }
 
  /**
   * Sends a 403 header
   * 
   * @param boolean $send
   * @return string|null
   */
  public static function forbidden($send = true) {
    return static::status(403, $send);
  }
 
  /**
   * Sends a 404 header
   * 
   * @param boolean $send
   * @return string|null
   */
  public static function notfound($send = true) {
    return static::status(404, $send);
  }
 
  /**
   * Sends a 404 header
   * 
   * @param boolean $send
   * @return string|null
   */
  public static function missing($send = true) {
    return static::status(404, $send);
  }
 
  /**
   * Sends a 410 header
   *
   * @param boolean $send
   * @return string|null
   */
  public static function gone($send = true) {
    return static::status(410, $send);
/
usr
/
www
/
users
/
deutscng
/
rink-legal.de
/
kirby
/
core
/
page.php
 
  /**
   * Sends all appropriate headers for this page
   * Can be configured with the headers config array,
   * which should contain all header definitions for each template
   */
  public function headers() {
 
    $template = $this->template();
    if(isset($this->kirby->options['headers'][$template])) {
      $headers = $this->kirby->options['headers'][$template];
 
      if(is_numeric($headers)) {
        header::status($headers);
      } else if(is_callable($headers)) {
        call($headers, $this);
      }
 
    } else if($this->isErrorPage()) {
      header::notfound();
    }
 
    // send the header of the representation
    if($representation = $this->representation()) {
      if($mime = f::extensionToMime($representation)) header::type($mime);
    }
 
  }
 
  /**
   * Returns the root for the content file
   *
   * @return string
   */
  public function textfile($template = null) {
    if(is_null($template)) $template = $this->intendedTemplate();
    return textfile($this->diruri(), $template);
  }
 
  /**
/
usr
/
www
/
users
/
deutscng
/
rink-legal.de
/
kirby
/
kirby.php
    } else {
      return $this->cache = cache::setup('mock');
    }
 
  }
 
  /**
   * Renders the HTML for the page or fetches it from the cache
   *
   * @param Page $page
   * @param boolean $headers
   * @return string
   */
  public function render(Page $page, $data = array(), $headers = true) {
 
    // register the currently rendered page
    $this->page = $page;
 
    // send all headers for the page
    if($headers) $page->headers();
 
    // configure pagination urls
    $query  = (string)$this->request()->query();
    $params = (string)$this->request()->params() . r($query, '?') . $query;
 
    pagination::$defaults['url'] = $page->url() . r($params, '/') . $params;
 
    // cache the result if possible
    if($this->options['cache'] && $page->isCachable() && in_array(r::method(), ['GET', 'HEAD'])) {
 
      // try to read the cache by cid (cache id)
      $cacheId = md5(url::current() . $page->representation());
 
      // check for modified content within the content folder
      // and auto-expire the page cache in such a case
      if($this->options['cache.autoupdate'] and $this->cache()->exists($cacheId)) {
 
        // get the creation date of the cache file
        $created = $this->cache()->created($cacheId);
 
/
usr
/
www
/
users
/
deutscng
/
rink-legal.de
/
kirby
/
kirby
/
component
/
response.php
 * @link      http://getkirby.com
 * @copyright Bastian Allgeier
 * @license   http://getkirby.com/license
 */
class Response extends \Kirby\Component {
 
  /**
   * Builds and return the response by various input
   * 
   * @param mixed $response
   * @return mixed
   */
  public function make($response) {
 
    if(is_string($response)) {
      return $this->kirby->render(page($response));
    } else if(is_array($response)) {
      return $this->kirby->render(page($response[0]), $response[1]);
    } else if(is_a($response, 'Page')) {
      return $this->kirby->render($response);      
    } else if(is_a($response, 'Response')) {
      return $response;
    } else {
      return null;
    }
 
  }
 
}
/
usr
/
www
/
users
/
deutscng
/
rink-legal.de
/
kirby
/
kirby.php
    // check for a valid route
    if(is_null($this->route)) {
      header::status('500');
      header::type('json');
      die(json_encode(array(
        'status'  => 'error',
        'message' => 'Invalid route or request method'
      )));
    }
 
    // call the router action with all arguments from the pattern
    $response = call($this->route->action(), $this->route->arguments());
 
    // load all language variables
    // this can only be loaded once the router action has been called
    // otherwise the current language is not yet available
    $this->localize();
 
    // build the response
    $this->response = $this->component('response')->make($response);
 
    // store the current language in the session
    if(
        $this->option('language.detect') &&
        $this->site()->multilang() &&
        $this->site()->language()
      ) {
      s::set('kirby_language', $this->site()->language()->code());
    }
 
    return $this->response;
 
  }
 
  /**
   * Register a new hook
   *
   * @param string/array $hook The name of the hook
   * @param closure $callback
   */
/
usr
/
www
/
users
/
deutscng
/
rink-legal.de
/
index.php
<?php
 
define('DS', DIRECTORY_SEPARATOR);
 
// load kirby
require(__DIR__ . DS . 'kirby' . DS . 'bootstrap.php');
 
// check for a custom site.php
if(file_exists(__DIR__ . DS . 'site.php')) {
  require(__DIR__ . DS . 'site.php');
} else {
  $kirby = kirby();
}
 
// render
echo $kirby->launch();

Environment & details:

Key Value
Kirby Toolkit v2.5.12
Kirby CMS v2.5.12
empty
empty
empty
empty
empty
Key Value
PWD /home/httpd/cgi-bin
PHPRC /home/httpd/php84-ini/deutscng
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TMPDIR /usr/home/deutscng/.tmp
MAGICK_CONFIGURE_PATH /usr/home/deutscng/.config/ImageMagick/:/etc/ImageMagick-7/:/usr/share/ImageMagick-7/:/etc/ImageMagick-6/:/usr/share/ImageMagick-6/
MAGICK_TMPDIR /usr/home/deutscng/.tmp
MAGICK_TEMPORARY_PATH /usr/home/deutscng/.tmp
USER deutscng
HOME /usr/home/deutscng
CONTENT_LENGTH 0
SCRIPT_NAME /index.php
REQUEST_URI /llms.txt
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /llms.txt
REMOTE_PORT 56542
SCRIPT_FILENAME /usr/www/users/deutscng/rink-legal.de/index.php
SERVER_ADMIN webmaster@rink-legal.de
CONTEXT_DOCUMENT_ROOT /usr/www/users/deutscng/rink-legal.de
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /usr/www/users/deutscng/rink-legal.de
REMOTE_ADDR 2600:1f28:365:80b0:f8a4:e764:d6bb:8e66
SERVER_PORT 443
SERVER_ADDR ::1
SERVER_NAME www.rink-legal.de
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at www.rink-legal.de Port 443</address>
HTTP_ACCEPT_ENCODING zstd, br, gzip
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_CONNECTION close
HTTP_X_FORWARDED_PROTO https
HTTP_HOST www.rink-legal.de
HTTPS on
SCRIPT_URI https://www.rink-legal.de/index.php
SCRIPT_URL /llms.txt
http_backend_req yes
UNIQUE_ID alx5NqkpFDeXXukum4-0nAAAAYQ
REDIRECT_STATUS 200
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://www.rink-legal.de/llms.txt
REDIRECT_SCRIPT_URL /llms.txt
REDIRECT_http_backend_req yes
REDIRECT_UNIQUE_ID alx5NqkpFDeXXukum4-0nAAAAYQ
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1784445238.0807
REQUEST_TIME 1784445238
Key Value
PWD /home/httpd/cgi-bin
PHPRC /home/httpd/php84-ini/deutscng
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TMPDIR /usr/home/deutscng/.tmp
MAGICK_CONFIGURE_PATH /usr/home/deutscng/.config/ImageMagick/:/etc/ImageMagick-7/:/usr/share/ImageMagick-7/:/etc/ImageMagick-6/:/usr/share/ImageMagick-6/
MAGICK_TMPDIR /usr/home/deutscng/.tmp
MAGICK_TEMPORARY_PATH /usr/home/deutscng/.tmp
USER deutscng
HOME /usr/home/deutscng
CONTENT_LENGTH 0
SCRIPT_NAME /index.php
REQUEST_URI /llms.txt
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /llms.txt
REMOTE_PORT 56542
SCRIPT_FILENAME /usr/www/users/deutscng/rink-legal.de/index.php
SERVER_ADMIN webmaster@rink-legal.de
CONTEXT_DOCUMENT_ROOT /usr/www/users/deutscng/rink-legal.de
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /usr/www/users/deutscng/rink-legal.de
REMOTE_ADDR 2600:1f28:365:80b0:f8a4:e764:d6bb:8e66
SERVER_PORT 443
SERVER_ADDR ::1
SERVER_NAME www.rink-legal.de
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at www.rink-legal.de Port 443</address>
HTTP_ACCEPT_ENCODING zstd, br, gzip
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_CONNECTION close
HTTP_X_FORWARDED_PROTO https
HTTP_HOST www.rink-legal.de
HTTPS on
SCRIPT_URI https://www.rink-legal.de/index.php
SCRIPT_URL /llms.txt
http_backend_req yes
UNIQUE_ID alx5NqkpFDeXXukum4-0nAAAAYQ
REDIRECT_STATUS 200
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://www.rink-legal.de/llms.txt
REDIRECT_SCRIPT_URL /llms.txt
REDIRECT_http_backend_req yes
REDIRECT_UNIQUE_ID alx5NqkpFDeXXukum4-0nAAAAYQ
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1784445238.0807
REQUEST_TIME 1784445238
0. Whoops\Handler\PrettyPageHandler