Fatal error: Uncaught RedisException: read error on connection in /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php:140 Stack trace: #0 /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php(140): Redis->get('order_type_prio...') #1 /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php(120): Cache::Get('order_type_prio...') #2 /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php(106): Cache::GetType('array', 'order_type_prio...', false) #3 /home/deploy/EHungry-9-simon/Web/classes/OrderTypePriority.class.php(47): Cache::GetArray('order_type_prio...') #4 /home/deploy/EHungry-9-simon/Web/classes/Restaurant.class.php(2806): OrderTypePriority::getAllActiveForRestaurant(48786, 16563, true) #5 /home/deploy/EHungry-9-simon/Web/classes/Restaurant.class.php(2794): Restaurant->getOrderTypesByBaseType() #6 /home/deploy/EHungry-9-simon/Web/classes/BaseClass.class.php(556): Restaurant->getEnabledBaseOrderTypes(NULL) #7 /home/deploy/EHungry-9-simon/PHP/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php(444): in /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php on line 140
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_ERROR)
Uncaught RedisException: read error on connection in /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php:140 Stack trace: #0 /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php(140): Redis->get('order_type_prio...') #1 /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php(120): Cache::Get('order_type_prio...') #2 /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php(106): Cache::GetType('array', 'order_type_prio...', false) #3 /home/deploy/EHungry-9-simon/Web/classes/OrderTypePriority.class.php(47): Cache::GetArray('order_type_prio...') #4 /home/deploy/EHungry-9-simon/Web/classes/Restaurant.class.php(2806): OrderTypePriority::getAllActiveForRestaurant(48786, 16563, true) #5 /home/deploy/EHungry-9-simon/Web/classes/Restaurant.class.php(2794): Restaurant->getOrderTypesByBaseType() #6 /home/deploy/EHungry-9-simon/Web/classes/BaseClass.class.php(556): Restaurant->getEnabledBaseOrderTypes(NULL) #7 /home/deploy/EHungry-9-simon/PHP/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php(444): Whoops\Exception\ErrorException thrown with message "Uncaught RedisException: read error on connection in /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php:140 Stack trace: #0 /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php(140): Redis->get('order_type_prio...') #1 /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php(120): Cache::Get('order_type_prio...') #2 /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php(106): Cache::GetType('array', 'order_type_prio...', false) #3 /home/deploy/EHungry-9-simon/Web/classes/OrderTypePriority.class.php(47): Cache::GetArray('order_type_prio...') #4 /home/deploy/EHungry-9-simon/Web/classes/Restaurant.class.php(2806): OrderTypePriority::getAllActiveForRestaurant(48786, 16563, true) #5 /home/deploy/EHungry-9-simon/Web/classes/Restaurant.class.php(2794): Restaurant->getOrderTypesByBaseType() #6 /home/deploy/EHungry-9-simon/Web/classes/BaseClass.class.php(556): Restaurant->getEnabledBaseOrderTypes(NULL) #7 /home/deploy/EHungry-9-simon/PHP/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php(444): " Stacktrace: #0 Whoops\Exception\ErrorException in /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php:140
Stack frames (1)
0
Whoops
\
Exception
\
ErrorException
/
home
/
deploy
/
EHungry-9-simon
/
Web
/
classes
/
Cache.class.php
140
/
home
/
deploy
/
EHungry-9-simon
/
Web
/
classes
/
Cache.class.php
        if ($r) {
            $uco = unserialize($r);
            $typeFunc = 'is_'.$type;
            if ($typeFunc($uco) || ($allowNull && is_null($uco))) {
                return $uco;
            }
        }
        return $notFoundResult;
    }
 
    public static function Get($key) {
        if (array_key_exists($key, static::$requestCache)) {
            $r = static::$requestCache[$key];
            $r = static::afterGet($r);
            App::cacheHit($key);
            return $r;
        }
 
        if ($i = static::getInstance()) {
            if ($r = $i->get($key)) {
                //if a key has been used more than 3 times, store it in the in-memory request cache.
                //We don't store every cache load in-memory, otherwise we might run out of memory on some pages (eg if they load every account)
                if (!array_key_exists($key, static::$requestCount)) {
                    static::$requestCount[$key] = 0;
                }
                static::$requestCount[$key]++;
                if (static::$requestCount[$key] > 3) {
                    static::$requestCache[$key] = $r;
                }
                $r = static::afterGet($r);
                App::cacheHit($key);
            } else {
                App::cacheMiss($key);
            }
            return $r;
        }
        return false;
    }
 
    /**
Arguments
  1. """
    Uncaught RedisException: read error on connection in /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php:140\n
    Stack trace:\n
    #0 /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php(140): Redis->get('order_type_prio...')\n
    #1 /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php(120): Cache::Get('order_type_prio...')\n
    #2 /home/deploy/EHungry-9-simon/Web/classes/Cache.class.php(106): Cache::GetType('array', 'order_type_prio...', false)\n
    #3 /home/deploy/EHungry-9-simon/Web/classes/OrderTypePriority.class.php(47): Cache::GetArray('order_type_prio...')\n
    #4 /home/deploy/EHungry-9-simon/Web/classes/Restaurant.class.php(2806): OrderTypePriority::getAllActiveForRestaurant(48786, 16563, true)\n
    #5 /home/deploy/EHungry-9-simon/Web/classes/Restaurant.class.php(2794): Restaurant->getOrderTypesByBaseType()\n
    #6 /home/deploy/EHungry-9-simon/Web/classes/BaseClass.class.php(556): Restaurant->getEnabledBaseOrderTypes(NULL)\n
    #7 /home/deploy/EHungry-9-simon/PHP/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php(444): 
    """
    

Environment & details:

Key Value
aid
"restaurant/friendshouse/order/main/combination-platter/c2-sesame-chicken"
empty
empty
Key Value
PHPSESSID
"tevoiuo48gs3q9lfh1e7lhddn4"
Key Value
loc
"en_US"
customer_account_id
48786
cart
Cart {}
restaurant_id
16563
redirect_form
"checkout"
app_banner_shown
true
eot
1755887400
menu_id
19986
Key Value
UNIQUE_ID
"aKhCr_4S5ghTwUq7yFHaYgAAAAs"
SCRIPT_URL
"/restaurant/friendshouse/order/main/combination-platter/c2-sesame-chicken"
SCRIPT_URI
"http://www.springroll.com.9.simon.ehungry.net/restaurant/friendshouse/order/main/combination-platter/c2-sesame-chicken"
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=tevoiuo48gs3q9lfh1e7lhddn4"
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
"53622"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=restaurant/friendshouse/order/main/combination-platter/c2-sesame-chicken"
REQUEST_URI
"/restaurant/friendshouse/order/main/combination-platter/c2-sesame-chicken"
SCRIPT_NAME
"/restaurant/friendshouse/order/main/combination-platter/c2-sesame-chicken"
PHP_SELF
"/restaurant/friendshouse/order/main/combination-platter/c2-sesame-chicken"
REQUEST_TIME_FLOAT
1755857583.174
REQUEST_TIME
1755857583
empty
0. Whoops\Handler\PrettyPageHandler

Fatal error: Uncaught RedisException: Connection lost in [no active file]:0 Stack trace: #0 {main} thrown in [no active file] on line 0