TypeError
Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in /home/coevtmfb/lowkong.org/base/user/plugins/events/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 81 TypeError thrown with message "Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in /home/coevtmfb/lowkong.org/base/user/plugins/events/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 81" Stacktrace: #17 TypeError in /home/coevtmfb/lowkong.org/base/user/plugins/events/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php:826 #16 Carbon\Carbon:setLastErrors in /home/coevtmfb/lowkong.org/base/user/plugins/events/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php:81 #15 Carbon\Carbon:__construct in /home/coevtmfb/lowkong.org/base/user/plugins/events/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php:187 #14 Carbon\Carbon:now in /home/coevtmfb/lowkong.org/base/user/plugins/events/events.php:152 #13 Grav\Plugin\EventsPlugin:onPluginsInitialized in /home/coevtmfb/lowkong.org/base/vendor/symfony/event-dispatcher/EventDispatcher.php:264 #12 Symfony\Component\EventDispatcher\EventDispatcher:doDispatch in /home/coevtmfb/lowkong.org/base/vendor/symfony/event-dispatcher/EventDispatcher.php:239 #11 Symfony\Component\EventDispatcher\EventDispatcher:callListeners in /home/coevtmfb/lowkong.org/base/vendor/symfony/event-dispatcher/EventDispatcher.php:73 #10 Symfony\Component\EventDispatcher\EventDispatcher:dispatch in /home/coevtmfb/lowkong.org/base/system/src/Grav/Common/Grav.php:592 #9 Grav\Common\Grav:fireEvent in /home/coevtmfb/lowkong.org/base/system/src/Grav/Common/Processors/PluginsProcessor.php:36 #8 Grav\Common\Processors\PluginsProcessor:process in /home/coevtmfb/lowkong.org/base/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:50 #7 Grav\Framework\RequestHandler\RequestHandler:handle in /home/coevtmfb/lowkong.org/base/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:62 #6 Grav\Framework\RequestHandler\RequestHandler:handle in /home/coevtmfb/lowkong.org/base/system/src/Grav/Common/Processors/InitializeProcessor.php:130 #5 Grav\Common\Processors\InitializeProcessor:Grav\Common\Processors\{closure} in /home/coevtmfb/lowkong.org/base/system/src/Grav/Common/Debugger.php:546 #4 Grav\Common\Debugger:profile in /home/coevtmfb/lowkong.org/base/system/src/Grav/Common/Processors/InitializeProcessor.php:129 #3 Grav\Common\Processors\InitializeProcessor:process in /home/coevtmfb/lowkong.org/base/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:50 #2 Grav\Framework\RequestHandler\RequestHandler:handle in /home/coevtmfb/lowkong.org/base/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php:62 #1 Grav\Framework\RequestHandler\RequestHandler:handle in /home/coevtmfb/lowkong.org/base/system/src/Grav/Common/Grav.php:307 #0 Grav\Common\Grav:process in /home/coevtmfb/lowkong.org/base/index.php:47
Stack frames (18)
17
TypeError
/user/plugins/events/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php826
16
Carbon\Carbon setLastErrors
/user/plugins/events/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php81
15
Carbon\Carbon __construct
/user/plugins/events/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php187
14
Carbon\Carbon now
/user/plugins/events/events.php152
13
Grav\Plugin\EventsPlugin onPluginsInitialized
/vendor/symfony/event-dispatcher/EventDispatcher.php264
12
Symfony\Component\EventDispatcher\EventDispatcher doDispatch
/vendor/symfony/event-dispatcher/EventDispatcher.php239
11
Symfony\Component\EventDispatcher\EventDispatcher callListeners
/vendor/symfony/event-dispatcher/EventDispatcher.php73
10
Symfony\Component\EventDispatcher\EventDispatcher dispatch
/system/src/Grav/Common/Grav.php592
9
Grav\Common\Grav fireEvent
/system/src/Grav/Common/Processors/PluginsProcessor.php36
8
Grav\Common\Processors\PluginsProcessor process
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php50
7
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php62
6
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Common/Processors/InitializeProcessor.php130
5
Grav\Common\Processors\InitializeProcessor Grav\Common\Processors\{closure}
/system/src/Grav/Common/Debugger.php546
4
Grav\Common\Debugger profile
/system/src/Grav/Common/Processors/InitializeProcessor.php129
3
Grav\Common\Processors\InitializeProcessor process
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php50
2
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php62
1
Grav\Framework\RequestHandler\RequestHandler handle
/system/src/Grav/Common/Grav.php307
0
Grav\Common\Grav process
/index.php47
/home/coevtmfb/lowkong.org/base/user/plugins/events/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php
            if (is_string($var) &&
                !preg_match('/^P[0-9T]/', $var) &&
                !preg_match('/^R[0-9]/', $var) &&
                preg_match('/[a-z0-9]/i', $var)
            ) {
                $date = static::parse($var);
            }
        }
 
        return $date;
    }
 
    /**
     * Set last errors.
     *
     * @param array $lastErrors
     *
     * @return void
     */
    private static function setLastErrors(array $lastErrors)
    {
        static::$lastErrors = $lastErrors;
    }
 
    /**
     * {@inheritdoc}
     */
    public static function getLastErrors()
    {
        return static::$lastErrors;
    }
}
 
Arguments
  1. "Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in /home/coevtmfb/lowkong.org/base/user/plugins/events/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 81"
    
/home/coevtmfb/lowkong.org/base/user/plugins/events/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php
            method_exists(static::class, 'getTestNow') &&
            static::hasTestNow() &&
            ($isNow || static::hasRelativeKeywords($time))
        ) {
            static::mockConstructorParameters($time, $tz);
        }
 
        // Work-around for PHP bug https://bugs.php.net/bug.php?id=67127
        if (strpos((string) .1, '.') === false) {
            $locale = setlocale(LC_NUMERIC, '0');
            setlocale(LC_NUMERIC, 'C');
        }
 
        parent::__construct($time ?: 'now', static::safeCreateDateTimeZone($tz));
 
        if (isset($locale)) {
            setlocale(LC_NUMERIC, $locale);
        }
 
        static::setLastErrors(parent::getLastErrors());
    }
 
    /**
     * Create a Carbon instance from a DateTime one.
     *
     * @param \DateTimeInterface $date
     *
     * @return static
     */
    public static function instance($date)
    {
        if ($date instanceof static) {
            return clone $date;
        }
 
        static::expectDateTime($date);
 
        $instance = new static($date->format('Y-m-d H:i:s.u'), $date->getTimezone());
 
        if ($date instanceof CarbonInterface || $date instanceof Options) {
/home/coevtmfb/lowkong.org/base/user/plugins/events/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php
     * @param string                   $locale
     * @param DateTimeZone|string|null $tz
     *
     * @return static
     */
    public static function parseFromLocale($time, $locale, $tz = null)
    {
        return static::rawParse(static::translateTimeString($time, $locale, 'en'), $tz);
    }
 
    /**
     * Get a Carbon instance for the current date and time.
     *
     * @param DateTimeZone|string|null $tz
     *
     * @return static
     */
    public static function now($tz = null)
    {
        return new static(null, $tz);
    }
 
    /**
     * Create a Carbon instance for today.
     *
     * @param DateTimeZone|string|null $tz
     *
     * @return static
     */
    public static function today($tz = null)
    {
        return static::rawParse('today', $tz);
    }
 
    /**
     * Create a Carbon instance for tomorrow.
     *
     * @param DateTimeZone|string|null $tz
     *
     * @return static
/home/coevtmfb/lowkong.org/base/user/plugins/events/events.php
    public function onPluginsInitialized()
    {
        // Nothing else is needed for admin so close it out
        if ( $this->isAdmin() ) {
 
            $this->enable([
                'onAdminSave' => ['onAdminSave', 0],
                'onAdminAfterSave' => ['onAdminAfterSave', 0],
            ]);
 
            return;
        }
 
        // Add these to taxonomy for events management
        $event_taxonomies = array('type', 'event_freq', 'event_repeat', 'event_location');
        $taxonomy_config = array_merge((array)$this->config->get('site.taxonomies'), $event_taxonomies);
        $this->config->set('site.taxonomies', $taxonomy_config);
 
        // get the current datetime with c
        $this->now = Carbon::now();
 
        // set the calendar accessor
        $this->calendar = new \Events\CalendarProcessor();
 
        // set the events accessor
        $this->events = new \Events\EventsProcessor();
 
        // enable the following hooks
        $this->enable([
            'onTwigTemplatePaths' => ['onTwigTemplatePaths', 0],
            'onPagesInitialized' => ['onPagesInitialized', 0],
            'onTwigSiteVariables' => ['onTwigSiteVariables', 0],
        ]);
    }
 
    /**
     * Add current directory to twig lookup paths.
     *
     * Add the templates directory to the twig directory look up path so we
     * can load our page templates. These are overridable by the theme and
/home/coevtmfb/lowkong.org/base/vendor/symfony/event-dispatcher/EventDispatcher.php
 
        foreach ($listeners as $listener) {
            if ($stoppable && $event->isPropagationStopped()) {
                break;
            }
            // @deprecated: the ternary operator is part of a BC layer and should be removed in 5.0
            $listener($listener instanceof WrappedListener ? new LegacyEventProxy($event) : $event, $eventName, $this);
        }
    }
 
    /**
     * @deprecated since Symfony 4.3, use callListeners() instead
     */
    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.
     */
    private function sortListeners(string $eventName)
    {
        krsort($this->listeners[$eventName]);
        $this->sorted[$eventName] = [];
 
        foreach ($this->listeners[$eventName] as &$listeners) {
            foreach ($listeners as $k => &$listener) {
                if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
                    $listener[0] = $listener[0]();
                    $listener[1] = $listener[1] ?? '__invoke';
                }
                $this->sorted[$eventName][] = $listener;
            }
        }
/home/coevtmfb/lowkong.org/base/vendor/symfony/event-dispatcher/EventDispatcher.php
            } else {
                $this->removeListener($eventName, [$subscriber, \is_string($params) ? $params : $params[0]]);
            }
        }
    }
 
    /**
     * 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 object     $event     The event object to pass to the event handlers/listeners
     */
    protected function callListeners(iterable $listeners, string $eventName, $event)
    {
        if ($event instanceof Event) {
            $this->doDispatch($listeners, $eventName, $event);
 
            return;
        }
 
        $stoppable = $event instanceof ContractsEvent || $event instanceof StoppableEventInterface;
 
        foreach ($listeners as $listener) {
            if ($stoppable && $event->isPropagationStopped()) {
                break;
            }
            // @deprecated: the ternary operator is part of a BC layer and should be removed in 5.0
            $listener($listener instanceof WrappedListener ? new LegacyEventProxy($event) : $event, $eventName, $this);
        }
    }
 
    /**
     * @deprecated since Symfony 4.3, use callListeners() instead
     */
    protected function doDispatch($listeners, $eventName, Event $event)
    {
/home/coevtmfb/lowkong.org/base/vendor/symfony/event-dispatcher/EventDispatcher.php
 
        if (\is_object($event)) {
            $eventName = $eventName ?? \get_class($event);
        } elseif (\is_string($event) && (null === $eventName || $eventName instanceof ContractsEvent || $eventName instanceof Event)) {
            @trigger_error(sprintf('Calling the "%s::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead.', EventDispatcherInterface::class), \E_USER_DEPRECATED);
            $swap = $event;
            $event = $eventName ?? new Event();
            $eventName = $swap;
        } else {
            throw new \TypeError(sprintf('Argument 1 passed to "%s::dispatch()" must be an object, "%s" given.', EventDispatcherInterface::class, \is_object($event) ? \get_class($event) : \gettype($event)));
        }
 
        if (null !== $this->optimized && null !== $eventName) {
            $listeners = $this->optimized[$eventName] ?? (empty($this->listeners[$eventName]) ? [] : $this->optimizeListeners($eventName));
        } else {
            $listeners = $this->getListeners($eventName);
        }
 
        if ($listeners) {
            $this->callListeners($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];
/home/coevtmfb/lowkong.org/base/system/src/Grav/Common/Grav.php
        return $event;
    }
 
    /**
     * Fires an event with optional parameters.
     *
     * @param  string $eventName
     * @param  Event|null $event
     * @return Event
     */
    public function fireEvent($eventName, Event $event = null)
    {
        /** @var EventDispatcherInterface $events */
        $events = $this['events'];
        if (null === $event) {
            $event = new Event();
        }
 
        $timestamp = microtime(true);
        $events->dispatch($event, $eventName);
 
        /** @var Debugger $debugger */
        $debugger = $this['debugger'];
        $debugger->addEvent($eventName, $event, $events, $timestamp);
 
        return $event;
    }
 
    /**
     * Set the final content length for the page and flush the buffer
     *
     * @return void
     */
    public function shutdown(): void
    {
        // Prevent user abort allowing onShutdown event to run without interruptions.
        if (function_exists('ignore_user_abort')) {
            @ignore_user_abort(true);
        }
 
/home/coevtmfb/lowkong.org/base/system/src/Grav/Common/Processors/PluginsProcessor.php
 * Class PluginsProcessor
 * @package Grav\Common\Processors
 */
class PluginsProcessor extends ProcessorBase
{
    /** @var string */
    public $id = 'plugins';
    /** @var string */
    public $title = 'Initialize Plugins';
 
    /**
     * @param ServerRequestInterface $request
     * @param RequestHandlerInterface $handler
     * @return ResponseInterface
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $this->startTimer();
        $grav = $this->container;
        $grav->fireEvent('onPluginsInitialized');
        $this->stopTimer();
 
        return $handler->handle($request);
    }
}
 
/home/coevtmfb/lowkong.org/base/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);
    }
}
 
/home/coevtmfb/lowkong.org/base/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);
    }
}
 
/home/coevtmfb/lowkong.org/base/system/src/Grav/Common/Processors/InitializeProcessor.php
        // Initialize URI (uses session, see issue #3269).
        $this->initializeUri($config);
 
        // Grav may return redirect response right away.
        $redirectCode = (int)$config->get('system.pages.redirect_trailing_slash', 1);
        if ($redirectCode) {
            $response = $this->handleRedirectRequest($request, $redirectCode > 300 ? $redirectCode : null);
            if ($response) {
                $this->stopTimer('_init');
 
                return $response;
            }
        }
 
        $this->stopTimer('_init');
 
        // Wrap call to next handler so that debugger can profile it.
        /** @var Response $response */
        $response = $debugger->profile(static function () use ($handler, $request) {
            return $handler->handle($request);
        });
 
        // Log both request and response and return the response.
        return $debugger->logRequest($request, $response);
    }
 
    public function processCli(): void
    {
        // Load configuration.
        $config = $this->initializeConfig();
 
        // Initialize logger.
        $this->initializeLogger($config);
 
        // Disable debugger.
        $this->container['debugger']->enabled(false);
 
        // Set timezone, locale.
        $this->initializeLocale($config);
 
/home/coevtmfb/lowkong.org/base/system/src/Grav/Common/Debugger.php
        }
 
        $this->addMeasures();
        $this->addDeprecations();
        $this->timers = [];
 
        return $this->debugbar->getData();
    }
 
    /**
     * Hierarchical Profiler support.
     *
     * @param callable $callable
     * @param string|null $message
     * @return mixed
     */
    public function profile(callable $callable, string $message = null)
    {
        $this->startProfiling();
        $response = $callable();
        $this->stopProfiling($message);
 
        return $response;
    }
 
    public function addTwigProfiler(Environment $twig): void
    {
        $clockwork = $this->getClockwork();
        if ($clockwork) {
            $source = new TwigClockworkDataSource($twig);
            $source->listenToEvents();
            $clockwork->addDataSource($source);
        }
    }
 
    /**
     * Start profiling code.
     *
     * @return void
     */
/home/coevtmfb/lowkong.org/base/system/src/Grav/Common/Processors/InitializeProcessor.php
 
        // Initialize URI (uses session, see issue #3269).
        $this->initializeUri($config);
 
        // Grav may return redirect response right away.
        $redirectCode = (int)$config->get('system.pages.redirect_trailing_slash', 1);
        if ($redirectCode) {
            $response = $this->handleRedirectRequest($request, $redirectCode > 300 ? $redirectCode : null);
            if ($response) {
                $this->stopTimer('_init');
 
                return $response;
            }
        }
 
        $this->stopTimer('_init');
 
        // Wrap call to next handler so that debugger can profile it.
        /** @var Response $response */
        $response = $debugger->profile(static function () use ($handler, $request) {
            return $handler->handle($request);
        });
 
        // Log both request and response and return the response.
        return $debugger->logRequest($request, $response);
    }
 
    public function processCli(): void
    {
        // Load configuration.
        $config = $this->initializeConfig();
 
        // Initialize logger.
        $this->initializeLogger($config);
 
        // Disable debugger.
        $this->container['debugger']->enabled(false);
 
        // Set timezone, locale.
        $this->initializeLocale($config);
/home/coevtmfb/lowkong.org/base/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);
    }
}
 
/home/coevtmfb/lowkong.org/base/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);
    }
}
 
/home/coevtmfb/lowkong.org/base/system/src/Grav/Common/Grav.php
                },
                'pagesProcessor' => function () {
                    return new PagesProcessor($this);
                },
                'debuggerAssetsProcessor' => function () {
                    return new DebuggerAssetsProcessor($this);
                },
                'renderProcessor' => function () {
                    return new RenderProcessor($this);
                },
            ]
        );
 
        $default = static function () {
            return new Response(404, ['Expires' => 0, 'Cache-Control' => 'no-store, max-age=0'], 'Not Found');
        };
 
        $collection = new RequestHandler($this->middleware, $default, $container);
 
        $response = $collection->handle($this['request']);
        $body = $response->getBody();
 
        /** @var Messages $messages */
        $messages = $this['messages'];
 
        // 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 = '';
/home/coevtmfb/lowkong.org/base/index.php
 
// Register the auto-loader.
$loader = require $autoload;
 
// Set timezone to default, falls back to system if php.ini not set
date_default_timezone_set(@date_default_timezone_get());
 
// Set internal encoding.
@ini_set('default_charset', 'UTF-8');
mb_internal_encoding('UTF-8');
 
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|\Exception $e) {
    $grav->fireEvent('onFatalException', new Event(array('exception' => $e)));
    throw $e;
}
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
PATH
"/usr/local/bin:/usr/bin:/bin"
TEMP
"/tmp"
TMP
"/tmp"
TMPDIR
"/tmp"
PWD
"/"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_CONNECTION
"Keep-Alive"
CONTENT_LENGTH
"0"
HTTP_HOST
"lowkong.org"
HTTP_USER_AGENT
"claudebot"
HTTP_X_FORWARDED_HOST
"lowkong.org"
HTTP_X_FORWARDED_PROTO
"https"
REDIRECT_UNIQUE_ID
"ZgYBnjhgj4EMpf464hZdYgAAAJY"
REDIRECT_QS_SrvConn
"67"
REDIRECT_QS_AllConn
"67"
REDIRECT_QS_ConnectionId
"1711669662538310502242558"
REDIRECT_SCRIPT_URL
"/base/trustees/trustees-index"
REDIRECT_SCRIPT_URI
"https://lowkong.org/base/trustees/trustees-index"
REDIRECT_LSWS_EDITION
"Openlitespeed"
REDIRECT_X-LSCACHE
"on"
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"lowkong.org"
REDIRECT_STATUS
"200"
UNIQUE_ID
"ZgYBnjhgj4EMpf464hZdYgAAAJY"
QS_SrvConn
"67"
QS_AllConn
"67"
QS_ConnectionId
"1711669662538310502242558"
SCRIPT_URL
"/base/trustees/trustees-index"
SCRIPT_URI
"https://lowkong.org/base/trustees/trustees-index"
LSWS_EDITION
"Openlitespeed"
X-LSCACHE
"on"
HTTPS
"on"
SSL_TLS_SNI
"lowkong.org"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SERVER_NAME
"lowkong.org"
SERVER_ADDR
"127.0.0.1"
SERVER_PORT
"443"
REMOTE_ADDR
"3.238.233.189"
DOCUMENT_ROOT
"/home/coevtmfb/lowkong.org"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/coevtmfb/lowkong.org"
SERVER_ADMIN
"coevtmfb@lowkong.org"
SCRIPT_FILENAME
"/home/coevtmfb/lowkong.org/base/index.php"
REMOTE_PORT
"50988"
REDIRECT_URL
"/base/trustees/trustees-index"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/base/trustees/trustees-index"
SCRIPT_NAME
"/base/index.php"
PHP_SELF
"/base/index.php"
REQUEST_TIME_FLOAT
1711669662.5918
REQUEST_TIME
1711669662
empty
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\CallbackHandler