Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/vendor/pimple/pimple/src/Pimple/Container.php on line 133

Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/vendor/pimple/pimple/src/Pimple/Container.php on line 98

Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/vendor/pimple/pimple/src/Pimple/Container.php on line 79

Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/vendor/pimple/pimple/src/Pimple/Container.php on line 143

Deprecated: Return type of DebugBar\DebugBar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php on line 484

Deprecated: Return type of DebugBar\DebugBar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php on line 479

Deprecated: Return type of DebugBar\DebugBar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php on line 474

Deprecated: Return type of DebugBar\DebugBar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php on line 489
Crikey! There was an error...
Grav \ Framework \ Session \ Exceptions \ SessionException (500)
Failed to start session: session_start(): Session cannot be started after headers have already been sent Grav\Framework\Session\Exceptions\SessionException thrown with message "Failed to start session: session_start(): Session cannot be started after headers have already been sent" Stacktrace: #18 Grav\Framework\Session\Exceptions\SessionException in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/Session/Session.php:199 #17 Grav\Framework\Session\Session:start in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Session.php:38 #16 Grav\Common\Session:init in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Processors/InitializeProcessor.php:71 #15 Grav\Common\Processors\InitializeProcessor:process in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #14 Grav\Framework\RequestHandler\RequestHandler:handle in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #13 Grav\Framework\RequestHandler\RequestHandler:handle in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Processors/DebuggerProcessor.php:27 #12 Grav\Common\Processors\DebuggerProcessor:process in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #11 Grav\Framework\RequestHandler\RequestHandler:handle in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #10 Grav\Framework\RequestHandler\RequestHandler:handle in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Processors/ErrorsProcessor.php:27 #9 Grav\Common\Processors\ErrorsProcessor:process in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #8 Grav\Framework\RequestHandler\RequestHandler:handle in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #7 Grav\Framework\RequestHandler\RequestHandler:handle in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Processors/LoggerProcessor.php:48 #6 Grav\Common\Processors\LoggerProcessor:process in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #5 Grav\Framework\RequestHandler\RequestHandler:handle in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #4 Grav\Framework\RequestHandler\RequestHandler:handle in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Processors/ConfigurationProcessor.php:28 #3 Grav\Common\Processors\ConfigurationProcessor:process in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #2 Grav\Framework\RequestHandler\RequestHandler:handle in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #1 Grav\Framework\RequestHandler\RequestHandler:handle in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Grav.php:272 #0 Grav\Common\Grav:process in /is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/index.php:54
Stack frames (19)
18
Grav\Framework\Session\Exceptions\SessionException
/system/src/Grav/Framework/Session/Session.php199
17
Grav\Framework\Session\Session start
/system/src/Grav/Common/Session.php38
16
Grav\Common\Session init
/system/src/Grav/Common/Processors/InitializeProcessor.php71
15
Grav\Common\Processors\InitializeProcessor process
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php45
14
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php57
13
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Common/Processors/DebuggerProcessor.php27
12
Grav\Common\Processors\DebuggerProcessor process
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php45
11
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php57
10
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Common/Processors/ErrorsProcessor.php27
9
Grav\Common\Processors\ErrorsProcessor process
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php45
8
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php57
7
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Common/Processors/LoggerProcessor.php48
6
Grav\Common\Processors\LoggerProcessor process
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php45
5
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php57
4
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Common/Processors/ConfigurationProcessor.php28
3
Grav\Common\Processors\ConfigurationProcessor process
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php45
2
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php57
1
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Common/Grav.php272
0
Grav\Common\Grav process
/index.php54
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/Session/Session.php
        $sessionExists = isset($_COOKIE[$sessionName]);
 
        // Protection against invalid session cookie names throwing exception: http://php.net/manual/en/function.session-id.php#116836
        if ($sessionExists && !preg_match('/^[-,a-zA-Z0-9]{1,128}$/', $_COOKIE[$sessionName])) {
            unset($_COOKIE[$sessionName]);
            $sessionExists = false;
        }
 
        $options = $this->options;
        if ($readonly) {
            $options['read_and_close'] = '1';
        }
 
        $success = @session_start($options);
        $user = $success ? $this->__get('user') : null;
        if (!$success) {
            $last = error_get_last();
            $error = $last ? $last['message'] : 'Unknown error';
 
            throw new SessionException('Failed to start session: ' . $error, 500);
        }
 
        $this->started = true;
 
        if ($user && (!$user instanceof UserInterface || !$user->isValid())) {
            $this->invalidate();
 
            throw new SessionException('Invalid User object, session destroyed.', 500);
        }
 
        // Extend the lifetime of the session.
        if ($sessionExists) {
            $params = session_get_cookie_params();
 
            setcookie(
                $sessionName,
                session_id(),
                time() + $params['lifetime'],
                $params['path'],
                $params['domain'],
Arguments
  1. "Failed to start session: session_start(): Session cannot be started after headers have already been sent"
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Session.php
    /**
     * @return \Grav\Framework\Session\Session
     * @deprecated 1.5 Use ->getInstance() method instead.
     */
    public static function instance()
    {
        user_error(__CLASS__ . '::' . __FUNCTION__ . '() is deprecated since Grav 1.5, use ->getInstance() method instead', E_USER_DEPRECATED);
 
        return static::getInstance();
    }
 
    /**
     * Initialize session.
     *
     * Code in this function has been moved into SessionServiceProvider class.
     */
    public function init()
    {
        if ($this->autoStart && !$this->isStarted()) {
            $this->start();
 
            $this->autoStart = false;
        }
    }
 
    /**
     * @param bool $auto
     * @return $this
     */
    public function setAutoStart($auto)
    {
        $this->autoStart = (bool)$auto;
 
        return $this;
    }
 
    /**
     * Returns attributes.
     *
     * @return array Attributes
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Processors/InitializeProcessor.php
        if ($config->get('system.cache.gzip') && !@ob_start('ob_gzhandler')) {
            // Enable zip/deflate with a fallback in case of if browser does not support compressing.
            ob_start();
        }
 
        // Initialize the timezone.
        $timezone = $config->get('system.timezone');
        if ($timezone) {
            date_default_timezone_set($timezone);
        }
 
        // FIXME: Initialize session should happen later after plugins have been loaded. This is a workaround to fix session issues in AWS.
        if (isset($this->container['session']) && $config->get('system.session.initialize', true)) {
            // TODO: remove in 2.0.
            $this->container['accounts'];
 
            try {
                $this->container['session']->init();
            } catch (SessionException $e) {
                $this->container['session']->init();
                $message = 'Session corruption detected, restarting session...';
                $this->addMessage($message);
                $this->container['messages']->add($message, 'error');
            }
        }
 
        /** @var Uri $uri */
        $uri = $this->container['uri'];
        $uri->init();
 
        // Redirect pages with trailing slash if configured to do so.
        $path = $uri->path() ?: '/';
        if ($path !== '/'
            && $config->get('system.pages.redirect_trailing_slash', false)
            && Utils::endsWith($path, '/')) {
 
            $redirect = (string) $uri::getCurrentRoute()->toString();
            $this->container->redirect($redirect);
        }
 
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {#69}
    
  2. RequestHandler {#122}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {#69}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Processors/DebuggerProcessor.php
 */
 
namespace Grav\Common\Processors;
 
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class DebuggerProcessor extends ProcessorBase
{
    public $id = '_debugger';
    public $title = 'Init Debugger';
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->startTimer();
        $this->container['debugger']->init();
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {#69}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {#69}
    
  2. RequestHandler {#120}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {#69}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Processors/ErrorsProcessor.php
 */
 
namespace Grav\Common\Processors;
 
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class ErrorsProcessor extends ProcessorBase
{
    public $id = '_errors';
    public $title = 'Error Handlers Reset';
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->startTimer();
        $this->container['errors']->resetHandlers();
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {#69}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {#69}
    
  2. RequestHandler {#108}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {#69}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Processors/LoggerProcessor.php
 
        /** @var Config $config */
        $config = $grav['config'];
 
        switch ($config->get('system.log.handler', 'file')) {
            case 'syslog':
                $log = $grav['log'];
                $log->popHandler();
 
                $facility = $config->get('system.log.syslog.facility', 'local6');
                $logHandler = new SyslogHandler('grav', $facility);
                $formatter = new LineFormatter("%channel%.%level_name%: %message% %extra%");
                $logHandler->setFormatter($formatter);
 
                $log->pushHandler($logHandler);
                break;
        }
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {#69}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {#69}
    
  2. RequestHandler {#100}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {#69}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Processors/ConfigurationProcessor.php
 
namespace Grav\Common\Processors;
 
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class ConfigurationProcessor extends ProcessorBase
{
    public $id = '_config';
    public $title = 'Configuration';
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->startTimer();
        $this->container['config']->init();
        $this->container['plugins']->setup();
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
Arguments
  1. ServerRequest {#69}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
    private $handler;
 
    /** @var ContainerInterface|null */
    private $container;
 
    /**
     * {@inheritdoc}
     * @throws InvalidArgumentException
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $middleware = array_shift($this->middleware);
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {#69}
    
  2. RequestHandler {#93}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
 
        // Use default callable if there is no middleware.
        if ($middleware === null) {
            return \call_user_func($this->handler, $request);
        }
 
        if ($middleware instanceof MiddlewareInterface) {
            return $middleware->process($request, clone $this);
        }
 
        if (null === $this->container || !$this->container->has($middleware)) {
            throw new InvalidArgumentException(
                sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
                $middleware
            );
        }
 
        array_unshift($this->middleware, $this->container->get($middleware));
 
        return $this->handle($request);
    }
}
Arguments
  1. ServerRequest {#69}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/system/src/Grav/Common/Grav.php
                },
                'debuggerAssetsProcessor' => function () {
                    return new DebuggerAssetsProcessor($this);
                },
                'renderProcessor' => function () {
                    return new RenderProcessor($this);
                },
            ]
        );
 
        $default = function (ServerRequestInterface $request) {
            return new Response(404, ['Expires' => 0, 'Cache-Control' => 'no-cache, no-store, must-revalidate'], 'Not Found');
        };
 
        /** @var Debugger $debugger */
        $debugger = $this['debugger'];
 
        $collection = new RequestHandler($this->middleware, $default, $container);
 
        $response = $collection->handle($this['request']);
        $body = $response->getBody();
 
        // Handle ETag and If-None-Match headers.
        if ($response->getHeaderLine('ETag') === '1') {
            $etag = md5($body);
            $response = $response->withHeader('ETag', $etag);
 
            if ($this['request']->getHeaderLine('If-None-Match') === $etag) {
                $response = $response->withStatus(304);
                $body = '';
            }
        }
 
        $this->header($response);
        echo $body;
 
        $debugger->render();
 
        register_shutdown_function([$this, 'shutdown']);
    }
Arguments
  1. ServerRequest {#69}
    
/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/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
empty
Key Value
REMOTE_ADDR_ANON
"18.97.14.0"
HTTPS
"on"
HOME
"/is/htdocs/wp10977587_Z2OWAV7N6E/"
USER
"wp10977587"
MAGICK_TEMPORARY_PATH
"/is/htdocs/user_tmp/wp10977587_Z2OWAV7N6E"
MAGICK_TMPDIR
"/is/htdocs/user_tmp/wp10977587_Z2OWAV7N6E"
TMP
"/is/htdocs/user_tmp/wp10977587_Z2OWAV7N6E"
TMPDIR
"/is/htdocs/user_tmp/wp10977587_Z2OWAV7N6E"
HTTP_HOST
"aktiv-fuer-aktive.org"
HTTP_X_REAL_IP
"18.97.14.83"
HTTP_X_FORWARDED_FOR
"18.97.14.83"
HTTP_CONNECTION
"close"
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_ACCEPT_ENCODING
"br,gzip"
PATH
"/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SERVER_NAME
"aktiv-fuer-aktive.org"
SERVER_ADDR
"127.0.0.81"
SERVER_PORT
"443"
REMOTE_ADDR
"18.97.14.83"
DOCUMENT_ROOT
"/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/"
SERVER_ADMIN
"webmaster@aktiv-fuer-aktive.org"
SCRIPT_FILENAME
"/is/htdocs/wp10977587_Z2OWAV7N6E/www/aktiv-fuer-aktive/index.php"
REMOTE_PORT
"51472"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1736993671.7431
REQUEST_TIME
1736993671
argv
[]
argc
0
Key Value
LANGUAGE
"en_US.UTF-8"
MONIT_SERVICE
"webserver"
PWD
"/"
SYSTEMD_EXEC_PID
"7650"
MONIT_DATE
"Tue, 17 Dec 2024 12:10:41"
APACHE_LOG_DIR
"/var/log/apache2"
LANG
"en_US.UTF-8"
MONIT_DESCRIPTION
"failed protocol test [HTTP] at [127.0.0.255]:80/phpinfo-modphp81.php [TCP/IP] -- Connection refused"
INVOCATION_ID
"c43652b56bf84c7490994b59603f7d30"
APACHE_PID_FILE
"/var/run/apache2/apache2.pid"
MONIT_HOST
"vwp11693"
APACHE_LOCK_DIR
"/var/lock/apache2"
SHLVL
"3"
APACHE_RUN_DIR
"/var/run/apache2"
JOURNAL_STREAM
"7:89727"
MONIT_EVENT
"Connection failed"
PATH
"/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"
_
"/usr/sbin/apache2"
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\CallbackHandler