Kirby CMS Debugger
Whoops \ Exception \ ErrorException (E_ERROR)
Method Kirbytext::__toString() must not throw an exception, caught Error: Call to a member function extension() on null Whoops\Exception\ErrorException thrown with message "Method Kirbytext::__toString() must not throw an exception, caught Error: Call to a member function extension() on null" Stacktrace: #2 Whoops\Exception\ErrorException in /var/www/html/selux.com/kirby/helpers.php:0 #1 Whoops\Run:handleError in /var/www/html/selux.com/php/vendor/filp/whoops/src/Whoops/Run.php:408 #0 Whoops\Run:handleShutdown in [internal]:0
Stack frames (3)
2
Whoops\Exception\ErrorException
/var/www/html/selux.com/kirby/helpers.php0
1
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php408
0
Whoops\Run handleShutdown
[internal]0
/var/www/html/selux.com/kirby/helpers.php
<?php

/**
 * Embeds a snippet from the snippet folder
 *
 * @param string $file
 * @param mixed $data array or object
 * @param boolean $return
 * @return string
 */
function snippet($file, $data = array(), $return = false) {
  return kirby::instance()->component('snippet')->render($file, $data, $return);
}

/**
 * Builds a css link tag for relative or absolute urls
 *
 * @param string $url
 * @param string $media
 * @return string
 */
function css() {
  return call([kirby::instance()->component('css'), 'tag'], func_get_args());
}

/**
 * Builds a script tag for relative or absolute links
 *
 * @param string $src
 * @param boolean $async
 * @return string
 */
function js($src, $async = false) {
  return call([kirby::instance()->component('js'), 'tag'], func_get_args());
}

/**
 * Global markdown parser shortcut
 *
 * @param string $text
/var/www/html/selux.com/php/vendor/filp/whoops/src/Whoops/Run.php
    /**
     * Special case to deal with Fatal errors and the like.
     */
    public function handleShutdown()
    {
        // If we reached this step, we are in shutdown handler.
        // An exception thrown in a shutdown handler will not be propagated
        // to the exception handler. Pass that information along.
        $this->canThrowExceptions = false;
 
        $error = $this->system->getLastError();
        if ($error && Misc::isLevelFatal($error['type'])) {
            // If there was a fatal error,
            // it was not handled in handleError yet.
            $this->allowQuit = false;
            $this->handleError(
                $error['type'],
                $error['message'],
                $error['file'],
                $error['line']
            );
        }
    }
 
    /**
     * In certain scenarios, like in shutdown handler, we can not throw exceptions
     * @var bool
     */
    private $canThrowExceptions = true;
 
    private function resolveHandler($handler)
    {
        if (is_callable($handler)) {
            $handler = new CallbackHandler($handler);
        }
 
        if (!$handler instanceof HandlerInterface) {
            throw new InvalidArgumentException(
                  "Handler must be a callable, or instance of "
                . "Whoops\\Handler\\HandlerInterface"
[internal]

Environment & details:

Key Value
Kirby Toolkit v2.5.0
Kirby CMS v2.5.0
empty
empty
empty
empty
empty
Key Value
REDIRECT_MMDB_ADDR 54.173.43.215
REDIRECT_MMDB_INFO result found
REDIRECT_GEOIP_COUNTRY_CODE US
REDIRECT_GEOIP_REGION_CODE VA
REDIRECT_SCRIPT_URL /bel/de/unternehmen/ressources-humaines
REDIRECT_SCRIPT_URI https://www2.selux.com/bel/de/unternehmen/ressources-humaines
REDIRECT_proto https
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI www2.selux.com
REDIRECT_STATUS 200
MMDB_ADDR 54.173.43.215
MMDB_INFO result found
GEOIP_COUNTRY_CODE US
GEOIP_REGION_CODE VA
SCRIPT_URL /bel/de/unternehmen/ressources-humaines
SCRIPT_URI https://www2.selux.com/bel/de/unternehmen/ressources-humaines
proto https
HTTPS on
SSL_TLS_SNI www2.selux.com
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST www2.selux.com
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.4.29 (Ubuntu)
SERVER_NAME www2.selux.com
SERVER_ADDR 82.165.249.198
SERVER_PORT 443
REMOTE_ADDR 54.173.43.215
DOCUMENT_ROOT /var/www/html/selux.com
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/html/selux.com
SERVER_ADMIN gg@cdlx.de
SCRIPT_FILENAME /var/www/html/selux.com/index.php
REMOTE_PORT 41120
REDIRECT_URL /bel/de/unternehmen/ressources-humaines
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /bel/de/unternehmen/ressources-humaines
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711672438.923
REQUEST_TIME 1711672438
empty
0. Whoops\Handler\PrettyPageHandler