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. RedisException thrown with message "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." Stacktrace: #6 RedisException in /home/deploy/EHungry-5-boyan/Web/classes/Cache.class.php:69 #5 Redis:setex in /home/deploy/EHungry-5-boyan/Web/classes/Cache.class.php:69 #4 Cache:Set in /home/deploy/EHungry-5-boyan/Web/classes/Cache.class.php:53 #3 Cache:SetObject in /home/deploy/EHungry-5-boyan/Web/classes/Account.class.php:1562 #2 Account:getByAnyIdentifier in /home/deploy/EHungry-5-boyan/Web/lib/global.php:1124 #1 getAccountForRequest in /home/deploy/EHungry-5-boyan/PHP/Global.php:624 #0 require in /home/deploy/EHungry-5-boyan/Web/index.php:17
Stack frames (7)
6
RedisException
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
classes
/
Cache.class.php
69
5
Redis
setex
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
classes
/
Cache.class.php
69
4
Cache
Set
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
classes
/
Cache.class.php
53
3
Cache
SetObject
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
classes
/
Account.class.php
1562
2
Account
getByAnyIdentifier
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
lib
/
global.php
1124
1
getAccountForRequest
/
Global.php
624
0
require
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
index.php
17
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
classes
/
Cache.class.php
    }
 
    public static function SetObject($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function SetArray($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function SetBoolean($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function Set($key, $var, $expire = 86400) {
        App::debugbarLog('debug', "Cache set: $key");
        if ($i = static::getInstance()) {
            $var = static::beforeSet($var);
            return $expire > 0?
                $i->setEx($key, $expire, $var) :
                $i->set($key, $var);
        }
        return null;
    }
 
    public static function Exists(...$key):?bool {
        if ($i = static::getInstance()) {
            return $i->exists($key);
        }
        return null;
    }
 
    public static function Expire($key, $ttl) {
        if ($i = static::getInstance()) {
            return $i->expire($key, $ttl);
        }
        return false;
    }
 
    /**
Arguments
  1. "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."
    
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
classes
/
Cache.class.php
    }
 
    public static function SetObject($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function SetArray($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function SetBoolean($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function Set($key, $var, $expire = 86400) {
        App::debugbarLog('debug', "Cache set: $key");
        if ($i = static::getInstance()) {
            $var = static::beforeSet($var);
            return $expire > 0?
                $i->setEx($key, $expire, $var) :
                $i->set($key, $var);
        }
        return null;
    }
 
    public static function Exists(...$key):?bool {
        if ($i = static::getInstance()) {
            return $i->exists($key);
        }
        return null;
    }
 
    public static function Expire($key, $ttl) {
        if ($i = static::getInstance()) {
            return $i->expire($key, $ttl);
        }
        return false;
    }
 
    /**
Arguments
  1. "account_identifier_chinachefedison"
    
  2. 86400
    
  3. """
    O:7:"Account":30:{s:13:"\x00Account\x00plan";N;s:10:"timestamps";b:1;s:25:"\x00Account\x00_hasCustomDomain";N;s:8:"\x00*\x00casts";a:1:{s:13:"embed_origins";s:5:"array";}s:10:"\x00*\x00appends";a:2:{i:0;s:23:"location_wording_plural";i:1;s:25:"shipday_globally_disabled";}s:12:"pdfPageCount";i:0;s:9:"\x00*\x00hidden";a:1:{i:0;s:8:"password";}s:12:"\x00*\x00nullables";a:0:{}s:13:"\x00*\x00connection";N;s:8:"\x00*\x00table";N;s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:226:{s:11:"primary_fax";s:15:"(732) 287-8180 ";s:13:"primary_phone";s:15:"(732) 287-8180 ";s:3:"zip";s:5:"08817";s:5:"state";s:2:"NJ";s:4:"city";s:6:"Edison";s:7:"street2";s:0:"";s:7:"street1";s:10:"2060 NJ-27";s:2:"id";i:71650;s:9:"id_string";s:15:"chinachefedison";s:7:"url_tag";s:15:"chinachefedison";s:17:"marketing_url_tag";s:15:"chinachefedison";s:12:"display_name";s:19:"China Chef - Edison";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$2gGfVuoinDJkID..uIE8fOUNoTwpq25DFY/7qddl/R0LQvWIdiCSS";s:22:"password_last_modified";N;s:9:"tfa_since";N;s:10:"tfa_secret";N;s:8:"timezone";i:1;s:5:"suite";s:0:"";s:9:"is_locked";i:0;s:21:"is_permanently_closed";i:0;s:14:"logo_file_name";s:0:"";s:9:"app_title";s:19:"China Chef - Edison";s:14:"app_page_title";s:71:"China Chef | Order Online | 2060 NJ-27, Edison, NJ | Chinese Restaurant";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:982:"<h1 style="font-size:26px;">Welcome to {ACCOUNT_NAME}</h1>\n
    \n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n
    \n
    <p>China Chef offers healthy and delicious tasting Chinese cuisine in Edison, NJ.  China Chef's convenient location and affordable prices make our restaurant a natural choice for dine-in and take-out meals in the Edison community. Our restaurant is known for its varieties of tastes and fresh ingredients. Come and experience our friendly atmosphere and excellent service.</p>\n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">\n
    We Deliver. For Convenience, Order Online!</div>\n
    \n
    \n
    <p>Get started by clicking below or choosing a menu category on the right. Once you've selected the items you wish to order, you will be asked to register and the checkout. Your order will be sent to the restaurant, to be ready at the time you specify. It's that easy!</p>\n
    \n
    <h2><a href="&#63form=ordering">Start a New Order!</a></h2>\n
    \n
    <p> </p>\n
    ";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2016-04-03 20:06:32";s:11:"modified_at";s:19:"2018-11-25 10:41:35";s:23:"normalized_search_terms";s:0:"";s:15:"enabled_modules";s:5:"5376a";s:22:"default_user_full_name";s:17:"SAMPLE - DELIVERY";s:10:"first_name";s:0:"";s:9:"last_name";s:0:"";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:0;s:24:"seo_description_disabled";i:0;s:28:"self_print_campaigns_allowed";i:0;s:16:"default_currency";s:0:"";s:30:"reseller_user_invoice_currency";N;s:20:"payment_processor_id";i:0;s:23:"payment_processor_txkey";s:0:"";s:25:"payment_processor_loginid";s:0:"";s:28:"payment_processor_public_key";s:0:"";s:20:"order_calendar_color";s:0:"";s:23:"activity_calendar_color";s:0:"";s:20:"other_calendar_color";s:0:"";s:25:"order_calendar_foreground";s:0:"";s:28:"activity_calendar_foreground";s:0:"";s:25:"other_calendar_foreground";s:0:"";s:13:"mobile_number";s:15:"(646) 296-5189 ";s:14:"sms_is_enabled";i:0;s:19:"hide_logo_in_header";i:0;s:11:"template_id";i:34;s:19:"website_template_id";i:0;s:24:"website_template_enabled";i:0;s:19:"preview_template_id";i:0;s:21:"custom_admin_template";i:0;s:23:"same_page_cart_disabled";i:0;s:11:"show_coupon";i:0;s:11:"show_search";i:1;s:25:"menu_link_choose_location";i:0;s:10:"is_all_ssl";i:0;s:22:"custom_fax_layout_file";s:0:"";s:7:"is_demo";i:0;s:11:"is_billable";i:1;s:14:"last_billed_on";s:19:"0000-00-00 00:00:00";s:16:"start_billing_on";s:19:"2015-10-23 20:15:05";s:12:"pdf_password";s:7:"grape23";s:11:"invite_code";s:0:"";s:17:"custom_stylesheet";s:0:"";s:19:"show_student_fields";i:0;s:16:"reseller_user_id";i:66;s:10:"logo_width";i:0;s:11:"logo_height";i:0;s:12:"directory_id";i:0;s:19:"location_name_alias";s:0:"";s:15:"custom_survo_id";s:0:"";s:19:"max_calls_per_order";i:0;s:26:"old_ehungry_restaurant_ids";s:0:"";s:22:"previous_homepage_html";s:0:"";s:25:"order_confirmation_markup";s:0:"";s:21:"additional_custom_css";s:0:"";s:18:"individual_billing";i:0;s:20:"category_list_layout";s:0:"";s:30:"obscure_payment_info_on_orders";s:1:"0";s:17:"is_directory_only";i:0;s:23:"desktop_client_password";s:0:"";s:37:"desktop_client_password_last_modified";N;s:23:"manual_payment_captures";i:0;s:27:"payment_processor_test_mode";i:0;s:17:"affiliate_user_id";i:0;s:24:"show_option_choice_names";i:0;s:7:"tagline";s:0:"";s:20:"print_order_xml_file";s:0:"";s:17:"order_sequence_id";i:0;s:24:"sequence_numbers_enabled";i:0;s:25:"custom_ordersheet_message";s:59:"Please Process Credit Card or Collect Payment From Customer";s:34:"customer_custom_ordersheet_message";s:0:"";s:17:"account_tab_label";s:0:"";s:18:"calendar_tab_label";s:0:"";s:15:"order_tab_label";s:0:"";s:19:"hide_customer_stats";i:0;s:23:"show_errors_in_dialogue";i:0;s:26:"show_advanced_addon_params";i:0;s:25:"show_menus_simultaneously";i:0;s:8:"is_store";i:0;s:23:"default_menu_item_image";s:0:"";s:34:"add_customer_receipt_to_ordersheet";i:0;s:34:"add_new_customer_msg_to_ordersheet";i:0;s:25:"is_nonstandard_ordersheet";i:0;s:31:"permit_customer_order_deletions";i:0;s:16:"hide_price_names";i:0;s:29:"show_location_on_print_ticket";i:0;s:20:"custom_rightbar_info";s:0:"";s:30:"show_homepage_on_ordering_page";i:0;s:21:"show_price_names_only";i:0;s:21:"sms_send_by_secondary";i:0;s:26:"hidden_registration_fields";s:0:"";s:20:"allow_guest_checkout";i:1;s:10:"force_bill";i:0;s:20:"location_list_format";s:0:"";s:20:"allow_client_scripts";i:0;s:15:"has_mobile_site";i:0;s:17:"last_suspended_on";s:19:"0000-00-00 00:00:00";s:8:"bill_day";i:23;s:10:"force_efax";i:0;s:14:"mobile_tablets";i:0;s:14:"force_metrofax";i:0;s:12:"social_links";s:0:"";s:9:"home_link";s:0:"";s:13:"embed_origins";N;s:14:"copyright_name";s:0:"";s:12:"pricing_plan";i:0;s:21:"google_analytics_code";s:14:"UA-75728663-11";s:31:"google_analytics_linker_domains";s:0:"";s:26:"google_analytics_four_code";N;s:15:"paypal_api_data";s:0:"";s:16:"meta_description";s:75:"Order online from China Chef in Edison, NJ for chinese delivery and takeout";s:13:"meta_keywords";s:309:"china chef, china chef edison, china chef menu, edison chinese delivery, edison chinese food, edison chinese restaurants, chinese delivery, edison chinese takeout, best chinese food in edison, best chinese restaurants in edison, chinese restaurants in edison, chinese food near me, chinese restaurants near me";s:19:"getresponse_api_key";s:0:"";s:25:"getresponse_campaign_name";s:0:"";s:23:"getresponse_campaign_id";s:0:"";s:13:"email_service";s:8:"SENDGRID";s:14:"phone_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:12:"sms_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:11:"fax_service";s:6:"PHAXIO";s:18:"order_sms_priority";s:38:"["NEXMO","PLIVO","TWILIO","BANDWIDTH"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:29:"["PHAXIO","CONCORD","TWILIO"]";s:13:"admin_version";i:0;s:20:"group_orders_enabled";i:0;s:19:"auto_upsell_enabled";i:0;s:25:"hide_special_instructions";i:0;s:29:"special_instructions_required";i:0;s:28:"special_instructions_details";s:0:"";s:17:"homepage_override";s:0:"";s:13:"site_redirect";s:0:"";s:20:"admin_id_menu_access";i:0;s:6:"use_km";i:0;s:21:"default_ordering_page";i:0;s:14:"cancelled_date";s:19:"0000-00-00 00:00:00";s:17:"validate_callback";i:1;s:17:"skip_time_warning";i:0;s:7:"api_key";s:0:"";s:17:"facebook_pixel_id";s:0:"";s:21:"constant_contact_code";s:0:"";s:24:"constant_contact_form_id";s:0:"";s:38:"yelp_reservations_calendar_widget_code";s:0:"";s:21:"default_restaurant_id";i:7051;s:12:"allow_delete";i:0;s:31:"sms_order_notifications_enabled";i:0;s:36:"sms_order_notifications_for_delivery";i:0;s:34:"sms_order_notifications_for_dinein";i:0;s:34:"sms_order_notifications_for_pickup";i:0;s:31:"sms_order_notifications_minutes";i:0;s:25:"inventory_manager_enabled";i:0;s:18:"how_heard_about_us";N;s:26:"account_status_modified_at";N;s:35:"hide_restaurant_closed_checkout_msg";i:0;s:12:"use_v4_theme";N;s:32:"show_created_at_on_order_monitor";N;s:23:"show_cross_street_field";i:0;s:18:"announcements_html";N;s:21:"announcements_enabled";i:0;s:26:"announcements_expired_date";N;s:25:"display_zero_dollar_items";i:0;s:20:"new_receipt_disabled";i:0;s:23:"receipt_signature_shown";i:0;s:23:"receipt_extra_tip_shown";i:0;s:19:"receipt_email_shown";i:0;s:15:"is_receipt_bold";i:0;s:17:"receipt_font_size";i:100;s:19:"announcements_place";s:6:"header";s:9:"logo_size";s:10:"horizontal";s:23:"payment_options_enabled";i:0;s:16:"open_graph_image";N;s:25:"pos_notifications_enabled";i:0;s:35:"itsacheckmate_notifications_enabled";i:0;s:16:"menu_api_webhook";N;s:12:"menu_updated";i:0;s:36:"payment_aggregator_messaging_enabled";i:0;s:21:"payment_aggregator_id";N;s:17:"sales_tax_enabled";i:0;s:8:"tax_code";N;s:22:"shipday_enabled_status";i:0;s:35:"print_orders_without_prices_enabled";i:0;s:29:"shipday_auto_dispatch_enabled";i:0;s:28:"deliver_by_ourselves_enabled";i:0;s:36:"third_party_optimal_delivery_enabled";i:0;s:35:"third_party_services_status_enabled";i:0;s:18:"payment_aggregator";s:15:"CHINESE TAKEOUT";s:35:"daily_summary_detailed_fees_enabled";i:0;s:32:"springroll_announcements_enabled";i:0;s:31:"springroll_announcements_copied";i:0;s:29:"springroll_announcements_html";N;s:37:"springroll_announcements_expired_date";N;s:30:"springroll_announcements_place";s:6:"header";s:20:"adjustments_disabled";i:0;s:16:"use_new_homepage";i:0;s:18:"google_pay_enabled";i:0;s:23:"maximum_pp_order_amount";i:0;s:25:"location_wording_singular";N;s:23:"location_wording_plural";N;}s:11:"\x00*\x00original";a:226:{s:11:"primary_fax";s:15:"(732) 287-8180 ";s:13:"primary_phone";s:15:"(732) 287-8180 ";s:3:"zip";s:5:"08817";s:5:"state";s:2:"NJ";s:4:"city";s:6:"Edison";s:7:"street2";s:0:"";s:7:"street1";s:10:"2060 NJ-27";s:2:"id";i:71650;s:9:"id_string";s:15:"chinachefedison";s:7:"url_tag";s:15:"chinachefedison";s:17:"marketing_url_tag";s:15:"chinachefedison";s:12:"display_name";s:19:"China Chef - Edison";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$2gGfVuoinDJkID..uIE8fOUNoTwpq25DFY/7qddl/R0LQvWIdiCSS";s:22:"password_last_modified";N;s:9:"tfa_since";N;s:10:"tfa_secret";N;s:8:"timezone";i:1;s:5:"suite";s:0:"";s:9:"is_locked";i:0;s:21:"is_permanently_closed";i:0;s:14:"logo_file_name";s:0:"";s:9:"app_title";s:19:"China Chef - Edison";s:14:"app_page_title";s:71:"China Chef | Order Online | 2060 NJ-27, Edison, NJ | Chinese Restaurant";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:982:"<h1 style="font-size:26px;">Welcome to {ACCOUNT_NAME}</h1>\n
    \n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n
    \n
    <p>China Chef offers healthy and delicious tasting Chinese cuisine in Edison, NJ.  China Chef's convenient location and affordable prices make our restaurant a natural choice for dine-in and take-out meals in the Edison community. Our restaurant is known for its varieties of tastes and fresh ingredients. Come and experience our friendly atmosphere and excellent service.</p>\n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">\n
    We Deliver. For Convenience, Order Online!</div>\n
    \n
    \n
    <p>Get started by clicking below or choosing a menu category on the right. Once you've selected the items you wish to order, you will be asked to register and the checkout. Your order will be sent to the restaurant, to be ready at the time you specify. It's that easy!</p>\n
    \n
    <h2><a href="&#63form=ordering">Start a New Order!</a></h2>\n
    \n
    <p> </p>\n
    ";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2016-04-03 20:06:32";s:11:"modified_at";s:19:"2018-11-25 10:41:35";s:23:"normalized_search_terms";s:0:"";s:15:"enabled_modules";s:5:"5376a";s:22:"default_user_full_name";s:17:"SAMPLE - DELIVERY";s:10:"first_name";s:0:"";s:9:"last_name";s:0:"";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:0;s:24:"seo_description_disabled";i:0;s:28:"self_print_campaigns_allowed";i:0;s:16:"default_currency";s:0:"";s:30:"reseller_user_invoice_currency";N;s:20:"payment_processor_id";i:0;s:23:"payment_processor_txkey";s:0:"";s:25:"payment_processor_loginid";s:0:"";s:28:"payment_processor_public_key";s:0:"";s:20:"order_calendar_color";s:0:"";s:23:"activity_calendar_color";s:0:"";s:20:"other_calendar_color";s:0:"";s:25:"order_calendar_foreground";s:0:"";s:28:"activity_calendar_foreground";s:0:"";s:25:"other_calendar_foreground";s:0:"";s:13:"mobile_number";s:15:"(646) 296-5189 ";s:14:"sms_is_enabled";i:0;s:19:"hide_logo_in_header";i:0;s:11:"template_id";i:34;s:19:"website_template_id";i:0;s:24:"website_template_enabled";i:0;s:19:"preview_template_id";i:0;s:21:"custom_admin_template";i:0;s:23:"same_page_cart_disabled";i:0;s:11:"show_coupon";i:0;s:11:"show_search";i:1;s:25:"menu_link_choose_location";i:0;s:10:"is_all_ssl";i:0;s:22:"custom_fax_layout_file";s:0:"";s:7:"is_demo";i:0;s:11:"is_billable";i:1;s:14:"last_billed_on";s:19:"0000-00-00 00:00:00";s:16:"start_billing_on";s:19:"2015-10-23 20:15:05";s:12:"pdf_password";s:7:"grape23";s:11:"invite_code";s:0:"";s:17:"custom_stylesheet";s:0:"";s:19:"show_student_fields";i:0;s:16:"reseller_user_id";i:66;s:10:"logo_width";i:0;s:11:"logo_height";i:0;s:12:"directory_id";i:0;s:19:"location_name_alias";s:0:"";s:15:"custom_survo_id";s:0:"";s:19:"max_calls_per_order";i:0;s:26:"old_ehungry_restaurant_ids";s:0:"";s:22:"previous_homepage_html";s:0:"";s:25:"order_confirmation_markup";s:0:"";s:21:"additional_custom_css";s:0:"";s:18:"individual_billing";i:0;s:20:"category_list_layout";s:0:"";s:30:"obscure_payment_info_on_orders";s:1:"0";s:17:"is_directory_only";i:0;s:23:"desktop_client_password";s:0:"";s:37:"desktop_client_password_last_modified";N;s:23:"manual_payment_captures";i:0;s:27:"payment_processor_test_mode";i:0;s:17:"affiliate_user_id";i:0;s:24:"show_option_choice_names";i:0;s:7:"tagline";s:0:"";s:20:"print_order_xml_file";s:0:"";s:17:"order_sequence_id";i:0;s:24:"sequence_numbers_enabled";i:0;s:25:"custom_ordersheet_message";s:59:"Please Process Credit Card or Collect Payment From Customer";s:34:"customer_custom_ordersheet_message";s:0:"";s:17:"account_tab_label";s:0:"";s:18:"calendar_tab_label";s:0:"";s:15:"order_tab_label";s:0:"";s:19:"hide_customer_stats";i:0;s:23:"show_errors_in_dialogue";i:0;s:26:"show_advanced_addon_params";i:0;s:25:"show_menus_simultaneously";i:0;s:8:"is_store";i:0;s:23:"default_menu_item_image";s:0:"";s:34:"add_customer_receipt_to_ordersheet";i:0;s:34:"add_new_customer_msg_to_ordersheet";i:0;s:25:"is_nonstandard_ordersheet";i:0;s:31:"permit_customer_order_deletions";i:0;s:16:"hide_price_names";i:0;s:29:"show_location_on_print_ticket";i:0;s:20:"custom_rightbar_info";s:0:"";s:30:"show_homepage_on_ordering_page";i:0;s:21:"show_price_names_only";i:0;s:21:"sms_send_by_secondary";i:0;s:26:"hidden_registration_fields";s:0:"";s:20:"allow_guest_checkout";i:1;s:10:"force_bill";i:0;s:20:"location_list_format";s:0:"";s:20:"allow_client_scripts";i:0;s:15:"has_mobile_site";i:0;s:17:"last_suspended_on";s:19:"0000-00-00 00:00:00";s:8:"bill_day";i:23;s:10:"force_efax";i:0;s:14:"mobile_tablets";i:0;s:14:"force_metrofax";i:0;s:12:"social_links";s:0:"";s:9:"home_link";s:0:"";s:13:"embed_origins";N;s:14:"copyright_name";s:0:"";s:12:"pricing_plan";i:0;s:21:"google_analytics_code";s:14:"UA-75728663-11";s:31:"google_analytics_linker_domains";s:0:"";s:26:"google_analytics_four_code";N;s:15:"paypal_api_data";s:0:"";s:16:"meta_description";s:75:"Order online from China Chef in Edison, NJ for chinese delivery and takeout";s:13:"meta_keywords";s:309:"china chef, china chef edison, china chef menu, edison chinese delivery, edison chinese food, edison chinese restaurants, chinese delivery, edison chinese takeout, best chinese food in edison, best chinese restaurants in edison, chinese restaurants in edison, chinese food near me, chinese restaurants near me";s:19:"getresponse_api_key";s:0:"";s:25:"getresponse_campaign_name";s:0:"";s:23:"getresponse_campaign_id";s:0:"";s:13:"email_service";s:8:"SENDGRID";s:14:"phone_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:12:"sms_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:11:"fax_service";s:6:"PHAXIO";s:18:"order_sms_priority";s:38:"["NEXMO","PLIVO","TWILIO","BANDWIDTH"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:29:"["PHAXIO","CONCORD","TWILIO"]";s:13:"admin_version";i:0;s:20:"group_orders_enabled";i:0;s:19:"auto_upsell_enabled";i:0;s:25:"hide_special_instructions";i:0;s:29:"special_instructions_required";i:0;s:28:"special_instructions_details";s:0:"";s:17:"homepage_override";s:0:"";s:13:"site_redirect";s:0:"";s:20:"admin_id_menu_access";i:0;s:6:"use_km";i:0;s:21:"default_ordering_page";i:0;s:14:"cancelled_date";s:19:"0000-00-00 00:00:00";s:17:"validate_callback";i:1;s:17:"skip_time_warning";i:0;s:7:"api_key";s:0:"";s:17:"facebook_pixel_id";s:0:"";s:21:"constant_contact_code";s:0:"";s:24:"constant_contact_form_id";s:0:"";s:38:"yelp_reservations_calendar_widget_code";s:0:"";s:21:"default_restaurant_id";i:7051;s:12:"allow_delete";i:0;s:31:"sms_order_notifications_enabled";i:0;s:36:"sms_order_notifications_for_delivery";i:0;s:34:"sms_order_notifications_for_dinein";i:0;s:34:"sms_order_notifications_for_pickup";i:0;s:31:"sms_order_notifications_minutes";i:0;s:25:"inventory_manager_enabled";i:0;s:18:"how_heard_about_us";N;s:26:"account_status_modified_at";N;s:35:"hide_restaurant_closed_checkout_msg";i:0;s:12:"use_v4_theme";N;s:32:"show_created_at_on_order_monitor";N;s:23:"show_cross_street_field";i:0;s:18:"announcements_html";N;s:21:"announcements_enabled";i:0;s:26:"announcements_expired_date";N;s:25:"display_zero_dollar_items";i:0;s:20:"new_receipt_disabled";i:0;s:23:"receipt_signature_shown";i:0;s:23:"receipt_extra_tip_shown";i:0;s:19:"receipt_email_shown";i:0;s:15:"is_receipt_bold";i:0;s:17:"receipt_font_size";i:100;s:19:"announcements_place";s:6:"header";s:9:"logo_size";s:10:"horizontal";s:23:"payment_options_enabled";i:0;s:16:"open_graph_image";N;s:25:"pos_notifications_enabled";i:0;s:35:"itsacheckmate_notifications_enabled";i:0;s:16:"menu_api_webhook";N;s:12:"menu_updated";i:0;s:36:"payment_aggregator_messaging_enabled";i:0;s:21:"payment_aggregator_id";N;s:17:"sales_tax_enabled";i:0;s:8:"tax_code";N;s:22:"shipday_enabled_status";i:0;s:35:"print_orders_without_prices_enabled";i:0;s:29:"shipday_auto_dispatch_enabled";i:0;s:28:"deliver_by_ourselves_enabled";i:0;s:36:"third_party_optimal_delivery_enabled";i:0;s:35:"third_party_services_status_enabled";i:0;s:18:"payment_aggregator";s:15:"CHINESE TAKEOUT";s:35:"daily_summary_detailed_fees_enabled";i:0;s:32:"springroll_announcements_enabled";i:0;s:31:"springroll_announcements_copied";i:0;s:29:"springroll_announcements_html";N;s:37:"springroll_announcements_expired_date";N;s:30:"springroll_announcements_place";s:6:"header";s:20:"adjustments_disabled";i:0;s:16:"use_new_homepage";i:0;s:18:"google_pay_enabled";i:0;s:23:"maximum_pp_order_amount";i:0;s:25:"location_wording_singular";N;s:23:"location_wording_plural";N;}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:9:"\x00*\x00events";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:11:"\x00*\x00fillable";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}s:17:"\x00*\x00_uploadAccount";N;}
    """
    
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
classes
/
Cache.class.php
    public static function getInstance() {
        if (static::$redisObj === null) {
            static::$redisObj = new Redis();
            try {
                if (!@static::$redisObj->connect(static::$host, (int)static::$port)) {
                    static::$redisObj = false;
                    Splunk::log(Splunk::LOG_REDIS_CONN, ['error' => 'Error connecting']);
                } else {
                    static::$redisObj->select(static::$db);
                }
            } catch (RedisException $e) {
                static::$redisObj = false;
                Splunk::log(Splunk::LOG_REDIS_CONN, ['error' => 'Error connecting: '.$e->getMessage()]);
            }
        }
        return static::$redisObj;
    }
 
    public static function SetObject($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function SetArray($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function SetBoolean($key, $var, $expire = 86400) {
        return static::Set($key, serialize($var), $expire);
    }
 
    public static function Set($key, $var, $expire = 86400) {
        App::debugbarLog('debug', "Cache set: $key");
        if ($i = static::getInstance()) {
            $var = static::beforeSet($var);
            return $expire > 0?
                $i->setEx($key, $expire, $var) :
                $i->set($key, $var);
        }
        return null;
    }
Arguments
  1. "account_identifier_chinachefedison"
    
  2. """
    O:7:"Account":30:{s:13:"\x00Account\x00plan";N;s:10:"timestamps";b:1;s:25:"\x00Account\x00_hasCustomDomain";N;s:8:"\x00*\x00casts";a:1:{s:13:"embed_origins";s:5:"array";}s:10:"\x00*\x00appends";a:2:{i:0;s:23:"location_wording_plural";i:1;s:25:"shipday_globally_disabled";}s:12:"pdfPageCount";i:0;s:9:"\x00*\x00hidden";a:1:{i:0;s:8:"password";}s:12:"\x00*\x00nullables";a:0:{}s:13:"\x00*\x00connection";N;s:8:"\x00*\x00table";N;s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:226:{s:11:"primary_fax";s:15:"(732) 287-8180 ";s:13:"primary_phone";s:15:"(732) 287-8180 ";s:3:"zip";s:5:"08817";s:5:"state";s:2:"NJ";s:4:"city";s:6:"Edison";s:7:"street2";s:0:"";s:7:"street1";s:10:"2060 NJ-27";s:2:"id";i:71650;s:9:"id_string";s:15:"chinachefedison";s:7:"url_tag";s:15:"chinachefedison";s:17:"marketing_url_tag";s:15:"chinachefedison";s:12:"display_name";s:19:"China Chef - Edison";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$2gGfVuoinDJkID..uIE8fOUNoTwpq25DFY/7qddl/R0LQvWIdiCSS";s:22:"password_last_modified";N;s:9:"tfa_since";N;s:10:"tfa_secret";N;s:8:"timezone";i:1;s:5:"suite";s:0:"";s:9:"is_locked";i:0;s:21:"is_permanently_closed";i:0;s:14:"logo_file_name";s:0:"";s:9:"app_title";s:19:"China Chef - Edison";s:14:"app_page_title";s:71:"China Chef | Order Online | 2060 NJ-27, Edison, NJ | Chinese Restaurant";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:982:"<h1 style="font-size:26px;">Welcome to {ACCOUNT_NAME}</h1>\n
    \n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n
    \n
    <p>China Chef offers healthy and delicious tasting Chinese cuisine in Edison, NJ.  China Chef's convenient location and affordable prices make our restaurant a natural choice for dine-in and take-out meals in the Edison community. Our restaurant is known for its varieties of tastes and fresh ingredients. Come and experience our friendly atmosphere and excellent service.</p>\n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">\n
    We Deliver. For Convenience, Order Online!</div>\n
    \n
    \n
    <p>Get started by clicking below or choosing a menu category on the right. Once you've selected the items you wish to order, you will be asked to register and the checkout. Your order will be sent to the restaurant, to be ready at the time you specify. It's that easy!</p>\n
    \n
    <h2><a href="&#63form=ordering">Start a New Order!</a></h2>\n
    \n
    <p> </p>\n
    ";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2016-04-03 20:06:32";s:11:"modified_at";s:19:"2018-11-25 10:41:35";s:23:"normalized_search_terms";s:0:"";s:15:"enabled_modules";s:5:"5376a";s:22:"default_user_full_name";s:17:"SAMPLE - DELIVERY";s:10:"first_name";s:0:"";s:9:"last_name";s:0:"";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:0;s:24:"seo_description_disabled";i:0;s:28:"self_print_campaigns_allowed";i:0;s:16:"default_currency";s:0:"";s:30:"reseller_user_invoice_currency";N;s:20:"payment_processor_id";i:0;s:23:"payment_processor_txkey";s:0:"";s:25:"payment_processor_loginid";s:0:"";s:28:"payment_processor_public_key";s:0:"";s:20:"order_calendar_color";s:0:"";s:23:"activity_calendar_color";s:0:"";s:20:"other_calendar_color";s:0:"";s:25:"order_calendar_foreground";s:0:"";s:28:"activity_calendar_foreground";s:0:"";s:25:"other_calendar_foreground";s:0:"";s:13:"mobile_number";s:15:"(646) 296-5189 ";s:14:"sms_is_enabled";i:0;s:19:"hide_logo_in_header";i:0;s:11:"template_id";i:34;s:19:"website_template_id";i:0;s:24:"website_template_enabled";i:0;s:19:"preview_template_id";i:0;s:21:"custom_admin_template";i:0;s:23:"same_page_cart_disabled";i:0;s:11:"show_coupon";i:0;s:11:"show_search";i:1;s:25:"menu_link_choose_location";i:0;s:10:"is_all_ssl";i:0;s:22:"custom_fax_layout_file";s:0:"";s:7:"is_demo";i:0;s:11:"is_billable";i:1;s:14:"last_billed_on";s:19:"0000-00-00 00:00:00";s:16:"start_billing_on";s:19:"2015-10-23 20:15:05";s:12:"pdf_password";s:7:"grape23";s:11:"invite_code";s:0:"";s:17:"custom_stylesheet";s:0:"";s:19:"show_student_fields";i:0;s:16:"reseller_user_id";i:66;s:10:"logo_width";i:0;s:11:"logo_height";i:0;s:12:"directory_id";i:0;s:19:"location_name_alias";s:0:"";s:15:"custom_survo_id";s:0:"";s:19:"max_calls_per_order";i:0;s:26:"old_ehungry_restaurant_ids";s:0:"";s:22:"previous_homepage_html";s:0:"";s:25:"order_confirmation_markup";s:0:"";s:21:"additional_custom_css";s:0:"";s:18:"individual_billing";i:0;s:20:"category_list_layout";s:0:"";s:30:"obscure_payment_info_on_orders";s:1:"0";s:17:"is_directory_only";i:0;s:23:"desktop_client_password";s:0:"";s:37:"desktop_client_password_last_modified";N;s:23:"manual_payment_captures";i:0;s:27:"payment_processor_test_mode";i:0;s:17:"affiliate_user_id";i:0;s:24:"show_option_choice_names";i:0;s:7:"tagline";s:0:"";s:20:"print_order_xml_file";s:0:"";s:17:"order_sequence_id";i:0;s:24:"sequence_numbers_enabled";i:0;s:25:"custom_ordersheet_message";s:59:"Please Process Credit Card or Collect Payment From Customer";s:34:"customer_custom_ordersheet_message";s:0:"";s:17:"account_tab_label";s:0:"";s:18:"calendar_tab_label";s:0:"";s:15:"order_tab_label";s:0:"";s:19:"hide_customer_stats";i:0;s:23:"show_errors_in_dialogue";i:0;s:26:"show_advanced_addon_params";i:0;s:25:"show_menus_simultaneously";i:0;s:8:"is_store";i:0;s:23:"default_menu_item_image";s:0:"";s:34:"add_customer_receipt_to_ordersheet";i:0;s:34:"add_new_customer_msg_to_ordersheet";i:0;s:25:"is_nonstandard_ordersheet";i:0;s:31:"permit_customer_order_deletions";i:0;s:16:"hide_price_names";i:0;s:29:"show_location_on_print_ticket";i:0;s:20:"custom_rightbar_info";s:0:"";s:30:"show_homepage_on_ordering_page";i:0;s:21:"show_price_names_only";i:0;s:21:"sms_send_by_secondary";i:0;s:26:"hidden_registration_fields";s:0:"";s:20:"allow_guest_checkout";i:1;s:10:"force_bill";i:0;s:20:"location_list_format";s:0:"";s:20:"allow_client_scripts";i:0;s:15:"has_mobile_site";i:0;s:17:"last_suspended_on";s:19:"0000-00-00 00:00:00";s:8:"bill_day";i:23;s:10:"force_efax";i:0;s:14:"mobile_tablets";i:0;s:14:"force_metrofax";i:0;s:12:"social_links";s:0:"";s:9:"home_link";s:0:"";s:13:"embed_origins";N;s:14:"copyright_name";s:0:"";s:12:"pricing_plan";i:0;s:21:"google_analytics_code";s:14:"UA-75728663-11";s:31:"google_analytics_linker_domains";s:0:"";s:26:"google_analytics_four_code";N;s:15:"paypal_api_data";s:0:"";s:16:"meta_description";s:75:"Order online from China Chef in Edison, NJ for chinese delivery and takeout";s:13:"meta_keywords";s:309:"china chef, china chef edison, china chef menu, edison chinese delivery, edison chinese food, edison chinese restaurants, chinese delivery, edison chinese takeout, best chinese food in edison, best chinese restaurants in edison, chinese restaurants in edison, chinese food near me, chinese restaurants near me";s:19:"getresponse_api_key";s:0:"";s:25:"getresponse_campaign_name";s:0:"";s:23:"getresponse_campaign_id";s:0:"";s:13:"email_service";s:8:"SENDGRID";s:14:"phone_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:12:"sms_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:11:"fax_service";s:6:"PHAXIO";s:18:"order_sms_priority";s:38:"["NEXMO","PLIVO","TWILIO","BANDWIDTH"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:29:"["PHAXIO","CONCORD","TWILIO"]";s:13:"admin_version";i:0;s:20:"group_orders_enabled";i:0;s:19:"auto_upsell_enabled";i:0;s:25:"hide_special_instructions";i:0;s:29:"special_instructions_required";i:0;s:28:"special_instructions_details";s:0:"";s:17:"homepage_override";s:0:"";s:13:"site_redirect";s:0:"";s:20:"admin_id_menu_access";i:0;s:6:"use_km";i:0;s:21:"default_ordering_page";i:0;s:14:"cancelled_date";s:19:"0000-00-00 00:00:00";s:17:"validate_callback";i:1;s:17:"skip_time_warning";i:0;s:7:"api_key";s:0:"";s:17:"facebook_pixel_id";s:0:"";s:21:"constant_contact_code";s:0:"";s:24:"constant_contact_form_id";s:0:"";s:38:"yelp_reservations_calendar_widget_code";s:0:"";s:21:"default_restaurant_id";i:7051;s:12:"allow_delete";i:0;s:31:"sms_order_notifications_enabled";i:0;s:36:"sms_order_notifications_for_delivery";i:0;s:34:"sms_order_notifications_for_dinein";i:0;s:34:"sms_order_notifications_for_pickup";i:0;s:31:"sms_order_notifications_minutes";i:0;s:25:"inventory_manager_enabled";i:0;s:18:"how_heard_about_us";N;s:26:"account_status_modified_at";N;s:35:"hide_restaurant_closed_checkout_msg";i:0;s:12:"use_v4_theme";N;s:32:"show_created_at_on_order_monitor";N;s:23:"show_cross_street_field";i:0;s:18:"announcements_html";N;s:21:"announcements_enabled";i:0;s:26:"announcements_expired_date";N;s:25:"display_zero_dollar_items";i:0;s:20:"new_receipt_disabled";i:0;s:23:"receipt_signature_shown";i:0;s:23:"receipt_extra_tip_shown";i:0;s:19:"receipt_email_shown";i:0;s:15:"is_receipt_bold";i:0;s:17:"receipt_font_size";i:100;s:19:"announcements_place";s:6:"header";s:9:"logo_size";s:10:"horizontal";s:23:"payment_options_enabled";i:0;s:16:"open_graph_image";N;s:25:"pos_notifications_enabled";i:0;s:35:"itsacheckmate_notifications_enabled";i:0;s:16:"menu_api_webhook";N;s:12:"menu_updated";i:0;s:36:"payment_aggregator_messaging_enabled";i:0;s:21:"payment_aggregator_id";N;s:17:"sales_tax_enabled";i:0;s:8:"tax_code";N;s:22:"shipday_enabled_status";i:0;s:35:"print_orders_without_prices_enabled";i:0;s:29:"shipday_auto_dispatch_enabled";i:0;s:28:"deliver_by_ourselves_enabled";i:0;s:36:"third_party_optimal_delivery_enabled";i:0;s:35:"third_party_services_status_enabled";i:0;s:18:"payment_aggregator";s:15:"CHINESE TAKEOUT";s:35:"daily_summary_detailed_fees_enabled";i:0;s:32:"springroll_announcements_enabled";i:0;s:31:"springroll_announcements_copied";i:0;s:29:"springroll_announcements_html";N;s:37:"springroll_announcements_expired_date";N;s:30:"springroll_announcements_place";s:6:"header";s:20:"adjustments_disabled";i:0;s:16:"use_new_homepage";i:0;s:18:"google_pay_enabled";i:0;s:23:"maximum_pp_order_amount";i:0;s:25:"location_wording_singular";N;s:23:"location_wording_plural";N;}s:11:"\x00*\x00original";a:226:{s:11:"primary_fax";s:15:"(732) 287-8180 ";s:13:"primary_phone";s:15:"(732) 287-8180 ";s:3:"zip";s:5:"08817";s:5:"state";s:2:"NJ";s:4:"city";s:6:"Edison";s:7:"street2";s:0:"";s:7:"street1";s:10:"2060 NJ-27";s:2:"id";i:71650;s:9:"id_string";s:15:"chinachefedison";s:7:"url_tag";s:15:"chinachefedison";s:17:"marketing_url_tag";s:15:"chinachefedison";s:12:"display_name";s:19:"China Chef - Edison";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$2gGfVuoinDJkID..uIE8fOUNoTwpq25DFY/7qddl/R0LQvWIdiCSS";s:22:"password_last_modified";N;s:9:"tfa_since";N;s:10:"tfa_secret";N;s:8:"timezone";i:1;s:5:"suite";s:0:"";s:9:"is_locked";i:0;s:21:"is_permanently_closed";i:0;s:14:"logo_file_name";s:0:"";s:9:"app_title";s:19:"China Chef - Edison";s:14:"app_page_title";s:71:"China Chef | Order Online | 2060 NJ-27, Edison, NJ | Chinese Restaurant";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:982:"<h1 style="font-size:26px;">Welcome to {ACCOUNT_NAME}</h1>\n
    \n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n
    \n
    <p>China Chef offers healthy and delicious tasting Chinese cuisine in Edison, NJ.  China Chef's convenient location and affordable prices make our restaurant a natural choice for dine-in and take-out meals in the Edison community. Our restaurant is known for its varieties of tastes and fresh ingredients. Come and experience our friendly atmosphere and excellent service.</p>\n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">\n
    We Deliver. For Convenience, Order Online!</div>\n
    \n
    \n
    <p>Get started by clicking below or choosing a menu category on the right. Once you've selected the items you wish to order, you will be asked to register and the checkout. Your order will be sent to the restaurant, to be ready at the time you specify. It's that easy!</p>\n
    \n
    <h2><a href="&#63form=ordering">Start a New Order!</a></h2>\n
    \n
    <p> </p>\n
    ";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2016-04-03 20:06:32";s:11:"modified_at";s:19:"2018-11-25 10:41:35";s:23:"normalized_search_terms";s:0:"";s:15:"enabled_modules";s:5:"5376a";s:22:"default_user_full_name";s:17:"SAMPLE - DELIVERY";s:10:"first_name";s:0:"";s:9:"last_name";s:0:"";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:0;s:24:"seo_description_disabled";i:0;s:28:"self_print_campaigns_allowed";i:0;s:16:"default_currency";s:0:"";s:30:"reseller_user_invoice_currency";N;s:20:"payment_processor_id";i:0;s:23:"payment_processor_txkey";s:0:"";s:25:"payment_processor_loginid";s:0:"";s:28:"payment_processor_public_key";s:0:"";s:20:"order_calendar_color";s:0:"";s:23:"activity_calendar_color";s:0:"";s:20:"other_calendar_color";s:0:"";s:25:"order_calendar_foreground";s:0:"";s:28:"activity_calendar_foreground";s:0:"";s:25:"other_calendar_foreground";s:0:"";s:13:"mobile_number";s:15:"(646) 296-5189 ";s:14:"sms_is_enabled";i:0;s:19:"hide_logo_in_header";i:0;s:11:"template_id";i:34;s:19:"website_template_id";i:0;s:24:"website_template_enabled";i:0;s:19:"preview_template_id";i:0;s:21:"custom_admin_template";i:0;s:23:"same_page_cart_disabled";i:0;s:11:"show_coupon";i:0;s:11:"show_search";i:1;s:25:"menu_link_choose_location";i:0;s:10:"is_all_ssl";i:0;s:22:"custom_fax_layout_file";s:0:"";s:7:"is_demo";i:0;s:11:"is_billable";i:1;s:14:"last_billed_on";s:19:"0000-00-00 00:00:00";s:16:"start_billing_on";s:19:"2015-10-23 20:15:05";s:12:"pdf_password";s:7:"grape23";s:11:"invite_code";s:0:"";s:17:"custom_stylesheet";s:0:"";s:19:"show_student_fields";i:0;s:16:"reseller_user_id";i:66;s:10:"logo_width";i:0;s:11:"logo_height";i:0;s:12:"directory_id";i:0;s:19:"location_name_alias";s:0:"";s:15:"custom_survo_id";s:0:"";s:19:"max_calls_per_order";i:0;s:26:"old_ehungry_restaurant_ids";s:0:"";s:22:"previous_homepage_html";s:0:"";s:25:"order_confirmation_markup";s:0:"";s:21:"additional_custom_css";s:0:"";s:18:"individual_billing";i:0;s:20:"category_list_layout";s:0:"";s:30:"obscure_payment_info_on_orders";s:1:"0";s:17:"is_directory_only";i:0;s:23:"desktop_client_password";s:0:"";s:37:"desktop_client_password_last_modified";N;s:23:"manual_payment_captures";i:0;s:27:"payment_processor_test_mode";i:0;s:17:"affiliate_user_id";i:0;s:24:"show_option_choice_names";i:0;s:7:"tagline";s:0:"";s:20:"print_order_xml_file";s:0:"";s:17:"order_sequence_id";i:0;s:24:"sequence_numbers_enabled";i:0;s:25:"custom_ordersheet_message";s:59:"Please Process Credit Card or Collect Payment From Customer";s:34:"customer_custom_ordersheet_message";s:0:"";s:17:"account_tab_label";s:0:"";s:18:"calendar_tab_label";s:0:"";s:15:"order_tab_label";s:0:"";s:19:"hide_customer_stats";i:0;s:23:"show_errors_in_dialogue";i:0;s:26:"show_advanced_addon_params";i:0;s:25:"show_menus_simultaneously";i:0;s:8:"is_store";i:0;s:23:"default_menu_item_image";s:0:"";s:34:"add_customer_receipt_to_ordersheet";i:0;s:34:"add_new_customer_msg_to_ordersheet";i:0;s:25:"is_nonstandard_ordersheet";i:0;s:31:"permit_customer_order_deletions";i:0;s:16:"hide_price_names";i:0;s:29:"show_location_on_print_ticket";i:0;s:20:"custom_rightbar_info";s:0:"";s:30:"show_homepage_on_ordering_page";i:0;s:21:"show_price_names_only";i:0;s:21:"sms_send_by_secondary";i:0;s:26:"hidden_registration_fields";s:0:"";s:20:"allow_guest_checkout";i:1;s:10:"force_bill";i:0;s:20:"location_list_format";s:0:"";s:20:"allow_client_scripts";i:0;s:15:"has_mobile_site";i:0;s:17:"last_suspended_on";s:19:"0000-00-00 00:00:00";s:8:"bill_day";i:23;s:10:"force_efax";i:0;s:14:"mobile_tablets";i:0;s:14:"force_metrofax";i:0;s:12:"social_links";s:0:"";s:9:"home_link";s:0:"";s:13:"embed_origins";N;s:14:"copyright_name";s:0:"";s:12:"pricing_plan";i:0;s:21:"google_analytics_code";s:14:"UA-75728663-11";s:31:"google_analytics_linker_domains";s:0:"";s:26:"google_analytics_four_code";N;s:15:"paypal_api_data";s:0:"";s:16:"meta_description";s:75:"Order online from China Chef in Edison, NJ for chinese delivery and takeout";s:13:"meta_keywords";s:309:"china chef, china chef edison, china chef menu, edison chinese delivery, edison chinese food, edison chinese restaurants, chinese delivery, edison chinese takeout, best chinese food in edison, best chinese restaurants in edison, chinese restaurants in edison, chinese food near me, chinese restaurants near me";s:19:"getresponse_api_key";s:0:"";s:25:"getresponse_campaign_name";s:0:"";s:23:"getresponse_campaign_id";s:0:"";s:13:"email_service";s:8:"SENDGRID";s:14:"phone_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:12:"sms_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:11:"fax_service";s:6:"PHAXIO";s:18:"order_sms_priority";s:38:"["NEXMO","PLIVO","TWILIO","BANDWIDTH"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:29:"["PHAXIO","CONCORD","TWILIO"]";s:13:"admin_version";i:0;s:20:"group_orders_enabled";i:0;s:19:"auto_upsell_enabled";i:0;s:25:"hide_special_instructions";i:0;s:29:"special_instructions_required";i:0;s:28:"special_instructions_details";s:0:"";s:17:"homepage_override";s:0:"";s:13:"site_redirect";s:0:"";s:20:"admin_id_menu_access";i:0;s:6:"use_km";i:0;s:21:"default_ordering_page";i:0;s:14:"cancelled_date";s:19:"0000-00-00 00:00:00";s:17:"validate_callback";i:1;s:17:"skip_time_warning";i:0;s:7:"api_key";s:0:"";s:17:"facebook_pixel_id";s:0:"";s:21:"constant_contact_code";s:0:"";s:24:"constant_contact_form_id";s:0:"";s:38:"yelp_reservations_calendar_widget_code";s:0:"";s:21:"default_restaurant_id";i:7051;s:12:"allow_delete";i:0;s:31:"sms_order_notifications_enabled";i:0;s:36:"sms_order_notifications_for_delivery";i:0;s:34:"sms_order_notifications_for_dinein";i:0;s:34:"sms_order_notifications_for_pickup";i:0;s:31:"sms_order_notifications_minutes";i:0;s:25:"inventory_manager_enabled";i:0;s:18:"how_heard_about_us";N;s:26:"account_status_modified_at";N;s:35:"hide_restaurant_closed_checkout_msg";i:0;s:12:"use_v4_theme";N;s:32:"show_created_at_on_order_monitor";N;s:23:"show_cross_street_field";i:0;s:18:"announcements_html";N;s:21:"announcements_enabled";i:0;s:26:"announcements_expired_date";N;s:25:"display_zero_dollar_items";i:0;s:20:"new_receipt_disabled";i:0;s:23:"receipt_signature_shown";i:0;s:23:"receipt_extra_tip_shown";i:0;s:19:"receipt_email_shown";i:0;s:15:"is_receipt_bold";i:0;s:17:"receipt_font_size";i:100;s:19:"announcements_place";s:6:"header";s:9:"logo_size";s:10:"horizontal";s:23:"payment_options_enabled";i:0;s:16:"open_graph_image";N;s:25:"pos_notifications_enabled";i:0;s:35:"itsacheckmate_notifications_enabled";i:0;s:16:"menu_api_webhook";N;s:12:"menu_updated";i:0;s:36:"payment_aggregator_messaging_enabled";i:0;s:21:"payment_aggregator_id";N;s:17:"sales_tax_enabled";i:0;s:8:"tax_code";N;s:22:"shipday_enabled_status";i:0;s:35:"print_orders_without_prices_enabled";i:0;s:29:"shipday_auto_dispatch_enabled";i:0;s:28:"deliver_by_ourselves_enabled";i:0;s:36:"third_party_optimal_delivery_enabled";i:0;s:35:"third_party_services_status_enabled";i:0;s:18:"payment_aggregator";s:15:"CHINESE TAKEOUT";s:35:"daily_summary_detailed_fees_enabled";i:0;s:32:"springroll_announcements_enabled";i:0;s:31:"springroll_announcements_copied";i:0;s:29:"springroll_announcements_html";N;s:37:"springroll_announcements_expired_date";N;s:30:"springroll_announcements_place";s:6:"header";s:20:"adjustments_disabled";i:0;s:16:"use_new_homepage";i:0;s:18:"google_pay_enabled";i:0;s:23:"maximum_pp_order_amount";i:0;s:25:"location_wording_singular";N;s:23:"location_wording_plural";N;}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:9:"\x00*\x00events";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:11:"\x00*\x00fillable";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}s:17:"\x00*\x00_uploadAccount";N;}
    """
    
  3. 86400
    
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
classes
/
Account.class.php
            }
        }
        return null;
    }
 
    public static function getByAnyIdentifier($aid = "") {
        $aObj = Cache::GetObject('account_identifier_'.mb_strtolower($aid));
        if ($aObj) {
            return $aObj;
        }
 
        $db_conn = DB::conn();
        //since collation on column(s) is _ci (case insenstive) we don't need to do a LOWER() on the values or column
        $sql = "SELECT id FROM ".Account::getTableName()." WHERE ? IN (url_tag, marketing_url_tag, id_string)";
        $db_conn->bindParameter($sql, 1, $aid, "string");
        $result = $db_conn->query($sql);
        if ($result && $result->rowCount() > 0) {
            if ($row = $result->fetch()) {
                $a = new Account($row["id"]);
                Cache::SetObject('account_identifier_'.mb_strtolower($aid), $a);
                return $a;
            }
        }
        return null;
    }
 
    public static function getByApiKey($key) {
        if (strlen($key) < API_KEY_LENGTH) {
            return null;
        }
        $db_conn = DB::conn();
        $sql = "SELECT id FROM ".Account::getTableName()." WHERE api_key = ?";
        $db_conn->bindParameter($sql, 1, $key, "string");
        $result = $db_conn->query($sql);
        if ($result && $result->rowCount() === 1) {
            if ($row = $result->fetch()) {
                return new Account($row["id"]);
            }
        }
        return null;
Arguments
  1. "account_identifier_chinachefedison"
    
  2. Account {}
    
/
home
/
deploy
/
EHungry-5-boyan
/
Web
/
lib
/
global.php
 * It removes "data:" prefixes and corrects "+" as space; encodes that back to binary; and finds whether it's JPG or PNG.
 * @param string $img A base64 encoded image file
 * @return array{ 0: string, 1: ?string } 0 => base64 image file; 1 => image extension, or null if the image is invalid
 */
function base64_pic($img) {
    $img = str_replace('data:image/png;base64,', '', $img, $isPng);
    $img = str_replace('data:image/jpeg;base64,', '', $img, $isJpg);
    $img = str_replace(' ', '+', $img);
    return [base64_decode($img), $isPng? 'png' : ($isJpg? 'jpg' : null)];
}
 
//TODO: maybe move those getAccount methods into the Account class?
 
function getAccountForRequest(): ?Account {
    $customDomain = CustomDomain::getForDomain(HN_SECURE);
    if ($customDomain) {
        return $customDomain->account;
    } else {
        $id = $_REQUEST['account_id_string'] ?? $_REQUEST['aid'] ?? null;
        return $id? Account::getByAnyIdentifier($id) : null;
    }
}
 
/**
 * Finds the account ID stored in the session, giving preference to the Customer pages account.
 * @return int|null
 */
function getAccountIdFromSession(): ?int {
    return $_SESSION['customer_account_id'] ??
        $_SESSION['manager_account_id'] ??
        $_SESSION['account_id'] ??
        null;
}
 
function getAccountFromSession(): ?Account {
    if ($id = getAccountIdFromSession()) {
        return new Account($id);
    }
    return null;
}
Arguments
  1. "chinachefedison"
    
/
home
/
deploy
/
EHungry-5-boyan
/
PHP
/
Global.php
if (!$controller && isAjax()) {
    $controller = 'ajax';
}
 
//go through the rest of the controllers
if (!$controller) {
    foreach ($controllers as $k => $v) {
        if (preg_match("/^\/$k(\/|\?|#|$)/", $_SERVER['REQUEST_URI'])) {
            $controller = $v;
            break;
        }
    }
}
//must be cms or customer
if (!$controller && (!isset($customDomain) || !$customDomain) && (stristr($_SERVER['REQUEST_URI'], "/web/") || $_SERVER['REQUEST_URI'] == '/' || substr($_SERVER['REQUEST_URI'], 0, 2) == '/?')) {
    $controller = 'cms';
}
 
if (!$controller) {
    $account = getAccountForRequest();
    $websiteTemplateEnabled = $account->website_template_enabled ?? false; //unavailable on CLI scripts...
 
    if (isset($customDomain)
            && $websiteTemplateEnabled
            && $customDomain instanceof CustomDomain
            && $customDomain->isForWebsite()) {
        $controller = 'website';
    } else {
        $controller = 'customer';
    }
}
 
$_REQUEST['controller'] = $controller;
 
if ($controller != 'customer') {
    $formMap = [
        'mycreditcards' => Secure,
        'login' => Secure,
        'mypassword' => Secure,
        'billing' => Secure,
/
home
/
deploy
/
EHungry-5-boyan
/
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-5-boyan/PHP/Global.php"
    

Environment & details:

Key Value
aid
"restaurant/chinachefedison"
empty
empty
Key Value
PHPSESSID
"ic0bjj92v851gj8l8203jdt6ga"
Key Value
loc
"en_US"
Key Value
UNIQUE_ID
"afHCReLwv7K365J9coIjEAAAABs"
SCRIPT_URL
"/restaurant/chinachefedison"
SCRIPT_URI
"http://www.springroll.com.5.boyan.ehungry.net/restaurant/chinachefedison"
HTTP_HOST
"www.springroll.com.5.boyan.ehungry.net"
HTTP_X_REAL_IP
"216.73.217.127"
HTTP_X_FORWARDED_FOR
"216.73.217.127"
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=ic0bjj92v851gj8l8203jdt6ga"
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
"39786"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=restaurant/chinachefedison"
REQUEST_URI
"/restaurant/chinachefedison"
SCRIPT_NAME
"/restaurant/chinachefedison"
PHP_SELF
"/restaurant/chinachefedison"
REQUEST_TIME_FLOAT
1777451589.452
REQUEST_TIME
1777451589
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