ParseError
syntax error, unexpected ';', expecting ',' or ')' ParseError thrown with message "syntax error, unexpected ';', expecting ',' or ')'" Stacktrace: #2 ParseError in /home/deploy/EHungry-3-vlad/Web/checkout/cart.php:471 #1 include in /home/deploy/EHungry-3-vlad/Web/controllers/marketplace.php:2 #0 require in /home/deploy/EHungry-3-vlad/Web/index.php:30
Stack frames (3)
2
ParseError
/
home
/
deploy
/
EHungry-3-vlad
/
Web
/
checkout
/
cart.php
471
1
include
/
home
/
deploy
/
EHungry-3-vlad
/
Web
/
controllers
/
marketplace.php
2
0
require
/
home
/
deploy
/
EHungry-3-vlad
/
Web
/
index.php
30
/
home
/
deploy
/
EHungry-3-vlad
/
Web
/
checkout
/
cart.php
            <?=generateCSRF('checkout/cart')?>
            <input type="hidden" name="is_checkout" value="<?=$props['is_checkout'] ? 1 : 0?>" />
            <?=static::checkoutTotalField([], $cart)?>
 
            <? // Used by legacy code (custom.js, view4.0/customer/category.php) - drop with `ACCOUNT_USE_NEW_CART`. ?>
            <input type="hidden" id="hid-loggedin" value="<?=$customer && $customer->exists ? '1' : '0'?>" />
            <? // Read by `updatePaymentChoices` to hide payment options when a coupon fully covers the total or the order is below min-online-payment. ?>
            <input type="hidden" id="hid-cart-total" value="<?=$cart->getTotalInDollars()?>" />
            <input type="hidden" id="hid-min-amount-condition" value="<?=$min_amount_condition ? 1 : ''?>" />
 
            <? $cart_close_button = $props['is_checkout']
                ? false
                : \EDS\Button([
                    'class' => 'd-lg-none ms-auto',
                    'variant' => 'outline-secondary',
                    'shape' => 'circle',
                    'size' => 'large',
                    'onclick' => "app.event.emit('hide_cart')",
                    'aria-label' => 'Close cart',
                ], \EDS\Icon(['icon' => 'close', 'variant' => 'regular']; ?>
 
            <?=\EDS\Cart::header([
                'id' => 'cart-heading',
                'tabindex' => '-1',
                'data-event-on:cart_shown' => 'this.focus()',
                'count' => $number_of_cart_items,
                'close' => $cart_close_button,
                'expandable' => $props['is_checkout'],
                'expanded' => $props['items_expanded'],
            ])?>
 
            <? include(CORE_PATH. 'templates4.0/customer/change_location/cart.php'); ?>
 
            <? if ($closed_msg) { ?>
                <?=\EDS\Alert(
                    ['variant' => 'danger', 'width' => 'full', 'class' => 'mb-0'],
                    is_string($closed_msg) ? $closed_msg : 'Online ordering is not currently available.'
                )?>
            <? } else { ?>
                <? $back_to_menu_url = null; ?>
Arguments
  1. "syntax error, unexpected ';', expecting ',' or ')'"
    
/
home
/
deploy
/
EHungry-3-vlad
/
Web
/
controllers
/
marketplace.php
<?
include(CORE_PATH . 'marketplace/router.php');
 
/
home
/
deploy
/
EHungry-3-vlad
/
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-3-vlad/Web/controllers/marketplace.php"
    

Environment & details:

Key Value
aid
"sitemap.xml"
empty
empty
empty
Key Value
loc
"en_US"
Key Value
UNIQUE_ID
"asSxD1syLomCANrVmWTelwAAAAA"
SCRIPT_URL
"/sitemap.xml"
SCRIPT_URI
"http://www.springroll.com.3.vlad.ehungry.net/sitemap.xml"
HTTP_HOST
"www.springroll.com.3.vlad.ehungry.net"
HTTP_X_REAL_IP
"216.73.217.83"
HTTP_X_FORWARDED_FOR
"216.73.217.83"
HTTP_X_CONFKEY
"Main_Domain:38"
HTTP_SCHEME
"https"
HTTP_EHENV
"TODO"
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.68 () mod_wsgi/4.6.5 Python/3.7 PHP/7.2.34"
SERVER_NAME
"www.springroll.com.3.vlad.ehungry.net"
SERVER_ADDR
"127.0.0.1"
SERVER_PORT
"80"
REMOTE_ADDR
"127.0.0.1"
DOCUMENT_ROOT
"/home/deploy/EHungry-3-vlad/Web"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/deploy/EHungry-3-vlad/Web"
SERVER_ADMIN
"root@localhost"
SCRIPT_FILENAME
"/home/deploy/EHungry-3-vlad/Web/index.php"
REMOTE_PORT
"46662"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=sitemap.xml"
REQUEST_URI
"/sitemap.xml"
SCRIPT_NAME
"/sitemap.xml"
PHP_SELF
"/sitemap.xml"
REQUEST_TIME_FLOAT
1791275279.654
REQUEST_TIME
1791275279
empty
0. Whoops\Handler\PrettyPageHandler