Order your
favorite
Asian food

The best takeout and delivery restaurants for

Chinese, Japanese, Korean, Thai food & more

Whoops! There was an error.
Error
Call to undefined method PostHog\PostHog::getFeatureFlag() Error thrown with message "Call to undefined method PostHog\PostHog::getFeatureFlag()" Stacktrace: #4 Error in /home/deploy/EHungry-5-boyan/Web/marketplace/routes/landing.php:269 #3 Marketplace\LandingRoute:get in /home/deploy/EHungry-5-boyan/Web/Services/Router.php:47 #2 eHungry\Services\Router:handle in /home/deploy/EHungry-5-boyan/Web/marketplace/router.php:34 #1 include in /home/deploy/EHungry-5-boyan/Web/controllers/marketplace.php:2 #0 require in /home/deploy/EHungry-5-boyan/Web/index.php:30
Stack frames (5)
4
Error
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
marketplace
/
routes
/
landing.php
269
3
Marketplace
\
LandingRoute
get
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
Services
/
Router.php
47
2
eHungry
\
Services
\
Router
handle
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
marketplace
/
router.php
34
1
include
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
controllers
/
marketplace.php
2
0
require
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
index.php
30
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
marketplace
/
routes
/
landing.php
                                        'data-event-on:geolocation_error' => "(error) => $(this).data('geolocation_error', error)",
                                        'data-event-on:geolocation_done' => 'this.hidden = true',
                                    ], 'Cancel')?>
                                </div>
                            </div>
                        </div>
 
                        <button
                            type="submit"
                            class="btn btn-warning px-4 py-3 text-uppercase"
                            style="font-family: var(--springroll-font-display); font-size: 1.5rem; letter-spacing: 0.1em"
                            data-event-on:google_maps_unsupported="$(this).text('Browse restaurants')"
                            data-event-on:geolocation_initial="this.disabled = false"
                            data-event-on:geolocation_loading="this.disabled = true"
                            data-event-on:geolocation_error="this.disabled = false"
                        >Search</button>
 
                    </div>
                    <?php
                    if (\PostHog\PostHog::getFeatureFlag('additional-link-to-increase-conversions-to-restaurants', 'user distinct id') == 'test') { ?>
                        <div class="text-center d-sm-none mt-2 eds-display-text-title-s fw-normal"><span>or</span><a href="https://springroll.com/restaurants" class="d-inline-block py-2 text-white my-2 ms-2 link-underline-warning link-offset-2">Browse all restaurants</a></div>
                    <?php } ?>
                </form>
            </div>
 
            <div class="overflow-hidden position-relative">
                <figure class="m-0" role="none">
                    <picture>
                        <source type="image/avif" srcset="<?=getAssetUrl('background-566w.avif')?> 566w, <?=getAssetUrl('background-1132w.avif')?> 1132w" />
                        <source type="image/jpeg" srcset="<?=getAssetUrl('background-566w.jpg')?> 566w, <?=getAssetUrl('background-1132w.jpg')?> 1132w" />
                        <img
                            style="object-fit: cover; width: 100%; height: 100vmin"
                            src="<?=getAssetUrl('background-1132w.jpg')?>"
                            srcset="<?=getAssetUrl('background-566w.jpg')?> 566w, <?=getAssetUrl('background-1132w.jpg')?> 1132w"
                            sizes="(max-width: 566px) 566px, 1132px"
                            alt="Image of traditional chinese food"
                            aria-hidden="true"
                        />
                    </picture>
                </figure>
Arguments
  1. "Call to undefined method PostHog\PostHog::getFeatureFlag()"
    
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
Services
/
Router.php
     * ```
     *
     * @return mixed
     */
    public static function handle(string $method, string $url, array $request, array $route_classes) {
        $_REQUEST['_VERSION'] = 4; // Important for some methods that rely on the version
 
        $account_id_string = Account::getAccountIdString();
        $decoded_url = urldecode($url); // Handle encoded characters like `%20`
        $unprefixed_url = $account_id_string
            ? preg_replace("/^\/$account_id_string/", '', $decoded_url)
            : $decoded_url;
 
        foreach ($route_classes as $route_class) {
            $routes = $route_class::ROUTES;
            foreach ($routes as $path => $handler) {
                $params = [];
 
                if (preg_match("/^$path\/?$/i", "$method $unprefixed_url", $params)) {
                    return $route_class::$handler($params, $request);
                }
            }
        }
 
        http_response_code(404);
        return '<div class="px-4 py-3">' . \EDS\Alert(['variant' => 'danger'], 'Not Found') . '</div>';
    }
}
 
Arguments
  1. array:1 [
      0 => "GET /"
    ]
    
  2. array:4 [
      "aid" => ""
      "status" => []
      "controller" => "marketplace"
      "form" => "home"
    ]
    
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
marketplace
/
router.php
require_once(CORE_PATH . 'auth/forgotpassword.php');
require_once(CORE_PATH . 'auth/login.php');
require_once(CORE_PATH . 'auth/register.php');
 
require_once(CORE_PATH . 'marketplace/assets/assets.php');
 
require_once(__DIR__ . '/routes/landing.php');
require_once(__DIR__ . '/routes/campaigns.php');
require_once(__DIR__ . '/routes/product.php');
require_once(__DIR__ . '/routes/restaurant_list.php');
require_once(__DIR__ . '/routes/restaurant_details.php');
require_once(__DIR__ . '/routes/support.php');
require_once(__DIR__ . '/routes/generatedfilesroute.php');
 
$handler_output = \eHungry\Services\Router::handle(
    $_SERVER['REQUEST_METHOD'],
    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ?? '/',
    $_REQUEST,
    [
        \AccountSettings\ProfileInfoRoutes::class,
        \AccountSettings\BasicInformationRoutes::class,
        \AccountSettings\ChangePasswordRoutes::class,
        \AccountSettings\AddressRoutes::class,
        \AccountSettings\PaymentMethodRoutes::class,
        \AccountSettings\CommunicationRoutes::class,
        \AccountSettings\CampaignsRoutes::class,
        \AccountSettings\AccountRoutes::class,
        \AccountSettings\OrderRoutes::class,
        \AccountSettings\CouponRoutes::class,
 
        \Auth\ForgotPasswordRoutes::class,
        \Auth\LoginRoutes::class,
        \Auth\RegisterRoutes::class,
 
        LandingRoute::class,
        CampaignsRoute::class,
        ProductRoute::class,
        RestaurantListRoute::class,
        RestaurantPageRoute::class,
        SupportRoutes::class,
Arguments
  1. "GET"
    
  2. "/"
    
  3. array:4 [
      "aid" => ""
      "status" => []
      "controller" => "marketplace"
      "form" => "home"
    ]
    
  4. array:20 [
      0 => "AccountSettings\ProfileInfoRoutes"
      1 => "AccountSettings\BasicInformationRoutes"
      2 => "AccountSettings\ChangePasswordRoutes"
      3 => "AccountSettings\AddressRoutes"
      4 => "AccountSettings\PaymentMethodRoutes"
      5 => "AccountSettings\CommunicationRoutes"
      6 => "AccountSettings\CampaignsRoutes"
      7 => "AccountSettings\AccountRoutes"
      8 => "AccountSettings\OrderRoutes"
      9 => "AccountSettings\CouponRoutes"
      10 => "Auth\ForgotPasswordRoutes"
      11 => "Auth\LoginRoutes"
      12 => "Auth\RegisterRoutes"
      13 => "Marketplace\LandingRoute"
      14 => "Marketplace\CampaignsRoute"
      15 => "Marketplace\ProductRoute"
      16 => "Marketplace\RestaurantListRoute"
      17 => "Marketplace\RestaurantPageRoute"
      18 => "Marketplace\SupportRoutes"
      19 => "Marketplace\GeneratedFilesRoute"
    ]
    
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
controllers
/
marketplace.php
<?
include(CORE_PATH . 'marketplace/router.php');
 
Arguments
  1. "/home/deploy/EHungry-5-boyan/Web/marketplace/router.php"
    
/
home
/
deploy
/
EHungry-5-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-5-boyan/Web/controllers/marketplace.php"
    

Environment & details:

Key Value
aid
""
empty
empty
empty
Key Value
loc
"en_US"
Key Value
UNIQUE_ID
"aXDSXcUeHYt4SetQv4NnxQAAAAE"
SCRIPT_URL
"/"
SCRIPT_URI
"http://www.springroll.com.5.boyan.ehungry.net/"
HTTP_HOST
"www.springroll.com.5.boyan.ehungry.net"
HTTP_X_REAL_IP
"216.73.216.48"
HTTP_X_FORWARDED_FOR
"216.73.216.48"
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.5.boyan.ehungry.net"
SERVER_ADDR
"127.0.0.1"
SERVER_PORT
"80"
REMOTE_ADDR
"127.0.0.1"
DOCUMENT_ROOT
"/home/deploy/EHungry-5-boyan/Web"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/deploy/EHungry-5-boyan/Web"
SERVER_ADMIN
"root@localhost"
SCRIPT_FILENAME
"/home/deploy/EHungry-5-boyan/Web/index.php"
REMOTE_PORT
"55674"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid="
REQUEST_URI
"/"
SCRIPT_NAME
"/"
PHP_SELF
"/"
REQUEST_TIME_FLOAT
1769001565.968
REQUEST_TIME
1769001565
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