Skip to content
THIS IS DEV LEVEL 4
 

Dumpling House - Newton

870 Walnut St Newton, MA 02461

Whoops! There was an error.
RedisException
MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error. RedisException thrown with message "MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error." Stacktrace: #5 RedisException in /home/deploy/EHungry-4-boyan/Web/classes/Cache.class.php:69 #4 Redis:setex in /home/deploy/EHungry-4-boyan/Web/classes/Cache.class.php:69 #3 Cache:Set in /home/deploy/EHungry-4-boyan/Web/eds/ordering/restaurant.php:115 #2 EDS\Restaurant:openStatus in /home/deploy/EHungry-4-boyan/Web/templates4.0/customer/header.php:510 #1 include_once in /home/deploy/EHungry-4-boyan/Web/controllers/customer.php:867 #0 require in /home/deploy/EHungry-4-boyan/Web/index.php:30
Stack frames (6)
5
RedisException
/
home
/
deploy
/
EHungry-4-boyan
/
Web
/
classes
/
Cache.class.php
69
4
Redis
setex
/
home
/
deploy
/
EHungry-4-boyan
/
Web
/
classes
/
Cache.class.php
69
3
Cache
Set
/
home
/
deploy
/
EHungry-4-boyan
/
Web
/
eds
/
ordering
/
restaurant.php
115
2
EDS
\
Restaurant
openStatus
/
home
/
deploy
/
EHungry-4-boyan
/
Web
/
templates4.0
/
customer
/
header.php
510
1
include_once
/
home
/
deploy
/
EHungry-4-boyan
/
Web
/
controllers
/
customer.php
867
0
require
/
home
/
deploy
/
EHungry-4-boyan
/
Web
/
index.php
30
/
home
/
deploy
/
EHungry-4-boyan
/
Web
/
classes
/
Cache.class.php
    }
 
    public static function SetObject($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function SetArray($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function SetBoolean($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function Set($key, $var, $expire = 86400) {
        App::debugbarLog('debug', "Cache set: $key");
        if ($i = static::getInstance()) {
            $var = static::beforeSet($var);
            return $expire > 0?
                $i->setEx($key, $expire, $var) :
                $i->set($key, $var);
        }
        return null;
    }
 
    public static function Exists(...$key):?bool {
        if ($i = static::getInstance()) {
            return $i->exists($key);
        }
        return null;
    }
 
    public static function Expire($key, $ttl) {
        if ($i = static::getInstance()) {
            return $i->expire($key, $ttl);
        }
        return false;
    }
 
    /**
Arguments
  1. "MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error."
    
/
home
/
deploy
/
EHungry-4-boyan
/
Web
/
classes
/
Cache.class.php
    }
 
    public static function SetObject($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function SetArray($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function SetBoolean($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function Set($key, $var, $expire = 86400) {
        App::debugbarLog('debug', "Cache set: $key");
        if ($i = static::getInstance()) {
            $var = static::beforeSet($var);
            return $expire > 0?
                $i->setEx($key, $expire, $var) :
                $i->set($key, $var);
        }
        return null;
    }
 
    public static function Exists(...$key):?bool {
        if ($i = static::getInstance()) {
            return $i->exists($key);
        }
        return null;
    }
 
    public static function Expire($key, $ttl) {
        if ($i = static::getInstance()) {
            return $i->expire($key, $ttl);
        }
        return false;
    }
 
    /**
Arguments
  1. "restaurant_status_open_until_6745"
    
  2. 86400
    
  3. 1772604000
    
/
home
/
deploy
/
EHungry-4-boyan
/
Web
/
eds
/
ordering
/
restaurant.php
                $hasAvailableDays =
                    $restaurant->hasAvailableDays($restaurant->getLocalTime(), $cart->getBaseOrderType());
                if ($hasAvailableDays) {
                    $nextOpenTime = $cart->getNextOpenTimeForAnyType($restaurant, $closedUntilTimestamp);
                    if (date('giA', $nextOpenTime) > date('giA', $earliestOpen)) {
                        $earliestOpen = $nextOpenTime;
                    }
                } else {
                    $orderingClosedUntil = 'Indefinitely';
                    $nextOpenTime = strtotime('+100 years');
                }
            } else {
                $nextOpenTime = $cart->getNextOpenTimeForAnyType($restaurant, $orderingClosedUntilTimestamp);
            }
            $opensSoon =
                !$isOpen && $orderingClosedUntil !== 'Indefinitely' && date('Y-m-d', $nextOpenTime) == date('Y-m-d', $restaurant->getLocalTime());
 
            if ($isOpen) {
                $closeTimestamp = $restaurant->getLatestEffectiveCloseTime($restaurant->getLocalTime());
                \Cache::Set($openUntilKey, $closeTimestamp);
            } elseif ($opensSoon) {
                \Cache::Set($opensSoonKey, $nextOpenTime);
                \Cache::Set($orderingClosedUntilKey, $orderingClosedUntil);
            } else {
                \Cache::Set($closedUntilKey, $nextOpenTime);
                \Cache::Set($orderingClosedUntilKey, $orderingClosedUntil);
            }
        }
 
        ob_start();
 
        echo Label(
            array_merge(
                $attrs,
                // Force this label on a single line as it's short enough
                ['class' => 'me-1 text-nowrap ' . ($attrs['class'] ?? ''), 'variant' => $isOpen ? 'success' : 'error', 'fill' => $fillStatusIfOpen && $isOpen]
            ),
            $isOpen ? 'Open' : ($opensSoon ? 'Opens Soon' : 'Closed')
        );
 
Arguments
  1. "restaurant_status_open_until_6745"
    
  2. 1772604000
    
/
home
/
deploy
/
EHungry-4-boyan
/
Web
/
templates4.0
/
customer
/
header.php
                        <div class="<?=$_REQUEST['form'] == 'home' ? 'home_hero' : 'menu_hero'?> backbgbox position-relative" role="img" aria-label="Image of food offered at the restaurant">
                            <? include(CORE_PATH. 'templates4.0/customer/logo.php'); ?>
                        </div>
 
                        <? // Restaurant open status & phone
                        if (is_object($restaurant)) { ?>
                            <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'], 'Store info', $restaurant)?>
                                        <? } ?>
 
                                        <? if (!isSpringroll() && $account && isCMO($account)) { ?>
                                            <?=\EDS\Restaurant::phone(['class' => 'col d-lg-none text-nowrap'], 'Call us', $restaurant)?>
                                        <? } ?>
 
                                        <? if (\RAHCampaign::isActiveForRestaurant($restaurant)) { ?>
                                            <?=\RAHCampaign::badge(true)?>
                                        <? } ?>
                                    </div>
                                </div>
                            </div>
                        <? } ?>
                    </section>
Arguments
  1. []
    
  2. Cart {}
    
  3. Restaurant {}
    
  4. false
    
  5. true
    
  6. true
    
/
home
/
deploy
/
EHungry-4-boyan
/
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-4-boyan/Web/templates4.0/customer/header.php"
    
/
home
/
deploy
/
EHungry-4-boyan
/
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-4-boyan/Web/controllers/customer.php"
    

Environment & details:

Key Value
aid
"restaurant/dumplinghousenewtonma/order/main-menu/chicken/f10-chestnut-chicken"
empty
empty
empty
Key Value
loc
"en_US"
customer_account_id
85434
cart
Cart {}
restaurant_id
6745
menu_id
8669
app_banner_shown
true
Key Value
UNIQUE_ID
"aacUiV5TfPCfVxQTeg0htQAAAAA"
SCRIPT_URL
"/restaurant/dumplinghousenewtonma/order/main-menu/chicken/f10-chestnut-chicken"
SCRIPT_URI
"http://www.springroll.com.4.boyan.ehungry.net/restaurant/dumplinghousenewtonma/order/main-menu/chicken/f10-chestnut-chicken"
HTTP_HOST
"www.springroll.com.4.boyan.ehungry.net"
HTTP_X_REAL_IP
"216.73.216.159"
HTTP_X_FORWARDED_FOR
"216.73.216.159"
HTTP_X_CONFKEY
"Main_Domain:6462"
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.66 () mod_wsgi/4.6.5 Python/3.7 PHP/7.2.34"
SERVER_NAME
"www.springroll.com.4.boyan.ehungry.net"
SERVER_ADDR
"127.0.0.1"
SERVER_PORT
"80"
REMOTE_ADDR
"127.0.0.1"
DOCUMENT_ROOT
"/home/deploy/EHungry-4-boyan/Web"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/deploy/EHungry-4-boyan/Web"
SERVER_ADMIN
"root@localhost"
SCRIPT_FILENAME
"/home/deploy/EHungry-4-boyan/Web/index.php"
REMOTE_PORT
"45958"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=restaurant/dumplinghousenewtonma/order/main-menu/chicken/f10-chestnut-chicken"
REQUEST_URI
"/restaurant/dumplinghousenewtonma/order/main-menu/chicken/f10-chestnut-chicken"
SCRIPT_NAME
"/restaurant/dumplinghousenewtonma/order/main-menu/chicken/f10-chestnut-chicken"
PHP_SELF
"/restaurant/dumplinghousenewtonma/order/main-menu/chicken/f10-chestnut-chicken"
REQUEST_TIME_FLOAT
1772557449.475
REQUEST_TIME
1772557449
empty
0. Whoops\Handler\PrettyPageHandler

Fatal error: Uncaught RedisException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error. in [no active file]:0 Stack trace: #0 {main} thrown in [no active file] on line 0