ParseError
syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST) ParseError thrown with message "syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST)" Stacktrace: #2 ParseError in /home/deploy/EHungry-2-joel/Web/accountsettings/profileinfo.php:226 #1 include in /home/deploy/EHungry-2-joel/Web/controllers/marketplace.php:2 #0 require in /home/deploy/EHungry-2-joel/Web/index.php:30
Stack frames (3)
2
ParseError
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
accountsettings
/
profileinfo.php
226
1
include
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
controllers
/
marketplace.php
2
0
require
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
index.php
30
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
accountsettings
/
profileinfo.php
                'size' => 'medium',
                'fullscreen' => false,
                'title' => '<div class="eds-display-text-title-s">Delete account?</div>',
                'body' => AccountRoutes::form(),
                'footer' => [
                    \EDS\Button(['class' => 'col col-sm-auto', 'variant' => 'light', 'data-bs-dismiss' => 'modal'], 'Close'),
                    \EDS\Button(['form' => AccountRoutes::FORM_ID, 'type' => 'submit', 'class' => 'col col-sm-auto', 'variant' => 'warning'], 'Delete'),
                ],
                'data-event-on:router_navigate' => "this.dispatchEvent(new CustomEvent('eds.hide'))"
            ])?>
        </div>
 
        <?
        return [
            'title' => 'Account Settings | Profile Info',
            'main' => Page([], ob_get_clean()),
        ];
    }
}
 
Arguments
  1. "syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST)"
    
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
controllers
/
marketplace.php
<?
include(CORE_PATH . 'marketplace/router.php');
 
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
index.php
App::startTime();
 
ErrorHandlers::register();
 
// Global.php is the core setup file for the application
App::debugbarTime('Global.php');
require(dirname(__DIR__) . '/PHP/Global.php');
App::debugbarTime('Global.php');
/** @var string $controller The main controller - defined at /PHP/Global.php */
 
App::debugbarTime('Sentry - controller');
ErrorHandlers::sentryInit($controller); //doesn't always do much - not every controller has a Sentry project
App::debugbarTime('Sentry - controller');
 
App::debugbarTime("controller: $controller");
apache_note('AppController', $controller);
if (file_exists(CORE_PATH."lib/helpers/$controller.php")) {
    require CORE_PATH."lib/helpers/$controller.php";
}
require CORE_PATH."controllers/$controller.php";
App::debugbarTime("controller: $controller");
 
Arguments
  1. "/home/deploy/EHungry-2-joel/Web/controllers/marketplace.php"
    

Environment & details:

Key Value
aid
"sitemap.xml"
empty
empty
empty
Key Value
loc
"en_US"
Key Value
UNIQUE_ID
"aeZ4IjSI4i-NizzcrlqyqQAAAAc"
SCRIPT_URL
"/sitemap.xml"
SCRIPT_URI
"http://www.springroll.com.2.joel.ehungry.net/sitemap.xml"
HTTP_HOST
"www.springroll.com.2.joel.ehungry.net"
HTTP_X_REAL_IP
"216.73.217.30"
HTTP_X_CONFKEY
"Main_Domain:14844"
HTTP_SCHEME
"https"
HTTP_EHENV
"TODO"
HTTP_CONNECTION
"close"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.62 () mod_wsgi/4.6.5 Python/3.7 PHP/7.2.34"
SERVER_NAME
"www.springroll.com.2.joel.ehungry.net"
SERVER_ADDR
"127.0.0.1"
SERVER_PORT
"80"
REMOTE_ADDR
"216.73.217.30"
DOCUMENT_ROOT
"/home/deploy/EHungry-2-joel/Web"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/deploy/EHungry-2-joel/Web"
SERVER_ADMIN
"root@localhost"
SCRIPT_FILENAME
"/home/deploy/EHungry-2-joel/Web/index.php"
REMOTE_PORT
"56422"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=sitemap.xml"
REQUEST_URI
"/sitemap.xml"
SCRIPT_NAME
"/sitemap.xml"
PHP_SELF
"/sitemap.xml"
REQUEST_TIME_FLOAT
1776711714.918
REQUEST_TIME
1776711714
empty
0. Whoops\Handler\PrettyPageHandler