Skip to content
THIS IS DEV LEVEL 2
 

Bamboo House - Rochester

2185 Monroe Ave Rochester, NY 14618

Open
Whoops! There was an error.
ArgumentCountError
Too few arguments to function EDS\Restaurant::storeInfo(), 2 passed in /home/deploy/EHungry-2-joel/Web/templates4.0/customer/header.php on line 517 and exactly 3 expected ArgumentCountError thrown with message "Too few arguments to function EDS\Restaurant::storeInfo(), 2 passed in /home/deploy/EHungry-2-joel/Web/templates4.0/customer/header.php on line 517 and exactly 3 expected" Stacktrace: #3 ArgumentCountError in /home/deploy/EHungry-2-joel/Web/eds/ordering/restaurant.php:154 #2 EDS\Restaurant:storeInfo in /home/deploy/EHungry-2-joel/Web/templates4.0/customer/header.php:517 #1 include_once in /home/deploy/EHungry-2-joel/Web/controllers/customer.php:867 #0 require in /home/deploy/EHungry-2-joel/Web/index.php:30
Stack frames (4)
3
ArgumentCountError
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
eds
/
ordering
/
restaurant.php
154
2
EDS
\
Restaurant
storeInfo
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
templates4.0
/
customer
/
header.php
517
1
include_once
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
controllers
/
customer.php
867
0
require
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
index.php
30
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
eds
/
ordering
/
restaurant.php
 
        $orderingClosedUntil = \Cache::Get($orderingClosedUntilKey) >= $restaurant->getLocalTime() || \Cache::Get($orderingClosedUntilKey) === 'Indefinitely' ? \Cache::Get($orderingClosedUntilKey) : null;
        if (($isOpen && $showHoursIfOpen) || ($opensSoon && !$orderingClosedUntil)) {
            if ($hoursInfos['earliestOpen2'] && $restaurant->getLocalTime() > $hoursInfos['latestClose']) {
                echo date('g:iA', $hoursInfos['earliestOpen2']) . ' - ' . date('g:iA', $hoursInfos['latestClose2']);
            } else {
                echo date('g:iA', $earliestOpen) . ' - ' . date('g:iA', $hoursInfos['latestClose']);
            }
        } elseif (!$isOpen && $showHoursIfClosed) {
            if ($orderingClosedUntil === 'Indefinitely' || $nextOpenTime > strtotime('+99 years')) {
                echo 'Ordering disabled';
            } else {
                echo('Opens ' . $restaurant->getNextOpenTimeFormatted($nextOpenTime));
            }
        }
 
        return ob_get_clean();
    }
 
    public static function storeInfo($attrs, $children, \Restaurant $restaurant) {
        ob_start();
        ?>
 
        <? if (isSpringroll()) { ?>
            <? $store_info_modal_id = 'store-info-modal'; ?>
            <?=Button(
                array_merge([
                    'variant' => 'outline-secondary',
                    'size' => 'small',
                    'data-bs-toggle' => 'modal',
                    'data-bs-target' => "#$store_info_modal_id",
                    'data-async-on-click' => true,
                    'data-async-method' => 'get',
                    'data-async-action' => "/restaurant-info/$restaurant->id",
                    'data-async-target' => "#$store_info_modal_id ." . DialogConstants::BODY_CLASS,
                ], $attrs),
                Icon(['icon' => 'info-circle']) . ' ' . stringify_children($children)
            )?>
 
            <?=Dialog([
Arguments
  1. "Too few arguments to function EDS\Restaurant::storeInfo(), 2 passed in /home/deploy/EHungry-2-joel/Web/templates4.0/customer/header.php on line 517 and exactly 3 expected"
    
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
templates4.0
/
customer
/
header.php
                            <div class="p-3">
                                <div class="pb-1">
                                    <h1 role="heading" aria-level="2" class="eds-display-text-title-s m-0 p-0"><?=$restaurant->getDisplayName()?></h1>
                                    <? if (isSpringroll()) { ?>
                                        <p class="eds-copy-text-m-regular m-0">
                                            <?=$restaurant->getFullAddress(false)?>
                                        </p>
                                    <? } ?>
                                </div>
 
                                <div class="d-sm-flex align-items-baseline">
                                    <? if (!is_object($_REQUEST['_TEMPLATE_SETTINGS']['hide_open_sign']) || !$_REQUEST['_TEMPLATE_SETTINGS']['hide_open_sign'] || !$_REQUEST['_TEMPLATE_SETTINGS']['hide_open_sign']->getValue()) { ?>
                                        <div class="mt-2">
                                            <?=\EDS\Restaurant::openStatus([], $cart, $restaurant, !isSpringroll(), true, isSpringroll())?>
                                        </div>
                                    <? } ?>
 
                                    <div class="d-flex gap-2 ms-sm-auto mt-2">
                                        <? if (!is_object($_REQUEST['_TEMPLATE_SETTINGS']['hide_open_sign']) || !$_REQUEST['_TEMPLATE_SETTINGS']['hide_open_sign']->getValue()) { ?>
                                            <?=\EDS\Restaurant::storeInfo(['class' => 'col text-nowrap'], $restaurant)?>
                                        <? } ?>
 
                                        <? if (!isSpringroll() && $account && isCMO($account)) { ?>
                                            <?=\EDS\Restaurant::phone(['class' => 'col d-lg-none text-nowrap'], $restaurant)?>
                                        <? } ?>
 
                                        <? if (\RAHCampaign::isActiveForRestaurant($restaurant)) { ?>
                                            <?=\RAHCampaign::badge(true)?>
                                        <? } ?>
                                    </div>
                                </div>
                            </div>
                        <? } ?>
                    </section>
                </div>
            <? } ?>
 
            <? // Announcement banner ?>
            <? if ($_REQUEST['form'] != 'home' && $account && $account->hasVisibleAnnouncement("banner")) { ?>
                <? if (!isset($_SESSION['announcement_text']) || $_SESSION['announcement_text'] != $account->getContextualAnnouncementsHtml()) { ?>
Arguments
  1. array:1 [
      "class" => "col text-nowrap"
    ]
    
  2. Restaurant {}
    
/
home
/
deploy
/
EHungry-2-joel
/
Web
/
controllers
/
customer.php
}
 
if (!isset($cart) || !is_object($cart)) {
    $GLOBALS['cart'] = \Cart::getCurrent();
}
 
//unset callback data in the event someone didn't hit the callback validation page
if (!in_array($_REQUEST['form'], ['checkout', 'nosuchpage', 'validatecallback', 'viewdeliveryzone'])) {
    //TODO: probably need to add one more form here that is called ajax, callback seems to reset when it shouldnt
    unset($_SESSION['validation_data']);
}
 
$locs = $account->getActiveRestaurants('position');
$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'])) {
        $cart = Cart::getCurrent();
 
Arguments
  1. "/home/deploy/EHungry-2-joel/Web/templates4.0/customer/header.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/bamboohouseny/order/main-menu/vegetables/vegan-sesame-chicken-"
empty
empty
Key Value
PHPSESSID
"g0pv7a3dh5fll3sajbs2l3hsq4"
Key Value
loc
"en_US"
customer_account_id
100028
cart
Cart {}
restaurant_id
13263
app_banner_shown
true
eot
1770169716
menu_id
16126
Key Value
UNIQUE_ID
"aYJ48SYP1e5aRuKpl-4g4AAAAAQ"
SCRIPT_URL
"/restaurant/bamboohouseny/order/main-menu/vegetables/vegan-sesame-chicken-"
SCRIPT_URI
"http://www.springroll.com.2.joel.ehungry.net/restaurant/bamboohouseny/order/main-menu/vegetables/vegan-sesame-chicken-"
HTTP_HOST
"www.springroll.com.2.joel.ehungry.net"
HTTP_X_REAL_IP
"216.73.216.212"
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=g0pv7a3dh5fll3sajbs2l3hsq4"
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.212"
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
"53642"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=restaurant/bamboohouseny/order/main-menu/vegetables/vegan-sesame-chicken-"
REQUEST_URI
"/restaurant/bamboohouseny/order/main-menu/vegetables/vegan-sesame-chicken-"
SCRIPT_NAME
"/restaurant/bamboohouseny/order/main-menu/vegetables/vegan-sesame-chicken-"
PHP_SELF
"/restaurant/bamboohouseny/order/main-menu/vegetables/vegan-sesame-chicken-"
REQUEST_TIME_FLOAT
1770158321.016
REQUEST_TIME
1770158321
empty
0. Whoops\Handler\PrettyPageHandler