Whoops \ Exception \ ErrorException (E_WARNING)
file_put_contents(/mnt/web123/d1/31/5242631/htdocs/concrete5/cache/problem-check-g-57a29de7.json): failed to open stream: Disk quota exceeded Whoops\Exception\ErrorException thrown with message "file_put_contents(/mnt/web123/d1/31/5242631/htdocs/concrete5/cache/problem-check-g-57a29de7.json): failed to open stream: Disk quota exceeded" Stacktrace: #26 Whoops\Exception\ErrorException in /mnt/web123/d1/31/5242631/htdocs/concrete5/user/plugins/problems/classes/Problems/Base/ProblemChecker.php:57 #25 file_put_contents in /mnt/web123/d1/31/5242631/htdocs/concrete5/user/plugins/problems/classes/Problems/Base/ProblemChecker.php:57 #24 Grav\Plugin\Problems\Base\ProblemChecker:storeStatusFile in /mnt/web123/d1/31/5242631/htdocs/concrete5/user/plugins/problems/problems.php:69 #23 Grav\Plugin\ProblemsPlugin:onPluginsInitialized in /mnt/web123/d1/31/5242631/htdocs/concrete5/vendor/symfony/event-dispatcher/EventDispatcher.php:212 #22 Symfony\Component\EventDispatcher\EventDispatcher:doDispatch in /mnt/web123/d1/31/5242631/htdocs/concrete5/vendor/symfony/event-dispatcher/EventDispatcher.php:44 #21 Symfony\Component\EventDispatcher\EventDispatcher:dispatch in /mnt/web123/d1/31/5242631/htdocs/concrete5/vendor/rockettheme/toolbox/Event/src/EventDispatcher.php:23 #20 RocketTheme\Toolbox\Event\EventDispatcher:dispatch in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Common/Grav.php:377 #19 Grav\Common\Grav:fireEvent in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Common/Processors/PluginsProcessor.php:27 #18 Grav\Common\Processors\PluginsProcessor:process in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #17 Grav\Framework\RequestHandler\RequestHandler:handle in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #16 Grav\Framework\RequestHandler\RequestHandler:handle in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Common/Processors/InitializeProcessor.php:78 #15 Grav\Common\Processors\InitializeProcessor:process in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #14 Grav\Framework\RequestHandler\RequestHandler:handle in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #13 Grav\Framework\RequestHandler\RequestHandler:handle in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Common/Processors/DebuggerProcessor.php:27 #12 Grav\Common\Processors\DebuggerProcessor:process in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #11 Grav\Framework\RequestHandler\RequestHandler:handle in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #10 Grav\Framework\RequestHandler\RequestHandler:handle in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Common/Processors/ErrorsProcessor.php:27 #9 Grav\Common\Processors\ErrorsProcessor:process in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #8 Grav\Framework\RequestHandler\RequestHandler:handle in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #7 Grav\Framework\RequestHandler\RequestHandler:handle in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Common/Processors/LoggerProcessor.php:48 #6 Grav\Common\Processors\LoggerProcessor:process in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #5 Grav\Framework\RequestHandler\RequestHandler:handle in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #4 Grav\Framework\RequestHandler\RequestHandler:handle in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Common/Processors/ConfigurationProcessor.php:28 #3 Grav\Common\Processors\ConfigurationProcessor:process in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:45 #2 Grav\Framework\RequestHandler\RequestHandler:handle in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:57 #1 Grav\Framework\RequestHandler\RequestHandler:handle in /mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Common/Grav.php:249 #0 Grav\Common\Grav:process in /mnt/web123/d1/31/5242631/htdocs/concrete5/index.php:53
Stack frames (27)
26
Whoops\Exception\ErrorException
/user/plugins/problems/classes/Problems/Base/ProblemChecker.php57
25
file_put_contents
/user/plugins/problems/classes/Problems/Base/ProblemChecker.php57
24
Grav\Plugin\Problems\Base\ProblemChecker storeStatusFile
/user/plugins/problems/problems.php69
23
Grav\Plugin\ProblemsPlugin onPluginsInitialized
/vendor/symfony/event-dispatcher/EventDispatcher.php212
22
Symfony\Component\EventDispatcher\EventDispatcher doDispatch
/vendor/symfony/event-dispatcher/EventDispatcher.php44
21
Symfony\Component\EventDispatcher\EventDispatcher dispatch
/vendor/rockettheme/toolbox/Event/src/EventDispatcher.php23
20
RocketTheme\Toolbox\Event\EventDispatcher dispatch
/system/src/Grav/Common/Grav.php377
19
Grav\Common\Grav fireEvent
/system/src/Grav/Common/Processors/PluginsProcessor.php27
18
Grav\Common\Processors\PluginsProcessor process
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php45
17
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php57
16
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Common/Processors/InitializeProcessor.php78
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.php249
0
Grav\Common\Grav process
/index.php53
/mnt/web123/d1/31/5242631/htdocs/concrete5/user/plugins/problems/classes/Problems/Base/ProblemChecker.php
 
        return true;
    }
 
    public function getStatusFile()
    {
        return $this->status_file;
    }
 
    public function statusFileExists()
    {
        return file_exists($this->status_file);
    }
 
 
    public function storeStatusFile()
    {
        $problems = $this->getProblemsSerializable();
        $json = json_encode($problems);
        file_put_contents($this->status_file, $json);
    }
 
    public function check($problems_dir = null)
    {
        $problems_dir = $problems_dir ?: dirname(__DIR__);
        $problems = [];
        $problems_found = false;
 
        foreach (new \DirectoryIterator($problems_dir) as $file) {
            if ($file->isDot() || $file->isDir()) {
                continue;
            }
            $classname = 'Grav\\Plugin\\Problems\\' . $file->getBasename('.php');
            /** @var Problem $problem */
            $problem = new $classname();
            $problems[$problem->getId()] = $problem;
        }
 
        // Fire event to allow other plugins to add problems
        Grav::instance()->fireEvent('onProblemsInitialized', new Event(['problems' => $problems]));
Arguments
  1. "file_put_contents(/mnt/web123/d1/31/5242631/htdocs/concrete5/cache/problem-check-g-57a29de7.json): failed to open stream: Disk quota exceeded"
    
/mnt/web123/d1/31/5242631/htdocs/concrete5/user/plugins/problems/classes/Problems/Base/ProblemChecker.php
 
        return true;
    }
 
    public function getStatusFile()
    {
        return $this->status_file;
    }
 
    public function statusFileExists()
    {
        return file_exists($this->status_file);
    }
 
 
    public function storeStatusFile()
    {
        $problems = $this->getProblemsSerializable();
        $json = json_encode($problems);
        file_put_contents($this->status_file, $json);
    }
 
    public function check($problems_dir = null)
    {
        $problems_dir = $problems_dir ?: dirname(__DIR__);
        $problems = [];
        $problems_found = false;
 
        foreach (new \DirectoryIterator($problems_dir) as $file) {
            if ($file->isDot() || $file->isDir()) {
                continue;
            }
            $classname = 'Grav\\Plugin\\Problems\\' . $file->getBasename('.php');
            /** @var Problem $problem */
            $problem = new $classname();
            $problems[$problem->getId()] = $problem;
        }
 
        // Fire event to allow other plugins to add problems
        Grav::instance()->fireEvent('onProblemsInitialized', new Event(['problems' => $problems]));
/mnt/web123/d1/31/5242631/htdocs/concrete5/user/plugins/problems/problems.php
    }
 
    public function onPluginsInitialized()
    {
        if (\defined('GRAV_CLI') || $this->isAdmin()) {
            return;
        }
 
        $this->checker = new ProblemChecker();
 
        if (!$this->checker->statusFileExists()) {
            // If no issues remain, save a state file in the cache
            if (!$this->problemsFound()) {
                // delete any existing validated files
                /** @var \SplFileInfo $fileInfo */
                foreach (new \GlobIterator(CACHE_DIR . ProblemChecker::PROBLEMS_PREFIX . '*') as $fileInfo) {
                    @unlink($fileInfo->getPathname());
                }
                // create a file in the cache dir so it only runs on cache changes
                $this->checker->storeStatusFile();
            } else {
                $this->renderProblems();
            }
        }
    }
 
    private function renderProblems()
    {
        /** @var Uri $uri */
        $uri = $this->grav['uri'];
 
        /** @var \Twig_Environment $twig */
        $twig = $this->getTwig();
 
        $data = [
            'problems' => $this->problems,
            'base_url' => $baseUrlRelative = $uri->rootUrl(false),
            'problems_url' => $baseUrlRelative . '/user/plugins/problems',
        ];
 
/mnt/web123/d1/31/5242631/htdocs/concrete5/vendor/symfony/event-dispatcher/EventDispatcher.php
        }
    }
 
    /**
     * Triggers the listeners of an event.
     *
     * This method can be overridden to add functionality that is executed
     * for each listener.
     *
     * @param callable[] $listeners The event listeners
     * @param string     $eventName The name of the event to dispatch
     * @param Event      $event     The event object to pass to the event handlers/listeners
     */
    protected function doDispatch($listeners, $eventName, Event $event)
    {
        foreach ($listeners as $listener) {
            if ($event->isPropagationStopped()) {
                break;
            }
            $listener($event, $eventName, $this);
        }
    }
 
    /**
     * Sorts the internal list of listeners for the given event by priority.
     *
     * @param string $eventName The name of the event
     */
    private function sortListeners($eventName)
    {
        krsort($this->listeners[$eventName]);
        $this->sorted[$eventName] = [];
 
        foreach ($this->listeners[$eventName] as $priority => $listeners) {
            foreach ($listeners as $k => $listener) {
                if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure) {
                    $listener[0] = $listener[0]();
                    $this->listeners[$eventName][$priority][$k] = $listener;
                }
                $this->sorted[$eventName][] = $listener;
/mnt/web123/d1/31/5242631/htdocs/concrete5/vendor/symfony/event-dispatcher/EventDispatcher.php
 * @author Jordi Boggiano <j.boggiano@seld.be>
 * @author Jordan Alliot <jordan.alliot@gmail.com>
 * @author Nicolas Grekas <p@tchwork.com>
 */
class EventDispatcher implements EventDispatcherInterface
{
    private $listeners = [];
    private $sorted = [];
 
    /**
     * {@inheritdoc}
     */
    public function dispatch($eventName, Event $event = null)
    {
        if (null === $event) {
            $event = new Event();
        }
 
        if ($listeners = $this->getListeners($eventName)) {
            $this->doDispatch($listeners, $eventName, $event);
        }
 
        return $event;
    }
 
    /**
     * {@inheritdoc}
     */
    public function getListeners($eventName = null)
    {
        if (null !== $eventName) {
            if (empty($this->listeners[$eventName])) {
                return [];
            }
 
            if (!isset($this->sorted[$eventName])) {
                $this->sortListeners($eventName);
            }
 
            return $this->sorted[$eventName];
/mnt/web123/d1/31/5242631/htdocs/concrete5/vendor/rockettheme/toolbox/Event/src/EventDispatcher.php
use Symfony\Component\EventDispatcher\Event as BaseEvent;
use Symfony\Component\EventDispatcher\EventDispatcher as BaseEventDispatcher;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
 
/**
 * Implements Symfony EventDispatcher interface.
 *
 * @package RocketTheme\Toolbox\Event
 * @author RocketTheme
 * @license MIT
 */
class EventDispatcher extends BaseEventDispatcher implements EventDispatcherInterface
{
    public function dispatch($eventName, BaseEvent $event = null)
    {
        if (null === $event) {
            $event = new Event();
        }
 
        return parent::dispatch($eventName, $event);
    }
}
 
/mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Common/Grav.php
            foreach ($values as $i => $value) {
                header($key . ': ' . $value, $i === 0);
            }
        }
    }
 
    /**
     * Fires an event with optional parameters.
     *
     * @param  string $eventName
     * @param  Event  $event
     *
     * @return Event
     */
    public function fireEvent($eventName, Event $event = null)
    {
        /** @var EventDispatcher $events */
        $events = $this['events'];
 
        return $events->dispatch($eventName, $event);
    }
 
    /**
     * Set the final content length for the page and flush the buffer
     *
     */
    public function shutdown()
    {
        // Prevent user abort allowing onShutdown event to run without interruptions.
        if (\function_exists('ignore_user_abort')) {
            @ignore_user_abort(true);
        }
 
        // Close the session allowing new requests to be handled.
        if (isset($this['session'])) {
            $this['session']->close();
        }
 
        if ($this['config']->get('system.debugger.shutdown.close_connection', true)) {
            // Flush the response and close the connection to allow time consuming tasks to be performed without leaving
/mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Common/Processors/PluginsProcessor.php
 */
 
namespace Grav\Common\Processors;
 
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class PluginsProcessor extends ProcessorBase
{
    public $id = 'plugins';
    public $title = 'Plugins';
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->startTimer();
        // TODO: remove in 2.0.
        $this->container['accounts'];
        $this->container['plugins']->init();
        $this->container->fireEvent('onPluginsInitialized');
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
/mnt/web123/d1/31/5242631/htdocs/concrete5/system/src/Grav/Common/Processors/InitializeProcessor.php
        }
 
        /** @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);
        }
 
        $this->container->setLocale();
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
 
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
 
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
 
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
 
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
    }
}
/mnt/web123/d1/31/5242631/htdocs/concrete5/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);
        };
 
        /** @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']);
    }
/mnt/web123/d1/31/5242631/htdocs/concrete5/index.php
 
// Set timezone to default, falls back to system if php.ini not set
date_default_timezone_set(@date_default_timezone_get());
 
// Set internal encoding if mbstring loaded
if (!\extension_loaded('mbstring')) {
    die("'mbstring' extension is not loaded.  This is required for Grav to run correctly");
}
mb_internal_encoding('UTF-8');
 
// 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
UNIQUE_ID
"ZgX8woxngzQMM3jNw6nbSgAADeE"
RZ_n
"5242631"
RZ_a
":Rhttp-301:Cpremium:quota=204800MB:phpmin=74:fcgi=1:php=74:defpage:tpl=strato-premium-emig:"
RZ_path
"web123/d1/31/5242631"
SCRIPT_URL
"/index.php/rechtsinformationen"
SCRIPT_URI
"http://andreanis.eu/index.php/rechtsinformationen"
DOCUMENT_ROOT
"/home/strato/http/premium/rid/26/31/5242631/htdocs/concrete5/"
RZ_php
"74"
PHPRC
"/home/strato/http/premium/rid/26/31/5242631/htdocs/concrete5/"
HTTP_HOST
"andreanis.eu"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"claudebot"
HTTP_CONNECTION
"close"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
SERVER_SOFTWARE
"Apache/2.4.58 (Unix)"
SERVER_NAME
"andreanis.eu"
SERVER_PORT
"80"
REMOTE_ADDR
"3.236.139.73"
SERVER_ADMIN
"service@webmailer.de"
SCRIPT_FILENAME
"/home/strato/http/premium/rid/26/31/5242631/htdocs/concrete5/index.php"
REMOTE_PORT
"51413"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/index.php/rechtsinformationen"
SCRIPT_NAME
"/index.php"
PATH_INFO
"/rechtsinformationen"
PATH_TRANSLATED
"redirect:/index.php"
PHP_SELF
"/index.php/rechtsinformationen"
REQUEST_TIME_FLOAT
1711668418.532
REQUEST_TIME
1711668418
argv
[]
argc
0
Key Value
UNIQUE_ID
"ZgX8woxngzQMM3jNw6nbSgAADeE"
RZ_n
"5242631"
RZ_a
":Rhttp-301:Cpremium:quota=204800MB:phpmin=74:fcgi=1:php=74:defpage:tpl=strato-premium-emig:"
RZ_path
"web123/d1/31/5242631"
SCRIPT_URL
"/index.php/rechtsinformationen"
SCRIPT_URI
"http://andreanis.eu/index.php/rechtsinformationen"
DOCUMENT_ROOT
"/home/strato/http/premium/rid/26/31/5242631/htdocs/concrete5/"
RZ_php
"74"
PHPRC
"/home/strato/http/premium/rid/26/31/5242631/htdocs/concrete5/"
HTTP_HOST
"andreanis.eu"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"claudebot"
HTTP_CONNECTION
"close"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
SERVER_SOFTWARE
"Apache/2.4.58 (Unix)"
SERVER_NAME
"andreanis.eu"
SERVER_PORT
"80"
REMOTE_ADDR
"3.236.139.73"
SERVER_ADMIN
"service@webmailer.de"
SCRIPT_FILENAME
"/home/strato/http/premium/rid/26/31/5242631/htdocs/concrete5/index.php"
REMOTE_PORT
"51413"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/index.php/rechtsinformationen"
SCRIPT_NAME
"/index.php"
PATH_INFO
"/rechtsinformationen"
PATH_TRANSLATED
"redirect:/index.php"
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\CallbackHandler