9. Whoops\Exception\ErrorException
…/­app/­theme/­168/­event-registration.php136
8. Whoops\Run handleError
…/­app/­theme/­168/­event-registration.php136
7. include
…/­vendor/­league/­plates/­src/­Template/­Template.php118
6. League\Plates\Template\Template render
…/­vendor/­league/­plates/­src/­Engine.php277
5. League\Plates\Engine render
…/­theme.php31
4. {closure}
<#unknown>0
3. call_user_func_array
…/­src/­Route.php79
2. Route handle
…/­src/­Route.php307
1. Route run
…/­theme.php101
0. require_once
…/­index.php24

Whoops \ Exception \ ErrorException (E_NOTICE) Whoops\Exception\ErrorException thrown with message "Undefined index: HTTP_REFERER" Stacktrace: #9 Whoops\Exception\ErrorException in /var/www/html/168solution.com/app/theme/168/event-registration.php:136 #8 Whoops\Run:handleError in /var/www/html/168solution.com/app/theme/168/event-registration.php:136 #7 include in /var/www/html/168solution.com/vendor/league/plates/src/Template/Template.php:118 #6 League\Plates\Template\Template:render in /var/www/html/168solution.com/vendor/league/plates/src/Engine.php:277 #5 League\Plates\Engine:render in /var/www/html/168solution.com/theme.php:31 #4 {closure} in <#unknown>:0 #3 call_user_func_array in /var/www/html/168solution.com/src/Route.php:79 #2 Route:handle in /var/www/html/168solution.com/src/Route.php:307 #1 Route:run in /var/www/html/168solution.com/theme.php:101 #0 require_once in /var/www/html/168solution.com/index.php:24

Undefined index: HTTP_REFERER

                            <strong>'.$registration['message'].'</strong>
 
                        </div>';
 
                    }
 
                    if(!Session::get('event')) {
                        $ref = explode('/', $_SERVER["HTTP_REFERER"]);
                        $eve = Dips\Cms\Model\Event\Event::find_by_slug(end($ref));
 
                            <strong>'.$registration['message'].'</strong>
 
                        </div>';
 
                    }
 
                    if(!Session::get('event')) {
                        $ref = explode('/', $_SERVER["HTTP_REFERER"]);
                        $eve = Dips\Cms\Model\Event\Event::find_by_slug(end($ref));
 
            unset($data);
 
            extract($this->data);
 
            ob_start();
 
            if ($this->exists()) {
                include $this->path();
            } else {
                throw new LogicException(
     * Create a new template and render it.
     * @param  string $name
     * @param  array  $data
     * @return string
     */
    public function render($name, array $data = array())
    {
        return $this->make($name)->render($data);
    }
}
 
			echo $template->render('event', $assign);
		});
 
		$route->match('/registration', function() use ($route, $template) {
			$assign['is'] = 'Event Registration';
 
			echo $template->render('event-registration', $assign);
	    });
 
<#unknown>
                        if (isset($data[$index+1]) && isset($data[$index+1][0]) && is_array($data[$index+1][0])) {
                            return trim(substr($match[0][0], 0, $data[$index+1][0][1] - $match[0][1]), '/');
                        } else {
                            return (isset($match[0][0]) ? trim($match[0][0], '/') : null);
                        }
                    }, $data, array_keys($data));
 
                    call_user_func_array($value['fn'], $parameter);
 
                    $i++;
        public function run($callback = null) {
            $this->method = $this->method();
 
            if (isset($this->beforeroute[$this->method])) $this->handle($this->beforeroute[$this->method]);
 
            $num = 0;
 
            if (isset($this->route[$this->method])) $num = $this->handle($this->route[$this->method], true);
 
            if ($num == 0) {
 
				break;
		}
 
		echo $template->render($detect->call, $assign);
	});
 
	$route->run();
 
 
    if ($route->segment(1) == ENGINE) {
        $dips = ($site['whitelist']['status']['backend'] && !$legal['backend']) ? 'app/global/redirect' : 'engine';
    } else {
        $dips = ($site['whitelist']['status']['frontend'] && !$legal['frontend'] || $site['offline']['status'] && !$legal['frontend']) ? 'app/global/maintenance' : 'theme';
    }
 
    require_once $dips . '.php';
 
    ob_end_flush();
Key Value
REDIRECT_STATUS 200
HTTP_HOST www.168solution.com
HTTP_X_FORWARDED_SCHEME http
HTTP_X_FORWARDED_PROTO http
HTTP_X_FORWARDED_FOR 54.160.244.62
HTTP_X_REAL_IP 54.160.244.62
HTTP_CONNECTION close
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE <address>Apache/2.2.15 (CentOS) Server at www.168solution.com Port 80</address>
SERVER_SOFTWARE Apache/2.2.15 (CentOS)
SERVER_NAME www.168solution.com
SERVER_ADDR 10.10.10.5
SERVER_PORT 80
REMOTE_ADDR 10.242.18.10
DOCUMENT_ROOT /var/www/html/168solution.com/
SERVER_ADMIN root@localhost
SCRIPT_FILENAME /var/www/html/168solution.com/index.php
REMOTE_PORT 58954
REDIRECT_URL /event/registration
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /event/registration
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710826527.461
REQUEST_TIME 1710826527
empty
empty
empty
empty
Key Value
language EN
empty
0. Whoops\Handler\PrettyPageHandler