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-3-boyan/Web/classes/Cache.class.php:69 #5 Redis:setex in /home/deploy/EHungry-3-boyan/Web/classes/Cache.class.php:69 #4 Cache:Set in /home/deploy/EHungry-3-boyan/Web/classes/Cache.class.php:53 #3 Cache:SetObject in /home/deploy/EHungry-3-boyan/Web/classes/Account.class.php:1573 #2 Account:getByAnyIdentifier in /home/deploy/EHungry-3-boyan/Web/lib/global.php:1115 #1 getAccountForRequest in /home/deploy/EHungry-3-boyan/Web/controllers/customer.php:259 #0 require in /home/deploy/EHungry-3-boyan/Web/index.php:30
Stack frames (7)
6
RedisException
/
home
/
deploy
/
EHungry-3-boyan
/
Web
/
classes
/
Cache.class.php
69
5
Redis
setex
/
home
/
deploy
/
EHungry-3-boyan
/
Web
/
classes
/
Cache.class.php
69
4
Cache
Set
/
home
/
deploy
/
EHungry-3-boyan
/
Web
/
classes
/
Cache.class.php
53
3
Cache
SetObject
/
home
/
deploy
/
EHungry-3-boyan
/
Web
/
classes
/
Account.class.php
1573
2
Account
getByAnyIdentifier
/
home
/
deploy
/
EHungry-3-boyan
/
Web
/
lib
/
global.php
1115
1
getAccountForRequest
/
home
/
deploy
/
EHungry-3-boyan
/
Web
/
controllers
/
customer.php
259
0
require
/
home
/
deploy
/
EHungry-3-boyan
/
Web
/
index.php
30
/
home
/
deploy
/
EHungry-3-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-3-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_newchinakingtampa"
    
  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:219:{s:11:"primary_fax";s:15:"(800) 353-6741 ";s:13:"primary_phone";s:14:"(813) 982-2688";s:3:"zip";s:5:"33647";s:5:"state";s:2:"FL";s:4:"city";s:5:"Tampa";s:7:"street2";s:0:"";s:7:"street1";s:22:"10940 Cross Creek Blvd";s:2:"id";i:69453;s:9:"id_string";s:17:"newchinakingtampa";s:7:"url_tag";s:17:"newchinakingtampa";s:17:"marketing_url_tag";s:17:"newchinakingtampa";s:12:"display_name";s:22:"New China King - Tampa";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$Kli8twBoOzkTwhrPdMyqU.jxH2ADJlIGo7DqzHO/t5gjQzD8XYsDq";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:14:"logo_file_name";s:0:"";s:9:"app_title";s:22:"New China King - Tampa";s:14:"app_page_title";s:61:"NEW CHINA KING – Tampa, FL | Order Online | Chinese Takeout";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1098:"<h1><span style="font-size:24px;">Welcome to {ACCOUNT_NAME}</span></h1>\n
    \n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n
    \n
    <p>New China King Restaurant offers delicious tasting New York style Chinese cuisine in Tampa, FL.  New China King's convenient location and affordable prices make our restaurant a natural choice for eat-in or take-out meals in the Tampa community. Our restaurant is known for its variety in taste and high quality fresh ingredients. Come and experience our friendly atmosphere and excellent service.</p>\n
    \n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">No Registration Required. Order Online! <span style="color:#FF0000;">Pick Up Only.</span></div>\n
    \n
    <p>Start ordering online by clicking the button below. Simply select the menu items you want, add them to your cart and checkout. Your order will be sent to the restaurant and will be ready at the time you specify. It's that easy!</p>\n
    \n
    <p><a href="/order"><img alt="Order Online Now" src="/web/images/default/orderonlinebutton.png" style="border:0;" /></a></p>\n
    \n
    <p> </p>";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2018-05-23 21:35:12";s:11:"modified_at";s:19:"2018-07-27 12:30:55";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:15:"Restaurant Name";s:9:"last_name";s:4:"City";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:1;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:0:"";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:37:"Please 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:14:"copyright_name";s:0:"";s:12:"pricing_plan";i:0;s:21:"google_analytics_code";s:14:"UA-76544200-48";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:0:"";s:13:"meta_keywords";s:253:"new china king, new china king tampa, new china king menu, tampa chinese takeout, tampa chinese food, tampa chinese restaurants, chinese takeout, best chinese food in tampa, chinese restaurants in tampa, chinese restaurants near me, chinese food 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:3:"SES";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:26:"["TWILIO","NEXMO","PLIVO"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:20:"["PHAXIO","CONCORD"]";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";N;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:11038;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: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:11:"\x00*\x00original";a:219:{s:11:"primary_fax";s:15:"(800) 353-6741 ";s:13:"primary_phone";s:14:"(813) 982-2688";s:3:"zip";s:5:"33647";s:5:"state";s:2:"FL";s:4:"city";s:5:"Tampa";s:7:"street2";s:0:"";s:7:"street1";s:22:"10940 Cross Creek Blvd";s:2:"id";i:69453;s:9:"id_string";s:17:"newchinakingtampa";s:7:"url_tag";s:17:"newchinakingtampa";s:17:"marketing_url_tag";s:17:"newchinakingtampa";s:12:"display_name";s:22:"New China King - Tampa";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$Kli8twBoOzkTwhrPdMyqU.jxH2ADJlIGo7DqzHO/t5gjQzD8XYsDq";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:14:"logo_file_name";s:0:"";s:9:"app_title";s:22:"New China King - Tampa";s:14:"app_page_title";s:61:"NEW CHINA KING – Tampa, FL | Order Online | Chinese Takeout";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1098:"<h1><span style="font-size:24px;">Welcome to {ACCOUNT_NAME}</span></h1>\n
    \n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n
    \n
    <p>New China King Restaurant offers delicious tasting New York style Chinese cuisine in Tampa, FL.  New China King's convenient location and affordable prices make our restaurant a natural choice for eat-in or take-out meals in the Tampa community. Our restaurant is known for its variety in taste and high quality fresh ingredients. Come and experience our friendly atmosphere and excellent service.</p>\n
    \n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">No Registration Required. Order Online! <span style="color:#FF0000;">Pick Up Only.</span></div>\n
    \n
    <p>Start ordering online by clicking the button below. Simply select the menu items you want, add them to your cart and checkout. Your order will be sent to the restaurant and will be ready at the time you specify. It's that easy!</p>\n
    \n
    <p><a href="/order"><img alt="Order Online Now" src="/web/images/default/orderonlinebutton.png" style="border:0;" /></a></p>\n
    \n
    <p> </p>";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2018-05-23 21:35:12";s:11:"modified_at";s:19:"2018-07-27 12:30:55";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:15:"Restaurant Name";s:9:"last_name";s:4:"City";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:1;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:0:"";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:37:"Please 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:14:"copyright_name";s:0:"";s:12:"pricing_plan";i:0;s:21:"google_analytics_code";s:14:"UA-76544200-48";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:0:"";s:13:"meta_keywords";s:253:"new china king, new china king tampa, new china king menu, tampa chinese takeout, tampa chinese food, tampa chinese restaurants, chinese takeout, best chinese food in tampa, chinese restaurants in tampa, chinese restaurants near me, chinese food 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:3:"SES";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:26:"["TWILIO","NEXMO","PLIVO"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:20:"["PHAXIO","CONCORD"]";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";N;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:11038;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: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: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-3-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_newchinakingtampa"
    
  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:219:{s:11:"primary_fax";s:15:"(800) 353-6741 ";s:13:"primary_phone";s:14:"(813) 982-2688";s:3:"zip";s:5:"33647";s:5:"state";s:2:"FL";s:4:"city";s:5:"Tampa";s:7:"street2";s:0:"";s:7:"street1";s:22:"10940 Cross Creek Blvd";s:2:"id";i:69453;s:9:"id_string";s:17:"newchinakingtampa";s:7:"url_tag";s:17:"newchinakingtampa";s:17:"marketing_url_tag";s:17:"newchinakingtampa";s:12:"display_name";s:22:"New China King - Tampa";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$Kli8twBoOzkTwhrPdMyqU.jxH2ADJlIGo7DqzHO/t5gjQzD8XYsDq";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:14:"logo_file_name";s:0:"";s:9:"app_title";s:22:"New China King - Tampa";s:14:"app_page_title";s:61:"NEW CHINA KING – Tampa, FL | Order Online | Chinese Takeout";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1098:"<h1><span style="font-size:24px;">Welcome to {ACCOUNT_NAME}</span></h1>\n
    \n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n
    \n
    <p>New China King Restaurant offers delicious tasting New York style Chinese cuisine in Tampa, FL.  New China King's convenient location and affordable prices make our restaurant a natural choice for eat-in or take-out meals in the Tampa community. Our restaurant is known for its variety in taste and high quality fresh ingredients. Come and experience our friendly atmosphere and excellent service.</p>\n
    \n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">No Registration Required. Order Online! <span style="color:#FF0000;">Pick Up Only.</span></div>\n
    \n
    <p>Start ordering online by clicking the button below. Simply select the menu items you want, add them to your cart and checkout. Your order will be sent to the restaurant and will be ready at the time you specify. It's that easy!</p>\n
    \n
    <p><a href="/order"><img alt="Order Online Now" src="/web/images/default/orderonlinebutton.png" style="border:0;" /></a></p>\n
    \n
    <p> </p>";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2018-05-23 21:35:12";s:11:"modified_at";s:19:"2018-07-27 12:30:55";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:15:"Restaurant Name";s:9:"last_name";s:4:"City";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:1;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:0:"";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:37:"Please 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:14:"copyright_name";s:0:"";s:12:"pricing_plan";i:0;s:21:"google_analytics_code";s:14:"UA-76544200-48";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:0:"";s:13:"meta_keywords";s:253:"new china king, new china king tampa, new china king menu, tampa chinese takeout, tampa chinese food, tampa chinese restaurants, chinese takeout, best chinese food in tampa, chinese restaurants in tampa, chinese restaurants near me, chinese food 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:3:"SES";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:26:"["TWILIO","NEXMO","PLIVO"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:20:"["PHAXIO","CONCORD"]";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";N;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:11038;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: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:11:"\x00*\x00original";a:219:{s:11:"primary_fax";s:15:"(800) 353-6741 ";s:13:"primary_phone";s:14:"(813) 982-2688";s:3:"zip";s:5:"33647";s:5:"state";s:2:"FL";s:4:"city";s:5:"Tampa";s:7:"street2";s:0:"";s:7:"street1";s:22:"10940 Cross Creek Blvd";s:2:"id";i:69453;s:9:"id_string";s:17:"newchinakingtampa";s:7:"url_tag";s:17:"newchinakingtampa";s:17:"marketing_url_tag";s:17:"newchinakingtampa";s:12:"display_name";s:22:"New China King - Tampa";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$Kli8twBoOzkTwhrPdMyqU.jxH2ADJlIGo7DqzHO/t5gjQzD8XYsDq";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:14:"logo_file_name";s:0:"";s:9:"app_title";s:22:"New China King - Tampa";s:14:"app_page_title";s:61:"NEW CHINA KING – Tampa, FL | Order Online | Chinese Takeout";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1098:"<h1><span style="font-size:24px;">Welcome to {ACCOUNT_NAME}</span></h1>\n
    \n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n
    \n
    <p>New China King Restaurant offers delicious tasting New York style Chinese cuisine in Tampa, FL.  New China King's convenient location and affordable prices make our restaurant a natural choice for eat-in or take-out meals in the Tampa community. Our restaurant is known for its variety in taste and high quality fresh ingredients. Come and experience our friendly atmosphere and excellent service.</p>\n
    \n
    <div style="color:#555555;font-size:1.2em;font-weight:bolder;">No Registration Required. Order Online! <span style="color:#FF0000;">Pick Up Only.</span></div>\n
    \n
    <p>Start ordering online by clicking the button below. Simply select the menu items you want, add them to your cart and checkout. Your order will be sent to the restaurant and will be ready at the time you specify. It's that easy!</p>\n
    \n
    <p><a href="/order"><img alt="Order Online Now" src="/web/images/default/orderonlinebutton.png" style="border:0;" /></a></p>\n
    \n
    <p> </p>";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2018-05-23 21:35:12";s:11:"modified_at";s:19:"2018-07-27 12:30:55";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:15:"Restaurant Name";s:9:"last_name";s:4:"City";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:1;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:0:"";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:37:"Please 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:14:"copyright_name";s:0:"";s:12:"pricing_plan";i:0;s:21:"google_analytics_code";s:14:"UA-76544200-48";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:0:"";s:13:"meta_keywords";s:253:"new china king, new china king tampa, new china king menu, tampa chinese takeout, tampa chinese food, tampa chinese restaurants, chinese takeout, best chinese food in tampa, chinese restaurants in tampa, chinese restaurants near me, chinese food 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:3:"SES";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:26:"["TWILIO","NEXMO","PLIVO"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:20:"["PHAXIO","CONCORD"]";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";N;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:11038;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: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: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-3-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_newchinakingtampa"
    
  2. Account {}
    
/
home
/
deploy
/
EHungry-3-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 => base64, 1 => ext]
 */
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' : 'jpg'];
}
 
//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. "newchinakingtampa"
    
/
home
/
deploy
/
EHungry-3-boyan
/
Web
/
controllers
/
customer.php
/** @var \CustomDomain $customDomain set in Global.php */
if ($customDomain) {
    $a = new Account($customDomain->getAccountId());
    if ($a->hasPermission(WHITELABEL)) {
        //adjust query string to match what the system expects without a custom domain
        $_REQUEST["aid"] = $a->getUrlTag();
        if (strpos($_SERVER['QUERY_STRING'], "aid=".$_REQUEST["aid"]) === false) {
            parse_str($_SERVER['QUERY_STRING'], $qs);
            $qs['aid'] = $a->getUrlTag();
            $_SERVER['QUERY_STRING'] = http_build_query($qs);
        }
        $customDomainSet = true;
    }
}
 
if (!$customDomainSet) {
    $_REQUEST['aid'] = array_shift($tokens);
}
 
$account = getAccountForRequest();
if (!$account || (isSpringroll() && !$account->isOnSpringroll())) {
    http_response_code(404);
    include(App_Path.'/Web/noaccount.php');
    exit(0);
}
/**
 * Used mainly for restricting queries with {@link BaseClass::$globalAccountScope} enabled.
 * The original $_SESSION['account_id'] holds the logged in Admin's account - which should be the same in most cases,
 * but you never know if they're browsing rival restaurants... And in the customer pages, that is used to identify the
 * admin is browsing its own pages.
 * @see isLoggedAsCustomerAdmin()
 */
$_SESSION['customer_account_id'] = $account->id;
 
//if user isn't on a custom domain and they're browsing an account on a URL other than the URL Tag, redirect to the URL Tag
if (!$customDomainSet && $_REQUEST['aid'] != $account->getUrlTag()) {
    $uri = str_ireplace($_REQUEST['aid'], $account->getUrlTag(), $_SERVER['REQUEST_URI']);
    header('Location: '.$uri, true, 301);
    exit(0);
}
/
home
/
deploy
/
EHungry-3-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-3-boyan/Web/controllers/customer.php"
    

Environment & details:

Key Value
aid
"restaurant/newchinakingtampa/order/main/beef/89-beef-w-mixed-vegetables"
empty
empty
Key Value
PHPSESSID
"4pppq7gnsqssms7g8dr8jju49s"
Key Value
loc
"en_US"
customer_account_id
58958
cart
Cart {}
restaurant_id
11670
app_banner_shown
true
status
array:2 [
  1 => []
  2 => []
]
menu_id
14723
Key Value
UNIQUE_ID
"aTV_siNh0U0U75Q82WpwTwAAAAw"
SCRIPT_URL
"/restaurant/newchinakingtampa/order/main/beef/89-beef-w-mixed-vegetables"
SCRIPT_URI
"http://www.springroll.com.3.boyan.ehungry.net/restaurant/newchinakingtampa/order/main/beef/89-beef-w-mixed-vegetables"
HTTP_HOST
"www.springroll.com.3.boyan.ehungry.net"
HTTP_X_REAL_IP
"216.73.216.186"
HTTP_X_FORWARDED_FOR
"216.73.216.186"
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=4pppq7gnsqssms7g8dr8jju49s"
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.3.boyan.ehungry.net"
SERVER_ADDR
"127.0.0.1"
SERVER_PORT
"80"
REMOTE_ADDR
"127.0.0.1"
DOCUMENT_ROOT
"/home/deploy/EHungry-3-boyan/Web"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/deploy/EHungry-3-boyan/Web"
SERVER_ADMIN
"root@localhost"
SCRIPT_FILENAME
"/home/deploy/EHungry-3-boyan/Web/index.php"
REMOTE_PORT
"57164"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=restaurant/newchinakingtampa/order/main/beef/89-beef-w-mixed-vegetables"
REQUEST_URI
"/restaurant/newchinakingtampa/order/main/beef/89-beef-w-mixed-vegetables"
SCRIPT_NAME
"/restaurant/newchinakingtampa/order/main/beef/89-beef-w-mixed-vegetables"
PHP_SELF
"/restaurant/newchinakingtampa/order/main/beef/89-beef-w-mixed-vegetables"
REQUEST_TIME_FLOAT
1765113778.666
REQUEST_TIME
1765113778
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