ErrorException (E_NOTICE)
Undefined variable: metaDescription ErrorException thrown with message "Undefined variable: metaDescription" Stacktrace: #27 ErrorException in /var/www/vhosts/coachingbyrandall.nl/httpdocs/app/Templates/Meflat/default.php:20 #26 Exception\Handler:handleError in /var/www/vhosts/coachingbyrandall.nl/httpdocs/app/Templates/Meflat/default.php:20 #25 include in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/View/Engines/PhpEngine.php:56 #24 View\Engines\PhpEngine:evaluatePath in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/View/Engines/PhpEngine.php:31 #23 View\Engines\PhpEngine:get in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/View/View.php:95 #22 View\View:renderContents in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/View/View.php:81 #21 View\View:render in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Http/Response.php:48 #20 Http\Response:setContent in /var/www/vhosts/coachingbyrandall.nl/httpdocs/vendor/symfony/http-foundation/Response.php:201 #19 Symfony\Component\HttpFoundation\Response:__construct in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Support/Facades/Response.php:36 #18 Support\Facades\Response:make in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Support/Facades/Response.php:129 #17 Support\Facades\Response:error in /var/www/vhosts/coachingbyrandall.nl/httpdocs/app/Filters.php:52 #16 {closure} in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Events/Dispatcher.php:193 #15 call_user_func_array in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Events/Dispatcher.php:193 #14 Events\Dispatcher:fire in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Events/Dispatcher.php:151 #13 Events\Dispatcher:until in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Routing/Router.php:1182 #12 Routing\Router:callRouteFilter in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Routing/Router.php:1146 #11 Routing\Router:callRouteBefore in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Routing/Router.php:1009 #10 Routing\Router:dispatchToRoute in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Routing/Router.php:985 #9 Routing\Router:dispatch in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Foundation/Application.php:744 #8 Foundation\Application:dispatch in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Foundation/Application.php:717 #7 Foundation\Application:handle in /var/www/vhosts/coachingbyrandall.nl/httpdocs/app/Extensions/Http/ContentGuard.php:61 #6 App\Extensions\Http\ContentGuard:handle in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Session/Middleware.php:77 #5 Session\Middleware:handle in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Cookie/Queue.php:49 #4 Cookie\Queue:handle in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Cookie/Guard.php:54 #3 Cookie\Guard:handle in /var/www/vhosts/coachingbyrandall.nl/httpdocs/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23 #2 Stack\StackedHttpKernel:handle in /var/www/vhosts/coachingbyrandall.nl/httpdocs/system/Foundation/Application.php:615 #1 Foundation\Application:run in /var/www/vhosts/coachingbyrandall.nl/httpdocs/app/Boot/Start.php:289 #0 require in /var/www/vhosts/coachingbyrandall.nl/httpdocs/public/index.php:37
Stack frames (28):
27 ErrorException
…/­app/­Templates/­Meflat/­default.php20
26 Exception\Handler handleError
…/­app/­Templates/­Meflat/­default.php20
25 include
…/­system/­View/­Engines/­PhpEngine.php56
24 View\Engines\PhpEngine evaluatePath
…/­system/­View/­Engines/­PhpEngine.php31
23 View\Engines\PhpEngine get
…/­system/­View/­View.php95
22 View\View renderContents
…/­system/­View/­View.php81
21 View\View render
…/­system/­Http/­Response.php48
20 Http\Response setContent
…/­vendor/­symfony/­http-foundation/­Response.php201
19 Symfony\Component\HttpFoundation\Response __construct
…/­system/­Support/­Facades/­Response.php36
18 Support\Facades\Response make
…/­system/­Support/­Facades/­Response.php129
17 Support\Facades\Response error
…/­app/­Filters.php52
16 {closure}
…/­system/­Events/­Dispatcher.php193
15 call_user_func_array
…/­system/­Events/­Dispatcher.php193
14 Events\Dispatcher fire
…/­system/­Events/­Dispatcher.php151
13 Events\Dispatcher until
…/­system/­Routing/­Router.php1182
12 Routing\Router callRouteFilter
…/­system/­Routing/­Router.php1146
11 Routing\Router callRouteBefore
…/­system/­Routing/­Router.php1009
10 Routing\Router dispatchToRoute
…/­system/­Routing/­Router.php985
9 Routing\Router dispatch
…/­system/­Foundation/­Application.php744
8 Foundation\Application dispatch
…/­system/­Foundation/­Application.php717
7 Foundation\Application handle
…/­app/­Extensions/­Http/­ContentGuard.php61
6 App\Extensions\Http\ContentGuard handle
…/­system/­Session/­Middleware.php77
5 Session\Middleware handle
…/­system/­Cookie/­Queue.php49
4 Cookie\Queue handle
…/­system/­Cookie/­Guard.php54
3 Cookie\Guard handle
…/­vendor/­stack/­builder/­src/­Stack/­StackedHttpKernel.php23
2 Stack\StackedHttpKernel handle
…/­system/­Foundation/­Application.php615
1 Foundation\Application run
…/­app/­Boot/­Start.php289
0 require
…/­public/­index.php37
$languages = Config::get('languages');
?>
<!DOCTYPE html>
<html lang="<?= $language; ?>">
<head>
    <meta charset="utf-8">
    <title><?= $title; ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="<?= $metaDescription; ?>">
    <meta name="keywords" content="<?= $metaKeywords; ?>">
<?php
echo isset($meta) ? $meta : ''; // Place to pass data / plugable hook zone
?>
<!-- ==============================================
Favicons
=============================================== -->
<link rel="icon" type="image/png" href="<?php echo Url::templatePath(); ?>images/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="<?php echo Url::templatePath(); ?>images/favicon-16x16.png" sizes="16x16" />
<?php
$languages = Config::get('languages');
?>
<!DOCTYPE html>
<html lang="<?= $language; ?>">
<head>
    <meta charset="utf-8">
    <title><?= $title; ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="<?= $metaDescription; ?>">
    <meta name="keywords" content="<?= $metaKeywords; ?>">
<?php
echo isset($meta) ? $meta : ''; // Place to pass data / plugable hook zone
?>
<!-- ==============================================
Favicons
=============================================== -->
<link rel="icon" type="image/png" href="<?php echo Url::templatePath(); ?>images/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="<?php echo Url::templatePath(); ?>images/favicon-16x16.png" sizes="16x16" />
<?php
            ${$__variable} = $__value;
        }
 
        unset($__variable, $__value);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (\Exception $e) {
            $this->handleViewException($e);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a View Exception.
     *
    /**
     * Get the evaluated contents of the View.
     *
     * @param  string  $path
     * @param  array   $data
     * @return string
     */
    public function get($path, array $data = array())
    {
        return $this->evaluatePath($path, $data);
    }
 
    /**
     * Get the evaluated contents of the View at the given path.
     *
     * @param  string  $__path
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    }
 
    /**
     * Render the View and return the result.
     *
     * @return string
     */
    public function renderContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Return all variables stored on local and shared data.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
    /**
     * Get the string contents of the View.
     *
     * @param  \Closure  $callback
     * @return string
     */
    public function render(Closure $callback = null)
    {
        $contents = $this->renderContents();
 
        $response = isset($callback) ? $callback($this, $contents) : null;
 
        return $response ?: $contents;
    }
 
    /**
     * Render the View and return the result.
     *
     * @return string
            $this->headers->set('Content-Type', 'application/json');
 
            $content = $this->morphToJson($content);
        }
 
        // If this content implements the "RenderableInterface", then we will call the
        // render method on the object so we will avoid any "__toString" exceptions
        // that might be thrown and have their errors obscured by PHP's handling.
        else if ($content instanceof RenderableInterface) {
            $content = $content->render();
        }
 
        return parent::setContent($content);
    }
 
    /**
     * Morph the given content into JSON.
     *
     * @param  mixed   $content
     * @return string
     * @param mixed $content The response content, see setContent()
     * @param int   $status  The response status code
     * @param array $headers An array of response headers
     *
     * @throws \InvalidArgumentException When the HTTP status code is not valid
     */
    public function __construct($content = '', $status = 200, $headers = array())
    {
        $this->headers = new ResponseHeaderBag($headers);
        $this->setContent($content);
        $this->setStatusCode($status);
        $this->setProtocolVersion('1.0');
    }
 
    /**
     * Factory method for chainability.
     *
     * Example:
     *
     *     return Response::create($body, 200)
     * Return a new Response from the application.
     *
     * @param  string  $content
     * @param  int     $status
     * @param  array   $headers
     * @return \Http\Response
     */
    public static function make($content = '', $status = 200, array $headers = array())
    {
        return new HttpResponse($content, $status, $headers);
    }
 
    /**
     * Return a new View Response from the application.
     *
     * @param  string  $view
     * @param  array   $data
     * @param  int     $status
     * @param  array   $headers
     * @return \Http\Response
     * @param  array     $data
     * @return Response
     */
    public static function error($status, array $data = array(), $headers = array())
    {
        $view = Template::make('default')
            ->shares('title', 'Error ' .$status)
            ->nest('content', 'Error/' .$status, $data);
 
        return static::make($view, $status, $headers);
    }
 
    /**
     * Register a macro with the Response class.
     *
     * @param  string  $name
     * @param  callable  $callback
     * @return void
     */
    public static function macro($name, $callback)
});
 
// Referer checking Filter.
Route::filter('referer', function($route, $request) {
    // Check if the visitor come to this Route from another site.
    $referer = $request->header('referer');
 
    if(! str_starts_with($referer, Config::get('app.url'))) {
        // When Referrer is invalid, respond with Error 400 Page (Bad Request)
        return Response::error(400);
    }
});
 
// Authentication Filters.
Route::filter('auth', function($route, $request) {
    if (! Auth::check()) {
         // User is not logged in, redirect him to Login Page.
         return Redirect::to('login');
    }
});
    {
        $responses = array();
 
        //
        if (! is_array($payload)) $payload = array($payload);
 
        $this->firing[] = $event;
 
        foreach ($this->getListeners($event) as $listener) {
            $response = call_user_func_array($listener, $payload);
 
            if (! is_null($response) && $halt) {
                array_pop($this->firing);
 
                return $response;
            }
 
            if ($response === false) break;
 
            $responses[] = $response;
    {
        $responses = array();
 
        //
        if (! is_array($payload)) $payload = array($payload);
 
        $this->firing[] = $event;
 
        foreach ($this->getListeners($event) as $listener) {
            $response = call_user_func_array($listener, $payload);
 
            if (! is_null($response) && $halt) {
                array_pop($this->firing);
 
                return $response;
            }
 
            if ($response === false) break;
 
            $responses[] = $response;
    /**
     * Fire an event until the first non-null response is returned.
     *
     * @param  string  $event
     * @param  array   $payload
     * @return mixed
     */
    public function until($event, $payload = array())
    {
        return $this->fire($event, $payload, true);
    }
 
    /**
     * Flush a set of queued events.
     *
     * @param  string  $event
     * @return void
     */
    public function flush($event)
    {
     * @param  \Http\Request  $request
     * @return mixed
     */
    public function callRouteFilter($filter, $parameters, $route, $request, $response = null)
    {
        if (! $this->filtering) return null;
 
        $data = array_merge(array($route, $request, $response), $parameters);
 
        return $this->events->until('router.filter: '.$filter, $this->cleanFilterParameters($data));
    }
 
    /**
     * Clean the parameters being passed to a filter callback.
     *
     * @param  array  $parameters
     * @return array
     */
    protected function cleanFilterParameters(array $parameters)
    {
     * Call the given route's before filters.
     *
     * @param  \Routing\Route  $route
     * @param  \Http\Request  $request
     * @return mixed
     */
    public function callRouteBefore($route, $request)
    {
        foreach ($route->beforeFilters() as $filter => $parameters) {
            $response = $this->callRouteFilter($filter, $parameters, $route, $request);
 
            if (! is_null($response)) return $response;
        }
    }
 
    /**
     * Call the given route's before filters.
     *
     * @param  \Routing\Route  $route
     * @param  \Http\Request  $request
     */
    public function dispatchToRoute(Request $request)
    {
        // Execute the Routes matching.
        $route = $this->findRoute($request);
 
        $this->events->fire('router.matched', array($route, $request));
 
        // Call the Route's Before Filters.
        $response = $this->callRouteBefore($route, $request);
 
        if (is_null($response)) {
            // Run the Route Callback.
            $response = $route->run();
        }
 
        // Prepare the Reesponse.
        $response = $this->prepareResponse($request, $response);
 
        // Call the Route's After Filters.
 
        if (! is_null($response)) {
            return $this->prepareResponse($request, $response);
        }
 
        // Request Dispatching to Routes.
        $response = $this->callFilter('before', $request);
 
        if (is_null($response)) {
            $response = $this->dispatchToRoute($request);
        }
 
        $response = $this->prepareResponse($request, $response);
 
        $this->callFilter('after', $request, $response);
 
        return $response;
    }
 
    /**
            $response = $this['events']->until('nova.app.down');
 
            if (! is_null($response)) return $this->prepareResponse($response, $request);
        }
 
        if ($this->runningUnitTests() && ! $this['session']->isStarted()) {
            $this['session']->start();
        }
 
        return $this['router']->dispatch($this->prepareRequest($request));
    }
 
    /**
     * Call the "finish" and "shutdown" callbacks assigned to the application.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @param  \Symfony\Component\HttpFoundation\Response  $response
     * @return void
     */
    public function terminate(SymfonyRequest $request, SymfonyResponse $response)
     * @throws \Exception
     */
    public function handle(SymfonyRequest $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        try {
            $this->refreshRequest($request = Request::createFromBase($request));
 
            $this->boot();
 
            return $this->dispatch($request);
        }
        catch (\Exception $e) {
            if (! $catch || $this->runningUnitTests()) throw $e;
 
            return $this['exception']->handleException($e);
        }
    }
 
    /**
     * Handle the given request and get the response.
     * @implements HttpKernelInterface::handle
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @param  int   $type
     * @param  bool  $catch
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function handle(SymfonyRequest $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        $response = $this->app->handle($request, $type, $catch);
 
        // Minify the Response's Content.
        $this->processContent($response);
 
        return $response;
    }
 
    /**
     * Minify the Response instance Content.
     *
        // If a session driver has been configured, we will need to start the session here
        // so that the data is ready for an application. Note that the Laravel sessions
        // do not make use of PHP "native" sessions in any way since they are crappy.
        if ($this->sessionConfigured()) {
            $session = $this->startSession($request);
 
            $request->setSession($session);
        }
 
        $response = $this->app->handle($request, $type, $catch);
 
        // Again, if the session has been configured we will need to close out the session
        // so that the attributes may be persisted to some storage medium. We will also
        // add the session identifier cookie to the application response headers now.
        if ($this->sessionConfigured()) {
            $this->closeSession($session);
 
            $this->addCookieToResponse($response, $session);
        }
 
     * @implements HttpKernelInterface::handle
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @param  int   $type
     * @param  bool  $catch
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        $response = $this->app->handle($request, $type, $catch);
 
        foreach ($this->cookies->getQueuedCookies() as $cookie) {
            $response->headers->setCookie($cookie);
        }
 
        return $response;
    }
 
}
 
     * @implements HttpKernelInterface::handle
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @param  int   $type
     * @param  bool  $catch
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        $response = $this->app->handle($this->decrypt($request), $type, $catch);
 
        return $this->encrypt($response);
    }
 
    /**
     * Decrypt the cookies on the request.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @return \Symfony\Component\HttpFoundation\Request
     */
 
    public function __construct(HttpKernelInterface $app, array $middlewares)
    {
        $this->app = $app;
        $this->middlewares = $middlewares;
    }
 
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        return $this->app->handle($request, $type, $catch);
    }
 
    public function terminate(Request $request, Response $response)
    {
        $prevKernel = null;
        foreach ($this->middlewares as $kernel) {
            // if prev kernel was terminable we can assume this middleware has already been called
            if (!$prevKernel instanceof TerminableInterface && $kernel instanceof TerminableInterface) {
                $kernel->terminate($request, $response);
            }
     * Run the application and send the response.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @return void
     */
    public function run(SymfonyRequest $request = null)
    {
        $request = $request ?: $this['request'];
 
        $response = with($stack = $this->getStackedClient())->handle($request);
 
        $response->send();
 
        $stack->terminate($request, $response);
    }
 
    /**
     * Get the stacked HTTP kernel for the application.
     *
     * @return  \Symfony\Component\HttpKernel\HttpKernelInterface
 
if (is_readable($path)) require $path;
 
});
 
//--------------------------------------------------------------------------
// Execute The Application
//--------------------------------------------------------------------------
 
$app->run();
 
/** Composer installation check. */
if (! file_exists(ROOTDIR .'vendor/autoload.php')) {
    echo "<h1>Please install via composer.json</h1>";
    echo "<p>Install Composer instructions: <a href='https://getcomposer.org/doc/00-intro.md#globally'>https://getcomposer.org/doc/00-intro.md#globally</a></p>";
    echo "<p>Once composer is installed, navigate to the working directory in your terminal/command prompt and enter 'composer install'</p>";
    exit;
}
 
/** Boot the Application. */
require APPDIR .'Boot' .DS .'Start.php';
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER coachingbyrandal
HOME /var/www/vhosts/coachingbyrandall.nl
SCRIPT_NAME /public/index.php
REQUEST_URI /language/en
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /public/language/en
REMOTE_PORT 40252
SCRIPT_FILENAME /var/www/vhosts/coachingbyrandall.nl/httpdocs/public/index.php
SERVER_ADMIN [no address given]
CONTEXT_DOCUMENT_ROOT /var/www/vhosts/coachingbyrandall.nl/httpdocs
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /var/www/vhosts/coachingbyrandall.nl/httpdocs
REMOTE_ADDR 172.71.223.180
SERVER_PORT 443
SERVER_ADDR 212.132.68.50
SERVER_NAME www.coachingbyrandall.nl
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
Apache Server at www.coachingbyrandall.nl Port 443
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
HTTP_CF_CONNECTING_IP 204.236.220.47
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_CF_VISITOR {"scheme":"https"}
HTTP_X_FORWARDED_PROTO https
HTTP_CF_RAY 86bd55e7ebe2208a-IAD
HTTP_ACCEPT_ENCODING gzip, br
HTTP_CF_IPCOUNTRY US
HTTP_CDN_LOOP cloudflare
HTTP_CONNECTION close
HTTP_X_ACCEL_INTERNAL /internal-nginx-static-location
HTTP_X_FORWARDED_FOR 204.236.220.47
HTTP_X_REAL_IP 172.71.223.180
HTTP_HOST www.coachingbyrandall.nl
proxy-nokeepalive 1
HTTPS on
SCRIPT_URI https://www.coachingbyrandall.nl/language/en
SCRIPT_URL /language/en
UNIQUE_ID ZgZMhucpIkxR9Hck8b0J0AAAAFI
REDIRECT_STATUS 200
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://www.coachingbyrandall.nl/language/en
REDIRECT_SCRIPT_URL /language/en
REDIRECT_UNIQUE_ID ZgZMhucpIkxR9Hck8b0J0AAAAFI
REDIRECT_REDIRECT_STATUS 200
REDIRECT_REDIRECT_HTTPS on
REDIRECT_REDIRECT_SCRIPT_URI https://www.coachingbyrandall.nl/language/en
REDIRECT_REDIRECT_SCRIPT_URL /language/en
REDIRECT_REDIRECT_UNIQUE_ID ZgZMhucpIkxR9Hck8b0J0AAAAFI
FCGI_ROLE RESPONDER
PHP_SELF /public/index.php
REQUEST_TIME_FLOAT 1711688838.6339
REQUEST_TIME 1711688838
empty
0. Whoops\Handler\PrettyPageHandler