RedisException
LOADING Redis is loading the dataset in memory RedisException thrown with message "LOADING Redis is loading the dataset in memory" Stacktrace: #2 RedisException in /home/deploy/EHungry-8-simon/PHP/Global.php:151 #1 session_start in /home/deploy/EHungry-8-simon/PHP/Global.php:151 #0 require in /home/deploy/EHungry-8-simon/Web/index.php:36
Stack frames (3)
2
RedisException
…
/
Global.php
151
1
session_start
…
/
Global.php
151
0
require
/
home
/
deploy
/
EHungry-8-simon
/
Web
/
index.php
36
/
home
/
deploy
/
EHungry-8-simon
/
PHP
/
Global.php
///////////////////////////////////////////////////////////////////////////////
// Initializing session
ini_set('session.gc_maxlifetime', 3600);
ini_set('session.cookie_httponly', 1);
ini_set('session.cookie_secure', 1);

if (!SameSiteNoneBug\unsafe()) {
    if (PHP_MINOR_VERSION >= 3) { //TODO: remove after PHP 7.3
        ini_set('session.cookie_samesite', 'None');
    } else {
        ini_set('session.cookie_path', '/; samesite=None'); //won't work on PHP 7.3
    }
}
if (!stristr($_SERVER['REQUEST_URI'], '/ordermonitor')    //doesn't need session
    && !stristr($_SERVER['REQUEST_URI'], '/tracking')     //doesn't need session
    && !stristr($_SERVER['REQUEST_URI'], '/squareoauth')  //start the session in the controller
    && !stristr($_SERVER['REQUEST_URI'], '/manager')      //start the session when checking authorization
    && !$isWellKnownRequest                               //.well-known is a public, sessionless response
) {
    session_start();
}

///////////////////////////////////////////////////////////////////////////////
// Initializing debugger pieces - session must be initialized first!
// TODO: figure out a way to enable IS_DEBUG through domains in production (i.e. in the customer pages of custom domain restaurants)
define(
    'IS_DEBUG',
    !$isWellKnownRequest //public verification responses must remain byte-exact
    && (DevLevel > 0 || isset($_SESSION['admin_id'])) //is a developer or a SuperAdmin
    && (isset($_REQUEST['debug']) || isset($_COOKIE['debug'])) //enabled debug, now or previously
    && (!isset($_REQUEST['debug']) || $_REQUEST['debug'] != '0') //and is passively using it, and not trying to disable
);

if (!$isWellKnownRequest && isset($_REQUEST['debug']) && $_REQUEST['debug'] == '0') {
    deletecookie('debug', '/');
} elseif (IS_DEBUG) {
    setcookie('debug', '1', time() + (60 * 60), '/');
}

App::initializeDebugbar();
Arguments
  1. "LOADING Redis is loading the dataset in memory"
    
/
home
/
deploy
/
EHungry-8-simon
/
PHP
/
Global.php
///////////////////////////////////////////////////////////////////////////////
// Initializing session
ini_set('session.gc_maxlifetime', 3600);
ini_set('session.cookie_httponly', 1);
ini_set('session.cookie_secure', 1);

if (!SameSiteNoneBug\unsafe()) {
    if (PHP_MINOR_VERSION >= 3) { //TODO: remove after PHP 7.3
        ini_set('session.cookie_samesite', 'None');
    } else {
        ini_set('session.cookie_path', '/; samesite=None'); //won't work on PHP 7.3
    }
}
if (!stristr($_SERVER['REQUEST_URI'], '/ordermonitor')    //doesn't need session
    && !stristr($_SERVER['REQUEST_URI'], '/tracking')     //doesn't need session
    && !stristr($_SERVER['REQUEST_URI'], '/squareoauth')  //start the session in the controller
    && !stristr($_SERVER['REQUEST_URI'], '/manager')      //start the session when checking authorization
    && !$isWellKnownRequest                               //.well-known is a public, sessionless response
) {
    session_start();
}

///////////////////////////////////////////////////////////////////////////////
// Initializing debugger pieces - session must be initialized first!
// TODO: figure out a way to enable IS_DEBUG through domains in production (i.e. in the customer pages of custom domain restaurants)
define(
    'IS_DEBUG',
    !$isWellKnownRequest //public verification responses must remain byte-exact
    && (DevLevel > 0 || isset($_SESSION['admin_id'])) //is a developer or a SuperAdmin
    && (isset($_REQUEST['debug']) || isset($_COOKIE['debug'])) //enabled debug, now or previously
    && (!isset($_REQUEST['debug']) || $_REQUEST['debug'] != '0') //and is passively using it, and not trying to disable
);

if (!$isWellKnownRequest && isset($_REQUEST['debug']) && $_REQUEST['debug'] == '0') {
    deletecookie('debug', '/');
} elseif (IS_DEBUG) {
    setcookie('debug', '1', time() + (60 * 60), '/');
}

App::initializeDebugbar();
/
home
/
deploy
/
EHungry-8-simon
/
Web
/
index.php
 
// AWS target-group health checks use an IP-based Host header, so respond before the normal hostname,
// session, and database bootstrap. Reaching this point verifies the web server, PHP, and autoloader.
$healthCheckPath = parse_url($_SERVER['REQUEST_URI'] ?? '', PHP_URL_PATH);
if ($healthCheckPath === '/healthz') {
    header('Content-Type: text/plain; charset=utf-8');
    header('Cache-Control: no-store');
    if (($_SERVER['HTTP_X_EHUNGRY_HEALTH_CHECK'] ?? '') !== '1') {
        http_response_code(404);
        echo 'Not Found';
        exit;
    }
    http_response_code(200);
    echo 'OK';
    exit;
}
 
// 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-8-simon/PHP/Global.php"
    

Environment & details:

Key Value
aid
"restaurant/yummyyummylindenhurst/order/main/appetizers/16-beef-stick-4"
empty
empty
empty
empty
Key Value
UNIQUE_ID
"as9vZ_YI04jn1qGc66YDdQAAAAA"
SCRIPT_URL
"/restaurant/yummyyummylindenhurst/order/main/appetizers/16-beef-stick-4"
SCRIPT_URI
"http://www.springroll.com.8.simon.ehungry.net/restaurant/yummyyummylindenhurst/order/main/appetizers/16-beef-stick-4"
SPRINGROLL_LISTING_GLOBAL_CONCURRENCY
"35"
HTTP_HOST
"www.springroll.com.8.simon.ehungry.net"
HTTP_X_REAL_IP
"216.73.217.146"
HTTP_X_FORWARDED_FOR
"216.73.217.146"
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.69 () mod_wsgi/4.6.5 Python/3.7 PHP/7.2.34"
SERVER_NAME
"www.springroll.com.8.simon.ehungry.net"
SERVER_ADDR
"127.0.0.1"
SERVER_PORT
"80"
REMOTE_ADDR
"127.0.0.1"
DOCUMENT_ROOT
"/home/deploy/EHungry-8-simon/Web"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/deploy/EHungry-8-simon/Web"
SERVER_ADMIN
"root@localhost"
SCRIPT_FILENAME
"/home/deploy/EHungry-8-simon/Web/index.php"
REMOTE_PORT
"51472"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=restaurant/yummyyummylindenhurst/order/main/appetizers/16-beef-stick-4"
REQUEST_URI
"/restaurant/yummyyummylindenhurst/order/main/appetizers/16-beef-stick-4"
SCRIPT_NAME
"/restaurant/yummyyummylindenhurst/order/main/appetizers/16-beef-stick-4"
PHP_SELF
"/restaurant/yummyyummylindenhurst/order/main/appetizers/16-beef-stick-4"
REQUEST_TIME_FLOAT
1791979367.561
REQUEST_TIME
1791979367
empty
0. Whoops\Handler\PrettyPageHandler