Skip to content
THIS IS DEV LEVEL 2
 
Forgot your password?
Whoops! There was an error.
Error
Call to undefined function Auth\SsoSignInDivider() Error thrown with message "Call to undefined function Auth\SsoSignInDivider()" Stacktrace: #4 Error in /home/deploy/EHungry-2-joel/Web/auth/login.php:176 #3 Auth\LoginRoutes:form in /home/deploy/EHungry-2-joel/Web/auth/login.php:102 #2 Auth\LoginRoutes:modal in /home/deploy/EHungry-2-joel/Web/templates4.0/customer/footer.php:136 #1 include_once in /home/deploy/EHungry-2-joel/Web/controllers/customer.php:890 #0 require in /home/deploy/EHungry-2-joel/Web/index.php:30
Stack frames (5)
4
Error
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
auth
/
login.php
176
3
Auth
\
LoginRoutes
form
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
auth
/
login.php
102
2
Auth
\
LoginRoutes
modal
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
templates4.0
/
customer
/
footer.php
136
1
include_once
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
controllers
/
customer.php
890
0
require
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
index.php
30
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
auth
/
login.php
 
            <? // Forgot password ?>
            <div class="text-end mb-3">
                <a href="javascript:void(0)" data-bs-dismiss="modal" data-bs-toggle="modal" data-bs-target="#<?=Constants::FORGOT_PASSWORD_MODAL_ID?>" role="button">Forgot your password?</a>
            </div>
 
            <? // Remember me ?>
            <? // TODO: Implement - the value from the old "Remember me" checkbox doesn't seem to be used anywhere ?>
            <? // <div class="mb-4"> ?>
                <?//=\EDS\Checkbox(['class' => 'd-inline-block', 'name' => 'remember_me', 'value' => '1'], 'Remember me')?>
            <? // </div> ?>
 
            <? // Log in ?>
            <?=\EDS\Button(
                ['class' => 'w-100 mb-3', 'type' => 'submit'],
                \MainNavigationTab::getTabName($account ? $account->id : null, 'login', 'Log in')
            )?>
 
            <? // SSO Sign-In ?>
            <?=SsoSignInDivider()?>
            <?=GoogleSignInButton()?>
            <?=AppleSignInButton()?>
            <?=SsoConsentText()?>
 
            <? // Sign up ?>
            <div class="text-center mt-3">
                Don't have an account?
                <a href="javascript:void(0)" data-bs-dismiss="modal" data-bs-toggle="modal" data-bs-target="#<?=Constants::REGISTER_MODAL_ID?>" role="button">Sign up</a>
            </div>
        </form>
 
        <?
        return ob_get_clean();
    }
}
 
Arguments
  1. "Call to undefined function Auth\SsoSignInDivider()"
    
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
auth
/
login.php
 
    public static function logOut(array $params, array $request) {
        \eHungry\Services\Auth::logout();
        return (
            Status()
            .
            '<script>gtag("set", "user_id", undefined)</script>'
            .
            "<script>$(() => app.event.emit('customer_logged_out'))</script>"
        );
    }
 
    // Components
    public static function modal() {
        $account = \eHungry\Services\Account::getAccount();
        return \EDS\Dialog([
            'id' => Constants::LOGIN_MODAL_ID,
            'size' => 'medium',
            'title' => $account && $account->guestCheckoutIsDisabled() ? 'Log in to proceed' : 'Log in',
            'body' => static::form(),
        ]);
    }
 
    public static function form($attrs = []) {
        $account = \eHungry\Services\Account::getAccount();
        $props = \EDS\defaults($attrs, [
            'email'    => ['value' => ''],
            'password' => ['value' => ''],
        ]);
 
        ob_start();
        ?>
 
        <form
            id="login-form"
            name="login"
            data-async-on-submit
            method="post"
            action="<?=getUrl('/auth')?>"
            data-async-block="#<?=Constants::LOGIN_MODAL_ID?> .<?=\EDS\DialogConstants::CONTENT_CLASS?>"
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
templates4.0
/
customer
/
footer.php
                    <span class="notification-dismiss announcement-txt-color" onclick="closeAnnouncementModal();" aria-hidden="true" role="button">×</span>
                </div>
            </div>
        </div>
        <!-- Announcement Ends -->
    <? }
} ?>
 
</div>
<!-- wrapper ends -->
 
<? /** @var \Campaign|null $activeCampaign */
if ($activeCampaign) {
    require_once(App_Path . '/Web/templates/modal/campaign.php');
} ?>
 
<? // Renders all modals collected with `\EDS\Portal::input('modals', ...)` ?>
<?=\EDS\Portal::output('modals')?>
<?=\Auth\ForgotPasswordRoutes::forgotPasswordModal()?>
<?=\Auth\LoginRoutes::modal()?>
<?=\Auth\RegisterRoutes::modal()?>
 
<?=\EDS\Portal::output('toast-alert') ?: '<div id="toast-alert"></div>'?>
 
<? include(CORE_PATH . 'templates4.0/customer/modal_order_time.php');?>
 
<!-- www modal start -->
<?php if ($account && !$isCheckout) { ?>
<div class="modal fade mob_full_modal www_modal order-options" id="modal-order-options" tabindex="-1" role="dialog"
     aria-hidden="true" data-update-otype-on-modal-close>
    <div class="modal-dialog modal-fullscreen-sm-down mt-sm-6" role="document">
        <div class="modal-content">
            <button class="d-md-none close" type="button" data-bs-dismiss="modal" aria-label="Close"></button>
            <div class="modal-header">
                <div class="h4 modal-title">Order details</div>
            </div>
            <div class="modal-body">
                <div class="www_moda_content">
                    <div class="cs_box order_type" onchange="app.event.emit('order_type_changed', { order_type: event.target.value })">
                        <div class="h5">What:</div>
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
controllers
/
customer.php
$tab = MainNavigationTab::getAllForAccount($account->getId());
 
include_once(CORE_PATH.'lib/helpers/customer3.0.php');
 
if (!in_array($_REQUEST['form'], $viewContentOnly)) {
    App::debugbarTime('header');
    include_once(getLayoutPartPath('header'));
    App::debugbarTime('header');
}
 
App::debugbarTime("view '{$_REQUEST['form']}'");
$path = CORE_PATH.'view' . ($_REQUEST['_VERSION'] == 4 ? 4 : 3) . '.0/customer/'.$_REQUEST['form'].'.php';
if (is_readable($path)) {
    include_once($path);
}
App::debugbarTime("view '{$_REQUEST['form']}'");
 
if (!in_array($_REQUEST['form'], $viewContentOnly)) {
    App::debugbarTime('footer');
    include_once(getLayoutPartPath('footer'));
    App::debugbarTime('footer');
}
 
function getLayoutPartPath($part) {
    if (isset($_REQUEST['_CORDOVA_APP']) && $_REQUEST['_VERSION'] != 4) {
        $cart = Cart::getCurrent();
 
        //FIXME: it's technically possible to end up with $template = null
        if (!$_REQUEST['contentonly']) {
            $template = !isset($_REQUEST["altdoc"])? "app/$part" : "app/alt$part";
        }
    } else {
        $template = !isset($_REQUEST["altdoc"])? "customer/$part" : "customer/alt$part";
    }
 
    if ($_REQUEST['_VERSION'] == 4) {
        return CORE_PATH."templates4.0/$template.php";
    } else {
        return CORE_PATH."templates3.0/$template.php";
    }
Arguments
  1. "/home/deploy/EHungry-2-joel/Web/templates4.0/customer/footer.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/customer.php"
    

Environment & details:

Key Value
aid
"restaurant/pekingtaste/order/main/luncheon-special"
empty
empty
Key Value
PHPSESSID
"q84n21c9hvrb7hrtvrkuhua381"
Key Value
loc
"en_US"
customer_account_id
18793
cart
Cart {}
restaurant_id
14127
status
array:2 [
  1 => []
  2 => []
]
menu_id
17153
eot
1778978825
redirect_form
"checkout"
Key Value
UNIQUE_ID
"agjf_JyBDTtCg3xmWmUYDAAAAAQ"
SCRIPT_URL
"/restaurant/pekingtaste/order/main/luncheon-special"
SCRIPT_URI
"http://www.springroll.com.2.joel.ehungry.net/restaurant/pekingtaste/order/main/luncheon-special"
HTTP_HOST
"www.springroll.com.2.joel.ehungry.net"
HTTP_X_REAL_IP
"216.73.217.0"
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_REFERER
"https://www.springroll.com.2.joel.ehungry.net/restaurant/pekingtaste/order/main/luncheon-special/spicy-shredded-beef-1"
HTTP_COOKIE
"PHPSESSID=q84n21c9hvrb7hrtvrkuhua381"
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.0"
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
"58456"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=restaurant/pekingtaste/order/main/luncheon-special"
REQUEST_URI
"/restaurant/pekingtaste/order/main/luncheon-special"
SCRIPT_NAME
"/restaurant/pekingtaste/order/main/luncheon-special"
PHP_SELF
"/restaurant/pekingtaste/order/main/luncheon-special"
REQUEST_TIME_FLOAT
1778966524.628
REQUEST_TIME
1778966524
empty
0. Whoops\Handler\PrettyPageHandler