"Class 'Campaign' not found"
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
marketplace
/
index.php
        <meta name="twitter:image" content="<?=\EDS\Portal::output('image')?>">
 
        <? // Icon & theme settings ?>
        <link rel="manifest" href="<?=getAssetUrl('manifest.json')?>" />
        <link rel="shortcut icon" type="image/x-icon" href="<?=getAssetUrl('favicon.ico')?>" />
        <link rel="apple-touch-icon" href="<?=getAssetUrl('apple-touch-icon.png')?>">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="mobile-web-app-capable" content="yes">
        <meta name="theme-color" content="#d44220">
        <? foreach (\EDS\Portal::getPageMetadata() as $portalMetaData) { ?>
            <?= $portalMetaData ?>
        <? } ?>
        <? // Styles ?>
        <link type="text/css" rel="stylesheet" href="<?=Minify_getUri('marketplace_css')?>" />
        <link type="text/css" rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/themes/base/minified/jquery-ui.min.css" />
        <link type="text/css" rel="stylesheet" href="//fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Nunito:wght@400;500;700&display=swap" />
        <script src="https://kit.fontawesome.com/a4edb6363d.js" crossorigin="anonymous"></script>
        <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
        <script>window.jQuery || document.write('<script src="/web/default3.0/js/vendor/jquery-3.6.0.min.js"><\/script>')</script>
        <? include_once(CORE_PATH . 'templates4.0/customer/google_analytics.php'); ?>
    </head>
 
    <body>
        <a class="skip-to-content-link" href="#main">Skip to content</a>
        <? include(CORE_PATH . 'templates4.0/customer/header_devtools.php'); ?>
        <? include(CORE_PATH . 'templates3.0/customer/upgrade_browser_banner.php'); ?>
 
        <? // Header ?>
        <? include(__DIR__ . '/header.php'); ?>
 
        <? // Main ?>
        <main style="min-height: calc(100vh - var(--eds-header-height) * 1px - var(--eds-footer-height) * 1px)">
            <?=\EDS\Portal::output('main')?>
        </main>
 
        <? // Footer ?>
        <footer>
            <nav class="container-lg p-4 px-lg-0">
                <? include(__DIR__ . '/footer.php'); ?>
            </nav>
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
marketplace
/
router.php
    }
    // NOTE: At the moment we can skip updating these on the client side since clients don't see them
    // if (is_array($handler_output) && array_key_exists('description', $handler_output) && $handler_output['description']) {
    //     header("X-Meta-Description: {$handler_output['description']}");
    // }
    // if (is_array($handler_output) && array_key_exists('image', $handler_output) && $handler_output['image']) {
    //     header('X-Meta-Image: ' . rtrim(HTTPS_HOST, '/') . $handler_output['image']);
    // }
 
    foreach (\EDS\Portal::getAjaxHeaders() as $ajaxHeader) {
        header($ajaxHeader);
    }
 
    echo($handler_output['main'] ?? $handler_output);
} else {
    \EDS\Portal::input('title', $handler_output['title'] ?? $seo_defaults['title']);
    \EDS\Portal::input('description', $handler_output['description'] ?? $seo_defaults['description']);
    \EDS\Portal::input('image', rtrim(HTTPS_HOST, '/') . ($handler_output['image'] ?? $seo_defaults['image']));
    \EDS\Portal::input('main', $handler_output['main'] ?? $handler_output);
    include(__DIR__ . '/index.php');
}
 
Arguments
  1. "/home/deploy/EHungry-2-joel/Web/marketplace/index.php"
    
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
controllers
/
marketplace.php
<?
include(CORE_PATH . 'marketplace/router.php');
 
Arguments
  1. "/home/deploy/EHungry-2-joel/Web/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
"restaurants/new-york/franklin-square"
empty
empty
Key Value
PHPSESSID
"slr36i774elultk4o7qfvq1uu3"
Key Value
loc
"en_US"
customer_account_id
96320
cart
Cart {}
restaurant_id
7987
menu_id
10152
Key Value
UNIQUE_ID
"aWV7xHXw-Hz6mFNuJ_EpvwAAAAY"
SCRIPT_URL
"/restaurants/new-york/franklin-square"
SCRIPT_URI
"http://www.springroll.com.2.joel.ehungry.net/restaurants/new-york/franklin-square"
HTTP_HOST
"www.springroll.com.2.joel.ehungry.net"
HTTP_X_REAL_IP
"216.73.216.9"
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"
HTTP_COOKIE
"PHPSESSID=slr36i774elultk4o7qfvq1uu3"
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.216.9"
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
"42182"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=restaurants/new-york/franklin-square"
REQUEST_URI
"/restaurants/new-york/franklin-square"
SCRIPT_NAME
"/restaurants/new-york/franklin-square"
PHP_SELF
"/restaurants/new-york/franklin-square"
REQUEST_TIME_FLOAT
1768258500.938
REQUEST_TIME
1768258500
empty
0. Whoops\Handler\PrettyPageHandler