.eJwVzd0KgjAYgOF7-Y4l9tOoBA-SUBCiXOjME5luzaFiqFAo3nv2Hj_wLjBqrcBFO8QQxkdyIgRRsqf0wBwYq6Fv28JuAC5ZgPMsYrFgDe9S9CTGP__zRRhZI8qwnnnQJk9R80eqbiXKGcd-eO2aOYk9Dxx4S6PBpQ40HzmYEdwFOj1JJSd5H_TLfrdNL22hKljXH4UeL2Q.YU91vQ.mtHTmaxrZ2iBqP7NnR_uux-YLG0 Crikey! There was an error...
Whoops \ Exception \ ErrorException (E_WARNING)
Cannot modify header information - headers already sent by (output started at /home/data/www/DocumentRoot/osome.iu.edu/website/user/plugins/zenodo-data/zenodo-data.php:140) Whoops\Exception\ErrorException thrown with message "Cannot modify header information - headers already sent by (output started at /home/data/www/DocumentRoot/osome.iu.edu/website/user/plugins/zenodo-data/zenodo-data.php:140)" Stacktrace: #3 Whoops\Exception\ErrorException in /home/data/www/DocumentRoot/osome.iu.edu/website/system/src/Grav/Common/Grav.php:500 #2 header in /home/data/www/DocumentRoot/osome.iu.edu/website/system/src/Grav/Common/Grav.php:500 #1 Grav\Common\Grav:header in /home/data/www/DocumentRoot/osome.iu.edu/website/system/src/Grav/Common/Grav.php:328 #0 Grav\Common\Grav:process in /home/data/www/DocumentRoot/osome.iu.edu/website/index.php:58
Stack frames (4)
3
Whoops\Exception\ErrorException
/system/src/Grav/Common/Grav.php500
2
header
/system/src/Grav/Common/Grav.php500
1
Grav\Common\Grav header
/system/src/Grav/Common/Grav.php328
0
Grav\Common\Grav process
/index.php58
/home/data/www/DocumentRoot/osome.iu.edu/website/system/src/Grav/Common/Grav.php
        } else {
            $this->redirect($route, $code);
        }
    }
 
    /**
     * Set response header.
     *
     * @param ResponseInterface|null $response
     * @return void
     */
    public function header(ResponseInterface $response = null)
    {
        if (null === $response) {
            /** @var PageInterface $page */
            $page = $this['page'];
            $response = new Response($page->httpResponseCode(), $page->httpHeaders(), '');
        }
 
        header("HTTP/{$response->getProtocolVersion()} {$response->getStatusCode()} {$response->getReasonPhrase()}");
        foreach ($response->getHeaders() as $key => $values) {
            // Skip internal Grav headers.
            if (strpos($key, 'Grav-Internal-') === 0) {
                continue;
            }
            foreach ($values as $i => $value) {
                header($key . ': ' . $value, $i === 0);
            }
        }
    }
 
    /**
     * Set the system locale based on the language and configuration
     *
     * @return void
     */
    public function setLocale()
    {
        // Initialize Locale if set and configured.
        if ($this['language']->enabled() && $this['config']->get('system.languages.override_locale')) {
Arguments
  1. "Cannot modify header information - headers already sent by (output started at /home/data/www/DocumentRoot/osome.iu.edu/website/user/plugins/zenodo-data/zenodo-data.php:140)"
    
/home/data/www/DocumentRoot/osome.iu.edu/website/system/src/Grav/Common/Grav.php
        } else {
            $this->redirect($route, $code);
        }
    }
 
    /**
     * Set response header.
     *
     * @param ResponseInterface|null $response
     * @return void
     */
    public function header(ResponseInterface $response = null)
    {
        if (null === $response) {
            /** @var PageInterface $page */
            $page = $this['page'];
            $response = new Response($page->httpResponseCode(), $page->httpHeaders(), '');
        }
 
        header("HTTP/{$response->getProtocolVersion()} {$response->getStatusCode()} {$response->getReasonPhrase()}");
        foreach ($response->getHeaders() as $key => $values) {
            // Skip internal Grav headers.
            if (strpos($key, 'Grav-Internal-') === 0) {
                continue;
            }
            foreach ($values as $i => $value) {
                header($key . ': ' . $value, $i === 0);
            }
        }
    }
 
    /**
     * Set the system locale based on the language and configuration
     *
     * @return void
     */
    public function setLocale()
    {
        // Initialize Locale if set and configured.
        if ($this['language']->enabled() && $this['config']->get('system.languages.override_locale')) {
/home/data/www/DocumentRoot/osome.iu.edu/website/system/src/Grav/Common/Grav.php
        // Prevent caching if session messages were displayed in the page.
        $noCache = $messages->isCleared();
        if ($noCache) {
            $response = $response->withHeader('Cache-Control', 'no-store, max-age=0');
        }
 
        // Handle ETag and If-None-Match headers.
        if ($response->getHeaderLine('ETag') === '1') {
            $etag = md5($body);
            $response = $response->withHeader('ETag', '"' . $etag . '"');
 
            $search = trim($this['request']->getHeaderLine('If-None-Match'), '"');
            if ($noCache === false && $search === $etag) {
                $response = $response->withStatus(304);
                $body = '';
            }
        }
 
        // Echo page content.
        $this->header($response);
        echo $body;
 
        $this['debugger']->render();
 
        // Response object can turn off all shutdown processing. This can be used for example to speed up AJAX responses.
        // Note that using this feature will also turn off response compression.
        if ($response->getHeaderLine('Grav-Internal-SkipShutdown') !== '1') {
            register_shutdown_function([$this, 'shutdown']);
        }
    }
 
    /**
     * Terminates Grav request with a response.
     *
     * Please use this method instead of calling `die();` or `exit();`. Note that you need to create a response object.
     *
     * @param ResponseInterface $response
     * @return void
     */
    public function close(ResponseInterface $response): void
/home/data/www/DocumentRoot/osome.iu.edu/website/index.php
if (!is_file($autoload)) {
    die('Please run: <i>bin/grav install</i>');
}
 
// Register the auto-loader.
$loader = require $autoload;
 
use Grav\Common\Grav;
use RocketTheme\Toolbox\Event\Event;
 
// Get the Grav instance
$grav = Grav::instance(
    array(
        'loader' => $loader
    )
);
 
// Process the page
try {
    $grav->process();
} catch (\Error $e) {
    $grav->fireEvent('onFatalException', new Event(array('exception' => $e)));
    throw $e;
} catch (\Exception $e) {
    $grav->fireEvent('onFatalException', new Event(array('exception' => $e)));
    throw $e;
}
 

Environment & details:

empty
empty
empty
empty
Key Value
user
Grav\Common\User\User {#589}
redirect_after_login
null
messages
Grav\Framework\Session\Messages {#618}
Key Value
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"osome.iu.edu"
REDIRECT_STATUS
"200"
HTTPS
"on"
SSL_TLS_SNI
"osome.iu.edu"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_IF_MODIFIED_SINCE
"Sat, 24 Jul 2021 05:34:15 GMT"
HTTP_ACCEPT_ENCODING
"br,gzip"
HTTP_HOST
"osome.iu.edu"
HTTP_CONNECTION
"Keep-Alive"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.29 (Ubuntu)"
SERVER_NAME
"osome.iu.edu"
SERVER_ADDR
"129.79.247.70"
SERVER_PORT
"443"
REMOTE_ADDR
"44.197.197.23"
DOCUMENT_ROOT
"/home/data/www/DocumentRoot/osome.iu.edu/website"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/data/www/DocumentRoot/osome.iu.edu/website"
SERVER_ADMIN
"[no address given]"
SCRIPT_FILENAME
"/home/data/www/DocumentRoot/osome.iu.edu/website/index.php"
REMOTE_PORT
"42026"
REDIRECT_URL
"/research/data"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/research/data"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1632597435.7114
REQUEST_TIME
1632597435
empty
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\CallbackHandler