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-9-simon/PHP/Global.php:138 #1 session_start in /home/deploy/EHungry-9-simon/PHP/Global.php:138 #0 require in /home/deploy/EHungry-9-simon/Web/index.php:17
Stack frames (3)
2
RedisException
/
Global.php
138
1
session_start
/
Global.php
138
0
require
/
home
/
deploy
/
EHungry-9-simon
/
Web
/
index.php
17
/
home
/
deploy
/
EHungry-9-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
) {
    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',
    (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 (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-9-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
) {
    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',
    (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 (isset($_REQUEST['debug']) && $_REQUEST['debug'] == '0') {
    deletecookie('debug', '/');
} elseif (IS_DEBUG) {
    setcookie('debug', '1', time() + (60 * 60), '/');
}
 
App::initializeDebugbar();
 
/
home
/
deploy
/
EHungry-9-simon
/
Web
/
index.php
<? /** @noinspection PhpIncludeInspection - to avoid marking dynamic includes */
 
//TODO create a «root»/_bootstrap.php which can be used by .psysh.php, tests/bootstrap.php and Web/index.php
require(dirname(__DIR__).'/PHP/base_consts.php');
require(dirname(__DIR__).'/PHP/autoloader.php');
initializeAutoLoader();
 
//disabled for now since we already have our own Alerts infrastructure, and it's not worth it to append another cloud provider to the startup of every freaking request; it's also not possible to catch errors this early if we depend on database checks, but we'll leave it here in case we change our mind?
//ErrorHandlers::sentryInit(); //early catch of errors and failsafe for smaller controllers, not in Sentry
 
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-9-simon/PHP/Global.php"
    

Environment & details:

Key Value
aid
"restaurant/wankowmi/order/main/luncheon-specials/8-mongolian-shrimp"
empty
empty
Key Value
PHPSESSID
"glvj67ped1o30tkkgkes0v44iu"
empty
Key Value
UNIQUE_ID
"aKixGJU2mmuGrNFw3ABvkQAAAAs"
SCRIPT_URL
"/restaurant/wankowmi/order/main/luncheon-specials/8-mongolian-shrimp"
SCRIPT_URI
"http://www.springroll.com.9.simon.ehungry.net/restaurant/wankowmi/order/main/luncheon-specials/8-mongolian-shrimp"
HTTP_HOST
"www.springroll.com.9.simon.ehungry.net"
HTTP_X_REAL_IP
"216.73.216.45"
HTTP_X_FORWARDED_FOR
"216.73.216.45"
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"
HTTP_COOKIE
"PHPSESSID=glvj67ped1o30tkkgkes0v44iu"
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.9.simon.ehungry.net"
SERVER_ADDR
"127.0.0.1"
SERVER_PORT
"80"
REMOTE_ADDR
"127.0.0.1"
DOCUMENT_ROOT
"/home/deploy/EHungry-9-simon/Web"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/deploy/EHungry-9-simon/Web"
SERVER_ADMIN
"root@localhost"
SCRIPT_FILENAME
"/home/deploy/EHungry-9-simon/Web/index.php"
REMOTE_PORT
"52484"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=restaurant/wankowmi/order/main/luncheon-specials/8-mongolian-shrimp"
REQUEST_URI
"/restaurant/wankowmi/order/main/luncheon-specials/8-mongolian-shrimp"
SCRIPT_NAME
"/restaurant/wankowmi/order/main/luncheon-specials/8-mongolian-shrimp"
PHP_SELF
"/restaurant/wankowmi/order/main/luncheon-specials/8-mongolian-shrimp"
REQUEST_TIME_FLOAT
1755885848.969
REQUEST_TIME
1755885848
empty
0. Whoops\Handler\PrettyPageHandler