Fatal error: Class 'eHungry\Util\BitmaskSet' not found in /home/deploy/EHungry-12/Web/classes/Bitmasks/OrderTemplatePlatforms.php on line 4
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_ERROR)
Class 'eHungry\Util\BitmaskSet' not found Whoops\Exception\ErrorException thrown with message "Class 'eHungry\Util\BitmaskSet' not found" Stacktrace: #0 Whoops\Exception\ErrorException in /home/deploy/EHungry-12/Web/classes/Bitmasks/OrderTemplatePlatforms.php:4
Stack frames (1)
0
Whoops
\
Exception
\
ErrorException
/
home
/
deploy
/
EHungry-12
/
Web
/
classes
/
Bitmasks
/
OrderTemplatePlatforms.php
4
/
home
/
deploy
/
EHungry-12
/
Web
/
classes
/
Bitmasks
/
OrderTemplatePlatforms.php
<?php
namespace eHungry\Bitmasks;
 
class OrderTemplatePlatforms extends \eHungry\Util\BitmaskSet {
    const DOT = 1; // Direct Order Template; everything except springroll
    const MOT = 2; // Marketplace Order Template; springroll
 
    public static function normalizeBitName(int $value, string $name): string {
        switch ($value) {
            case self::DOT:
                $out = 'DOT - Direct Order Template';
                break;
            case self::MOT:
                $out = 'MOT - Springroll';
                break;
            default:
                $out = parent::normalizeBitName($value, $name);
        }
 
        return $out;
    }
 
    public static function currentOrderingPlatform(bool $isSpringRoll): int {
        return ($isSpringRoll? self::MOT : self::DOT);
    }
}
 
Arguments
  1. "Class 'eHungry\Util\BitmaskSet' not found"
    

Environment & details:

Key Value
aid
"restaurant/demoaccount/order/main-menu/chicken/27-chicken-w-broccoli"
empty
empty
Key Value
PHPSESSID
"i1hu6olp44f0n1qp6fm8m3s4a0"
Key Value
loc
"en_US"
customer_account_id
5677
cart
Cart {}
restaurant_id
6312
menu_id
8178
Key Value
UNIQUE_ID
"aaCVqrCljMzCEq3q8g_zJQAAAAA"
SCRIPT_URL
"/restaurant/demoaccount/order/main-menu/chicken/27-chicken-w-broccoli"
SCRIPT_URI
"http://www.springroll.com.12.martin.ehungry.net/restaurant/demoaccount/order/main-menu/chicken/27-chicken-w-broccoli"
HTTP_HOST
"www.springroll.com.12.martin.ehungry.net"
HTTP_X_REAL_IP
"216.73.216.114"
HTTP_X_FORWARDED_FOR
"216.73.216.114"
HTTP_X_CONFKEY
"Main_Domain:13129"
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=i1hu6olp44f0n1qp6fm8m3s4a0"
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.12.martin.ehungry.net"
SERVER_ADDR
"127.0.0.1"
SERVER_PORT
"80"
REMOTE_ADDR
"127.0.0.1"
DOCUMENT_ROOT
"/home/deploy/EHungry-12/Web"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/deploy/EHungry-12/Web"
SERVER_ADMIN
"root@localhost"
SCRIPT_FILENAME
"/home/deploy/EHungry-12/Web/index.php"
REMOTE_PORT
"50046"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=restaurant/demoaccount/order/main-menu/chicken/27-chicken-w-broccoli"
REQUEST_URI
"/restaurant/demoaccount/order/main-menu/chicken/27-chicken-w-broccoli"
SCRIPT_NAME
"/restaurant/demoaccount/order/main-menu/chicken/27-chicken-w-broccoli"
PHP_SELF
"/restaurant/demoaccount/order/main-menu/chicken/27-chicken-w-broccoli"
REQUEST_TIME_FLOAT
1772131754.929
REQUEST_TIME
1772131754
empty
0. Whoops\Handler\PrettyPageHandler