Error
Call to a member function url() on null Error thrown with message "Call to a member function url() on null" Stacktrace: #6 Error in /home/vefusove/public_html/aaronwegmann.guitars/site/templates/event.php:109 #5 require in /home/vefusove/public_html/aaronwegmann.guitars/kirby/src/Toolkit/Tpl.php:39 #4 Kirby\Toolkit\Tpl:load in /home/vefusove/public_html/aaronwegmann.guitars/kirby/src/Cms/Template.php:164 #3 Kirby\Cms\Template:render in /home/vefusove/public_html/aaronwegmann.guitars/kirby/src/Cms/Page.php:1151 #2 Kirby\Cms\Page:render in /home/vefusove/public_html/aaronwegmann.guitars/kirby/src/Cms/App.php:575 #1 Kirby\Cms\App:io in /home/vefusove/public_html/aaronwegmann.guitars/kirby/src/Cms/App.php:838 #0 Kirby\Cms\App:render in /home/vefusove/public_html/aaronwegmann.guitars/index.php:5
Stack frames (7)
6
Error
/
home
/
vefusove
/
public_html
/
aaronwegmann.guitars
/
site
/
templates
/
event.php
109
5
require
/
src
/
Toolkit
/
Tpl.php
39
4
Kirby
\
Toolkit
\
Tpl
load
/
src
/
Cms
/
Template.php
164
3
Kirby
\
Cms
\
Template
render
/
src
/
Cms
/
Page.php
1151
2
Kirby
\
Cms
\
Page
render
/
src
/
Cms
/
App.php
575
1
Kirby
\
Cms
\
App
io
/
src
/
Cms
/
App.php
838
0
Kirby
\
Cms
\
App
render
/
home
/
vefusove
/
public_html
/
aaronwegmann.guitars
/
index.php
5
/
home
/
vefusove
/
public_html
/
aaronwegmann.guitars
/
site
/
templates
/
event.php
 
        <?php if($strContent->value()): ?>
        <div class="plain-content">
          <?= $strContent ?>
        </div>
        <?php endif; ?>
 
        <?php 
 
        if($page->relatedPage()->isNotEmpty()): 
        
        ?>
          <div class="next-article">
            <div class="content">
              <span>More about</span>
              <?php 
                $next = $page->relatedPage()->toPage();
              ?>
 
              <a href="<?= $next->url()?>" class="link-event-transition-next <?= $page->category() ?>">
                <?= $next->title() ?>
              </a>
            </div>
          </div>
        <?php endif ?>
 
        <?php /*if($page->flickr()->isNotEmpty()): ?>
          <a href="<?= $page->flickr() ?>" target="_blank" class="cta full"><span>More archives on Flickr</span></a>
        <?php endif*/ ?>
 
      </div>
    </div>
  </main>
 
</body>
</html>
/
home
/
vefusove
/
public_html
/
aaronwegmann.guitars
/
kirby
/
src
/
Toolkit
/
Tpl.php
    /**
     * Renders the template
     *
     * @param string $__file
     * @param array $__data
     * @return string
     */
    public static function load(string $__file = null, array $__data = []): string
    {
        if (file_exists($__file) === false) {
            return '';
        }
 
        $exception = null;
 
        ob_start();
        extract($__data);
 
        try {
            require $__file;
        } catch (Throwable $e) {
            $exception = $e;
        }
 
        $content = ob_get_contents();
        ob_end_clean();
 
        if ($exception === null) {
            return $content;
        }
 
        throw $exception;
    }
}
 
/
home
/
vefusove
/
public_html
/
aaronwegmann.guitars
/
kirby
/
src
/
Cms
/
Template.php
        }
    }
 
    /**
     * Returns the template name
     *
     * @return string
     */
    public function name(): string
    {
        return $this->name;
    }
 
    /**
     * @param array $data
     * @return string
     */
    public function render(array $data = []): string
    {
        return Tpl::load($this->file(), $data);
    }
 
    /**
     * Returns the root to the templates directory
     *
     * @return string
     */
    public function root(): string
    {
        return App::instance()->root($this->store());
    }
 
    /**
     * Returns the template type
     *
     * @return string
     */
    public function type(): string
    {
        return $this->type;
/
home
/
vefusove
/
public_html
/
aaronwegmann.guitars
/
kirby
/
src
/
Cms
/
Page.php
        }
 
        // fetch the page regularly
        if ($html === null) {
            $kirby->data = $this->controller($data, $contentType);
 
            if ($contentType === 'html') {
                $template = $this->template();
            } else {
                $template = $this->representation($contentType);
            }
 
            if ($template->exists() === false) {
                throw new NotFoundException([
                    'key' => 'template.default.notFound'
                ]);
            }
 
            // render the page
            $html = $template->render($kirby->data);
 
            // convert the response configuration to an array
            $response = $kirby->response()->toArray();
 
            // cache the result
            if ($cache !== null) {
                $cache->set($cacheId, [
                    'html'     => $html,
                    'response' => $response
                ]);
            }
        }
 
        return $html;
    }
 
    /**
     * @internal
     * @return Template
     */
/
home
/
vefusove
/
public_html
/
aaronwegmann.guitars
/
kirby
/
src
/
Cms
/
App.php
        }
 
        // Empty input
        if (empty($input) === true) {
            return $this->io(new NotFoundException());
        }
 
        // Response Configuration
        if (is_a($input, 'Kirby\Cms\Responder') === true) {
            return $input->send();
        }
 
        // Responses
        if (is_a($input, 'Kirby\Http\Response') === true) {
            return $input;
        }
 
        // Pages
        if (is_a($input, 'Kirby\Cms\Page')) {
            $html = $input->render();
 
            if ($input->isErrorPage() === true) {
                if ($response->code() === null) {
                    $response->code(404);
                }
            }
 
            return $response->send($html);
        }
 
        // Files
        if (is_a($input, 'Kirby\Cms\File')) {
            return $response->redirect($input->mediaUrl(), 307)->send();
        }
 
        // Simple HTML response
        if (is_string($input) === true) {
            return $response->send($input);
        }
 
/
home
/
vefusove
/
public_html
/
aaronwegmann.guitars
/
kirby
/
src
/
Cms
/
App.php
 
        $requestUri  = '/' . $this->request()->url()->path();
        $scriptName  = $_SERVER['SCRIPT_NAME'];
        $scriptFile  = basename($scriptName);
        $scriptDir   = dirname($scriptName);
        $scriptPath  = $scriptFile === 'index.php' ? $scriptDir : $scriptName;
        $requestPath = preg_replace('!^' . preg_quote($scriptPath) . '!', '', $requestUri);
 
        return $this->setPath($requestPath)->path;
    }
 
    /**
     * Returns the Response object for the
     * current request
     *
     * @return Response
     */
    public function render(string $path = null, string $method = null)
    {
        return $this->io($this->call($path, $method));
    }
 
    /**
     * Returns the Request singleton
     *
     * @return Request
     */
    public function request(): Request
    {
        return $this->request = $this->request ?? new Request;
    }
 
    /**
     * Path resolver for the router
     *
     * @internal
     * @param string $path
     * @param string|null $language
     * @return mixed
     */
/
home
/
vefusove
/
public_html
/
aaronwegmann.guitars
/
index.php
<?php
 
require __DIR__ . '/kirby/bootstrap.php';
 
echo (new Kirby)->render();
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
LSPHP_ENABLE_USER_INI on
PHP_INI_SCAN_DIR :/home/vefusove/etc/php_settings/conf.d
PATH /usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
VIPSHOME /usr
HTTP_ACCEPT */*
HTTP_HOST aaronwegmann.guitars
HTTP_USER_AGENT claudebot
DOCUMENT_ROOT /home/vefusove/public_html/aaronwegmann.guitars
REMOTE_ADDR 54.210.126.232
REMOTE_PORT 53524
SERVER_ADDR 149.126.4.42
SERVER_NAME aaronwegmann.guitars
SERVER_ADMIN webmaster@addon-aaronwegmannguitars.vefusove.cyon.site
SERVER_PORT 443
REQUEST_SCHEME https
REQUEST_URI /en/home/190804-tobeylucas-brail
REDIRECT_URL /en/home/190804-tobeylucas-brail
REDIRECT_REQUEST_METHOD GET
HTTPS on
HTTP_AUTHORIZATION
REDIRECT_STATUS 200
X_SPDY HTTP2
SSL_PROTOCOL TLSv1.3
SSL_CIPHER TLS_AES_256_GCM_SHA384
SSL_CIPHER_USEKEYSIZE 256
SSL_CIPHER_ALGKEYSIZE 256
SCRIPT_FILENAME /home/vefusove/public_html/aaronwegmann.guitars/index.php
QUERY_STRING
SCRIPT_URI https://aaronwegmann.guitars/en/home/190804-tobeylucas-brail
SCRIPT_URL /en/home/190804-tobeylucas-brail
SCRIPT_NAME /index.php
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE LiteSpeed
REQUEST_METHOD GET
X-LSCACHE on
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711621847,2745
REQUEST_TIME 1711621847
Key Value
LSPHP_ENABLE_USER_INI on
PHP_INI_SCAN_DIR :/home/vefusove/etc/php_settings/conf.d
PATH /usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
VIPSHOME /usr
0. Whoops\Handler\PrettyPageHandler