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: #8 RedisException in /home/deploy/EHungry-4-simon/Web/classes/Cache.class.php:69 #7 Redis:setex in /home/deploy/EHungry-4-simon/Web/classes/Cache.class.php:69 #6 Cache:Set in /home/deploy/EHungry-4-simon/Web/classes/Cache.class.php:53 #5 Cache:SetObject in /home/deploy/EHungry-4-simon/Web/classes/BaseClass.class.php:764 #4 BaseClass:cacheSet in /home/deploy/EHungry-4-simon/Web/classes/BaseClass.class.php:657 #3 BaseClass:findNew in /home/deploy/EHungry-4-simon/Web/classes/BaseClass.class.php:672 #2 BaseClass:find in /home/deploy/EHungry-4-simon/Web/classes/BaseClass.class.php:145 #1 BaseClass:__construct in /home/deploy/EHungry-4-simon/Web/controllers/customer.php:552 #0 require in /home/deploy/EHungry-4-simon/Web/index.php:30
Stack frames (9)
8
RedisException
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
classes
/
Cache.class.php
69
7
Redis
setex
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
classes
/
Cache.class.php
69
6
Cache
Set
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
classes
/
Cache.class.php
53
5
Cache
SetObject
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
classes
/
BaseClass.class.php
764
4
BaseClass
cacheSet
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
classes
/
BaseClass.class.php
657
3
BaseClass
findNew
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
classes
/
BaseClass.class.php
672
2
BaseClass
find
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
classes
/
BaseClass.class.php
145
1
BaseClass
__construct
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
controllers
/
customer.php
552
0
require
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
index.php
30
/
home
/
deploy
/
EHungry-4-simon
/
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-4-simon
/
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. "bc_reseller_user_66"
    
  2. 86400
    
  3. "O:12:"ResellerUser":27:{s:10:"timestamps";b:1;s:11:"\x00*\x00fillable";a:4:{i:0;s:20:"payment_processor_id";i:1;s:23:"payment_processor_txkey";i:2;s:25:"payment_processor_loginid";i:3;s:28:"payment_processor_public_key";}s:8:"\x00*\x00casts";a:2:{s:17:"app_show_invoices";s:4:"bool";s:16:"invoice_settings";s:6:"object";}s:12:"pdfPageCount";i:0;s:9:"\x00*\x00hidden";a:1:{i:0;s:8:"password";}s:13:"\x00*\x00connection";s:7:"default";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:145:{s:2:"id";i:66;s:8:"username";s:9:"uschinese";s:8:"password";s:60:"$2y$10$50NzWA9s9mBXXNeDqVsPnOnQdl9WRUyiH6RfS6Qn2pvnkgyzE71ky";s:22:"password_last_modified";s:19:"0000-00-00 00:00:00";s:10:"created_at";s:19:"2015-09-23 12:15:19";s:11:"modified_at";s:19:"2025-03-05 10:40:07";s:9:"is_active";i:1;s:10:"first_name";s:20:"*Chinese Menu Online";s:9:"last_name";s:0:"";s:5:"email";s:26:"info@chinesemenuonline.com";s:14:"logo_file_path";s:0:"";s:11:"is_billable";i:1;s:9:"is_locked";i:0;s:14:"last_billed_on";s:19:"2019-01-23 03:03:29";s:16:"start_billing_on";s:19:"0000-00-00 00:00:00";s:21:"min_total_monthly_fee";i:0;s:11:"per_fax_fee";i:0;s:13:"per_phone_fee";i:0;s:11:"per_sms_fee";i:0;s:8:"base_fee";i:0;s:15:"per_printer_fee";i:0;s:10:"per_ws_fee";i:0;s:18:"old_eh_reseller_id";i:0;s:17:"hostname_override";s:0:"";s:12:"display_name";s:20:"*Chinese Menu Online";s:21:"custom_admin_template";i:0;s:16:"custom_admin_css";s:0:"";s:18:"individual_billing";i:0;s:16:"is_pos_affiliate";i:0;s:21:"is_international_user";i:0;s:23:"permit_universal_logins";i:0;s:32:"enable_questionable_orders_queue";i:0;s:43:"queue_orders_with_same_email_within_minutes";i:0;s:40:"queue_orders_with_same_ip_within_minutes";i:0;s:43:"queue_orders_with_same_phone_within_minutes";i:0;s:25:"queue_orders_beyond_miles";s:4:"0.00";s:23:"queue_orders_over_value";i:0;s:35:"queue_orders_from_flagged_customers";i:1;s:40:"queue_orders_outside_supported_countries";i:0;s:28:"notify_queued_order_by_email";i:0;s:26:"notify_queued_order_by_sms";i:0;s:33:"notify_queued_order_by_sms_number";s:0:"";s:22:"queue_orders_ip_ranges";s:2:"[]";s:35:"enable_new_questionable_order_alert";i:1;s:35:"enable_new_questionable_order_sound";i:0;s:27:"affiliate_base_location_fee";i:0;s:17:"affiliate_fax_fee";i:0;s:19:"affiliate_phone_fee";i:0;s:21:"affiliate_printer_fee";i:0;s:17:"affiliate_pos_fee";i:0;s:16:"additional_terms";s:0:"";s:14:"copy_orders_to";i:0;s:18:"canonical_hostname";s:0:"";s:9:"countries";s:0:"";s:11:"public_name";s:20:"*Chinese Menu Online";s:12:"website_link";s:21:"chinesemenuonline.com";s:8:"bill_day";i:23;s:13:"hosted_domain";s:24:"us.chinesemenuonline.com";s:17:"last_suspended_on";s:19:"0000-00-00 00:00:00";s:13:"has_new_plans";i:1;s:17:"sendgrid_username";s:10:"oos_server";s:17:"sendgrid_password";s:14:"cvsj48al3kshJE";s:11:"alert_email";s:22:"ehungrysimon@gmail.com";s:22:"alert_sms_click_failed";i:0;s:21:"alert_sms_undelivered";i:1;s:26:"alert_confirmation_bounced";i:0;s:12:"billing_plan";i:3;s:13:"per_order_fee";s:4:"1.00";s:18:"per_order_fee_type";s:7:"PERCENT";s:29:"skip_billing_cancelled_orders";i:1;s:8:"vault_id";s:0:"";s:21:"has_invoice_generator";i:1;s:14:"mailgun_domain";s:27:"mg.onlineorderingsecure.com";s:28:"mailgun_domain_notifications";s:27:"mg.onlineorderingsecure.com";s:15:"is_admin_closed";i:0;s:18:"is_customer_closed";i:0;s:18:"is_ordering_closed";i:0;s:15:"is_notif_closed";i:0;s:13:"close_message";s:0:"";s:19:"connected_resellers";s:21:"{"65":"CA","66":"US"}";s:12:"invoice_type";i:1;s:16:"invoice_settings";s:2692:"{"businessName":"Chinese Menu Online","creditCardName":"Chinese Menu Online","fax":"(800) 353-6741","email":"info@chinesemenuonline.com","fromEmail":"finance@chinesemenuonline.com","phone":"(888) 766-8882","address":"2885 Sanford Ave SW #34910\r\nGrandville, MI 49418","emailBody":"Hello,\n\nAttached is your online ordering invoice. Please see attached file. \nInvoice inquiry, please contact Mon - Fri 9 am to 10 pm Central time.\n\nThank you, \nFinance - Chinese Menu Online \nPhone: (888) 766-8882\nFax\/SMS: (888) 358-9088\nEmail: finance@chinesemenuonline.com\nWechat: cmo34910","emailSubject":"INVOICE - {RESELLER_NAME}","sales":"Kevin\r\nAmanda\r\nAmy\r\nAndy\r\nCindy\r\nCoco\r\nDavid\r\nJason\r\nJimmy\r\nJohn\r\nLisa\r\nMike\r\nPeter\r\nTom\r\nTony\r\nOther","secondarySales":"","customPaymentText":"<b>PAYMENT METHODS<\/b>\n\n#1 - CREDIT CARD PAYMENT\nNOTE:  This card will be kept on file automatically charged every month between the 10th to 15th.\n\nRestaurant Name :\nName on Card : \nCredit Card # :\nExpiration Date : _________________ CVV : _________\n\nSignature:\n\n________________________________________________\n\n#2 - BANK ACCOUNT WITHDRAWAL\nNOTE: We will automatically withdraw from bank account between the 10th to 15th each month.\n\nABA Routing # (9 digit):\nBank Account #:\nAccount Type:  Checking  \/ Saving\n\n\nSignature:\n\n________________________________________________\n\n<div style=\"float:right;\"><img src=\"http:\/\/order.ehungry.com\/web\/documents\/resellers\/cmofinance_wechat.jpg\" style=\"width:1.25in;\" alt=\"cmofinance_wechat.jpg\">\u8d22\u52a1\u90e8\u95e8\u5fae\u4fe1<\/div>\nInvoice inquiry, please contact Mon - Fri 9 am to 10 pm Central time:\nPhone: (888) 766-8882\nSMS\/Fax: (888) 358-9088\nEmail: finance@chinesemenuonline.com\nWechat: cmo34910","customPrepaidText":"<br>\nCharge will appear as 'CHINESE MENU ONLINE' on your statement.\nThe charge will be made between the 10th to 15th each month.\n\n<div style=\"float:right;\"><img src=\"http:\/\/order.ehungry.com\/web\/documents\/resellers\/cmofinance_wechat.jpg\" style=\"width:1.25in;\" alt=\"cmofinance_wechat.jpg\">\u8d22\u52a1\u90e8\u95e8\u5fae\u4fe1<\/div>\nInvoice inquiry, please contact Mon - Fri 9 am to 10 pm Central time:\nPhone: (888) 766-8882\nSMS\/Fax: (888) 358-9088\nEmail: finance@chinesemenuonline.com\nWechat: cmo34910","prepaidTotalText":"To be settled by Credit Card on file","prepaidTotalACHText":"To be settled by ACH on file","pastDueTotalText":"PLEASE MAKE FULL PAYMENT IMMEDIATELY TO AVOID LATE FEE CHARGE.","paginate":true,"smsMessage":"View your invoice from *Chinese Menu Online","dueUponReceiptText":"","suspensionDays":3,"includeLocationId":null}";s:12:"app_settings";s:213:"{"bundle":"chinesemenuonline","appleid":"cmo@joomphase.com","authoremail":"cmo@joomphase.com","authorweb":"http:\/\/chinesemenuonline.com","teamid":"G3Y6659G44","googleteam":"CHINESE MENU ONLINE","itcteamname":""}";s:8:"app_logo";s:0:"";s:17:"app_show_invoices";i:1;s:16:"has_landing_page";i:0;s:21:"landing_page_accounts";s:0:"";s:12:"apple_app_id";s:0:"";s:17:"android_bundle_id";s:0:"";s:14:"pubnub_pub_key";s:42:"pub-c-3bd0aa62-5115-4b68-8e9b-38cab27857d8";s:14:"pubnub_sub_key";s:42:"sub-c-a56ad43c-208f-11e7-bc52-02ee2ddab7fe";s:24:"orders_android_sender_id";s:13:"1026031355938";s:19:"orders_apple_app_id";s:10:"1226284685";s:24:"orders_android_bundle_id";s:28:"com.chinesemenuonline.orders";s:20:"manager_apple_app_id";s:10:"1558938996";s:25:"manager_android_bundle_id";s:29:"com.chinesemenuonline.manager";s:20:"support_phone_number";s:14:"(888) 766-8882";s:21:"support_chat_platform";i:0;s:16:"support_chat_key";s:0:"";s:23:"parent_reseller_user_id";i:0;s:33:"account_status_notification_email";s:22:"ehungrysimon@gmail.com";s:24:"enable_global_prep_times";i:0;s:29:"overwrite_accounts_prep_times";i:1;s:32:"enable_questionable_orders_alert";i:0;s:43:"alert_orders_with_same_email_within_minutes";i:0;s:40:"alert_orders_with_same_ip_within_minutes";i:0;s:43:"alert_orders_with_same_phone_within_minutes";i:0;s:25:"alert_orders_beyond_miles";s:4:"0.00";s:23:"alert_orders_over_value";i:0;s:35:"alert_orders_from_flagged_customers";i:0;s:40:"alert_orders_outside_supported_countries";i:0;s:22:"alert_orders_ip_ranges";s:2:"[]";s:32:"batch_holiday_hours_sms_template";s:70:"Will {RESTAURANT_NAME} be closed on {DATE}? Reply with open or closed.";s:34:"batch_holiday_hours_email_template";s:92:"Will {RESTAURANT_NAME} be closed on {DATE}? Please click the link below to update your info.";s:32:"batch_holiday_hours_open_replies";s:7:"open, o";s:33:"batch_holiday_hours_close_replies";s:24:"closed, close, c, closes";s:28:"batch_holiday_hours_cc_email";s:22:"ehungrysimon@gmail.com";s:23:"batch_holiday_hours_sms";i:1;s:25:"batch_holiday_hours_email";i:0;s:34:"batch_holiday_hours_sms_reply_type";s:4:"link";s:13:"business_name";s:20:"*Chinese Menu Online";s:14:"business_email";s:26:"info@chinesemenuonline.com";s:21:"business_phone_number";s:0:"";s:16:"business_address";s:0:"";s:14:"business_state";s:0:"";s:6:"county";s:0:"";s:27:"external_privacy_policy_url";s:0:"";s:16:"external_tos_url";s:0:"";s:18:"accounts_can_login";i:1;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:"alert_failed_invoice";i:1;s:36:"daily_failed_invoice_summary_sent_at";s:19:"2023-12-01 07:46:13";s:22:"payment_processor_id_2";i:0;s:25:"payment_processor_txkey_2";s:0:"";s:27:"payment_processor_loginid_2";s:0:"";s:30:"payment_processor_public_key_2";s:0:"";s:7:"street1";s:0:"";s:7:"street2";s:0:"";s:4:"city";s:0:"";s:5:"state";s:0:"";s:3:"zip";s:0:"";s:23:"maximum_pp_order_amount";i:5000;}s:11:"\x00*\x00original";a:145:{s:2:"id";i:66;s:8:"username";s:9:"uschinese";s:8:"password";s:60:"$2y$10$50NzWA9s9mBXXNeDqVsPnOnQdl9WRUyiH6RfS6Qn2pvnkgyzE71ky";s:22:"password_last_modified";s:19:"0000-00-00 00:00:00";s:10:"created_at";s:19:"2015-09-23 12:15:19";s:11:"modified_at";s:19:"2025-03-05 10:40:07";s:9:"is_active";i:1;s:10:"first_name";s:20:"*Chinese Menu Online";s:9:"last_name";s:0:"";s:5:"email";s:26:"info@chinesemenuonline.com";s:14:"logo_file_path";s:0:"";s:11:"is_billable";i:1;s:9:"is_locked";i:0;s:14:"last_billed_on";s:19:"2019-01-23 03:03:29";s:16:"start_billing_on";s:19:"0000-00-00 00:00:00";s:21:"min_total_monthly_fee";i:0;s:11:"per_fax_fee";i:0;s:13:"per_phone_fee";i:0;s:11:"per_sms_fee";i:0;s:8:"base_fee";i:0;s:15:"per_printer_fee";i:0;s:10:"per_ws_fee";i:0;s:18:"old_eh_reseller_id";i:0;s:17:"hostname_override";s:0:"";s:12:"display_name";s:20:"*Chinese Menu Online";s:21:"custom_admin_template";i:0;s:16:"custom_admin_css";s:0:"";s:18:"individual_billing";i:0;s:16:"is_pos_affiliate";i:0;s:21:"is_international_user";i:0;s:23:"permit_universal_logins";i:0;s:32:"enable_questionable_orders_queue";i:0;s:43:"queue_orders_with_same_email_within_minutes";i:0;s:40:"queue_orders_with_same_ip_within_minutes";i:0;s:43:"queue_orders_with_same_phone_within_minutes";i:0;s:25:"queue_orders_beyond_miles";s:4:"0.00";s:23:"queue_orders_over_value";i:0;s:35:"queue_orders_from_flagged_customers";i:1;s:40:"queue_orders_outside_supported_countries";i:0;s:28:"notify_queued_order_by_email";i:0;s:26:"notify_queued_order_by_sms";i:0;s:33:"notify_queued_order_by_sms_number";s:0:"";s:22:"queue_orders_ip_ranges";s:2:"[]";s:35:"enable_new_questionable_order_alert";i:1;s:35:"enable_new_questionable_order_sound";i:0;s:27:"affiliate_base_location_fee";i:0;s:17:"affiliate_fax_fee";i:0;s:19:"affiliate_phone_fee";i:0;s:21:"affiliate_printer_fee";i:0;s:17:"affiliate_pos_fee";i:0;s:16:"additional_terms";s:0:"";s:14:"copy_orders_to";i:0;s:18:"canonical_hostname";s:0:"";s:9:"countries";s:0:"";s:11:"public_name";s:20:"*Chinese Menu Online";s:12:"website_link";s:21:"chinesemenuonline.com";s:8:"bill_day";i:23;s:13:"hosted_domain";s:24:"us.chinesemenuonline.com";s:17:"last_suspended_on";s:19:"0000-00-00 00:00:00";s:13:"has_new_plans";i:1;s:17:"sendgrid_username";s:10:"oos_server";s:17:"sendgrid_password";s:14:"cvsj48al3kshJE";s:11:"alert_email";s:22:"ehungrysimon@gmail.com";s:22:"alert_sms_click_failed";i:0;s:21:"alert_sms_undelivered";i:1;s:26:"alert_confirmation_bounced";i:0;s:12:"billing_plan";i:3;s:13:"per_order_fee";s:4:"1.00";s:18:"per_order_fee_type";s:7:"PERCENT";s:29:"skip_billing_cancelled_orders";i:1;s:8:"vault_id";s:0:"";s:21:"has_invoice_generator";i:1;s:14:"mailgun_domain";s:27:"mg.onlineorderingsecure.com";s:28:"mailgun_domain_notifications";s:27:"mg.onlineorderingsecure.com";s:15:"is_admin_closed";i:0;s:18:"is_customer_closed";i:0;s:18:"is_ordering_closed";i:0;s:15:"is_notif_closed";i:0;s:13:"close_message";s:0:"";s:19:"connected_resellers";s:21:"{"65":"CA","66":"US"}";s:12:"invoice_type";i:1;s:16:"invoice_settings";s:2692:"{"businessName":"Chinese Menu Online","creditCardName":"Chinese Menu Online","fax":"(800) 353-6741","email":"info@chinesemenuonline.com","fromEmail":"finance@chinesemenuonline.com","phone":"(888) 766-8882","address":"2885 Sanford Ave SW #34910\r\nGrandville, MI 49418","emailBody":"Hello,\n\nAttached is your online ordering invoice. Please see attached file. \nInvoice inquiry, please contact Mon - Fri 9 am to 10 pm Central time.\n\nThank you, \nFinance - Chinese Menu Online \nPhone: (888) 766-8882\nFax\/SMS: (888) 358-9088\nEmail: finance@chinesemenuonline.com\nWechat: cmo34910","emailSubject":"INVOICE - {RESELLER_NAME}","sales":"Kevin\r\nAmanda\r\nAmy\r\nAndy\r\nCindy\r\nCoco\r\nDavid\r\nJason\r\nJimmy\r\nJohn\r\nLisa\r\nMike\r\nPeter\r\nTom\r\nTony\r\nOther","secondarySales":"","customPaymentText":"<b>PAYMENT METHODS<\/b>\n\n#1 - CREDIT CARD PAYMENT\nNOTE:  This card will be kept on file automatically charged every month between the 10th to 15th.\n\nRestaurant Name :\nName on Card : \nCredit Card # :\nExpiration Date : _________________ CVV : _________\n\nSignature:\n\n________________________________________________\n\n#2 - BANK ACCOUNT WITHDRAWAL\nNOTE: We will automatically withdraw from bank account between the 10th to 15th each month.\n\nABA Routing # (9 digit):\nBank Account #:\nAccount Type:  Checking  \/ Saving\n\n\nSignature:\n\n________________________________________________\n\n<div style=\"float:right;\"><img src=\"http:\/\/order.ehungry.com\/web\/documents\/resellers\/cmofinance_wechat.jpg\" style=\"width:1.25in;\" alt=\"cmofinance_wechat.jpg\">\u8d22\u52a1\u90e8\u95e8\u5fae\u4fe1<\/div>\nInvoice inquiry, please contact Mon - Fri 9 am to 10 pm Central time:\nPhone: (888) 766-8882\nSMS\/Fax: (888) 358-9088\nEmail: finance@chinesemenuonline.com\nWechat: cmo34910","customPrepaidText":"<br>\nCharge will appear as 'CHINESE MENU ONLINE' on your statement.\nThe charge will be made between the 10th to 15th each month.\n\n<div style=\"float:right;\"><img src=\"http:\/\/order.ehungry.com\/web\/documents\/resellers\/cmofinance_wechat.jpg\" style=\"width:1.25in;\" alt=\"cmofinance_wechat.jpg\">\u8d22\u52a1\u90e8\u95e8\u5fae\u4fe1<\/div>\nInvoice inquiry, please contact Mon - Fri 9 am to 10 pm Central time:\nPhone: (888) 766-8882\nSMS\/Fax: (888) 358-9088\nEmail: finance@chinesemenuonline.com\nWechat: cmo34910","prepaidTotalText":"To be settled by Credit Card on file","prepaidTotalACHText":"To be settled by ACH on file","pastDueTotalText":"PLEASE MAKE FULL PAYMENT IMMEDIATELY TO AVOID LATE FEE CHARGE.","paginate":true,"smsMessage":"View your invoice from *Chinese Menu Online","dueUponReceiptText":"","suspensionDays":3,"includeLocationId":null}";s:12:"app_settings";s:213:"{"bundle":"chinesemenuonline","appleid":"cmo@joomphase.com","authoremail":"cmo@joomphase.com","authorweb":"http:\/\/chinesemenuonline.com","teamid":"G3Y6659G44","googleteam":"CHINESE MENU ONLINE","itcteamname":""}";s:8:"app_logo";s:0:"";s:17:"app_show_invoices";i:1;s:16:"has_landing_page";i:0;s:21:"landing_page_accounts";s:0:"";s:12:"apple_app_id";s:0:"";s:17:"android_bundle_id";s:0:"";s:14:"pubnub_pub_key";s:42:"pub-c-3bd0aa62-5115-4b68-8e9b-38cab27857d8";s:14:"pubnub_sub_key";s:42:"sub-c-a56ad43c-208f-11e7-bc52-02ee2ddab7fe";s:24:"orders_android_sender_id";s:13:"1026031355938";s:19:"orders_apple_app_id";s:10:"1226284685";s:24:"orders_android_bundle_id";s:28:"com.chinesemenuonline.orders";s:20:"manager_apple_app_id";s:10:"1558938996";s:25:"manager_android_bundle_id";s:29:"com.chinesemenuonline.manager";s:20:"support_phone_number";s:14:"(888) 766-8882";s:21:"support_chat_platform";i:0;s:16:"support_chat_key";s:0:"";s:23:"parent_reseller_user_id";i:0;s:33:"account_status_notification_email";s:22:"ehungrysimon@gmail.com";s:24:"enable_global_prep_times";i:0;s:29:"overwrite_accounts_prep_times";i:1;s:32:"enable_questionable_orders_alert";i:0;s:43:"alert_orders_with_same_email_within_minutes";i:0;s:40:"alert_orders_with_same_ip_within_minutes";i:0;s:43:"alert_orders_with_same_phone_within_minutes";i:0;s:25:"alert_orders_beyond_miles";s:4:"0.00";s:23:"alert_orders_over_value";i:0;s:35:"alert_orders_from_flagged_customers";i:0;s:40:"alert_orders_outside_supported_countries";i:0;s:22:"alert_orders_ip_ranges";s:2:"[]";s:32:"batch_holiday_hours_sms_template";s:70:"Will {RESTAURANT_NAME} be closed on {DATE}? Reply with open or closed.";s:34:"batch_holiday_hours_email_template";s:92:"Will {RESTAURANT_NAME} be closed on {DATE}? Please click the link below to update your info.";s:32:"batch_holiday_hours_open_replies";s:7:"open, o";s:33:"batch_holiday_hours_close_replies";s:24:"closed, close, c, closes";s:28:"batch_holiday_hours_cc_email";s:22:"ehungrysimon@gmail.com";s:23:"batch_holiday_hours_sms";i:1;s:25:"batch_holiday_hours_email";i:0;s:34:"batch_holiday_hours_sms_reply_type";s:4:"link";s:13:"business_name";s:20:"*Chinese Menu Online";s:14:"business_email";s:26:"info@chinesemenuonline.com";s:21:"business_phone_number";s:0:"";s:16:"business_address";s:0:"";s:14:"business_state";s:0:"";s:6:"county";s:0:"";s:27:"external_privacy_policy_url";s:0:"";s:16:"external_tos_url";s:0:"";s:18:"accounts_can_login";i:1;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:"alert_failed_invoice";i:1;s:36:"daily_failed_invoice_summary_sent_at";s:19:"2023-12-01 07:46:13";s:22:"payment_processor_id_2";i:0;s:25:"payment_processor_txkey_2";s:0:"";s:27:"payment_processor_loginid_2";s:0:"";s:30:"payment_processor_public_key_2";s:0:"";s:7:"street1";s:0:"";s:7:"street2";s:0:"";s:4:"city";s:0:"";s:5:"state";s:0:"";s:3:"zip";s:0:"";s:23:"maximum_pp_order_amount";i:5000;}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:10:"\x00*\x00appends";a:0:{}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:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}s:17:"\x00*\x00_uploadAccount";N;}"
    
/
home
/
deploy
/
EHungry-4-simon
/
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. "bc_reseller_user_66"
    
  2. "O:12:"ResellerUser":27:{s:10:"timestamps";b:1;s:11:"\x00*\x00fillable";a:4:{i:0;s:20:"payment_processor_id";i:1;s:23:"payment_processor_txkey";i:2;s:25:"payment_processor_loginid";i:3;s:28:"payment_processor_public_key";}s:8:"\x00*\x00casts";a:2:{s:17:"app_show_invoices";s:4:"bool";s:16:"invoice_settings";s:6:"object";}s:12:"pdfPageCount";i:0;s:9:"\x00*\x00hidden";a:1:{i:0;s:8:"password";}s:13:"\x00*\x00connection";s:7:"default";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:145:{s:2:"id";i:66;s:8:"username";s:9:"uschinese";s:8:"password";s:60:"$2y$10$50NzWA9s9mBXXNeDqVsPnOnQdl9WRUyiH6RfS6Qn2pvnkgyzE71ky";s:22:"password_last_modified";s:19:"0000-00-00 00:00:00";s:10:"created_at";s:19:"2015-09-23 12:15:19";s:11:"modified_at";s:19:"2025-03-05 10:40:07";s:9:"is_active";i:1;s:10:"first_name";s:20:"*Chinese Menu Online";s:9:"last_name";s:0:"";s:5:"email";s:26:"info@chinesemenuonline.com";s:14:"logo_file_path";s:0:"";s:11:"is_billable";i:1;s:9:"is_locked";i:0;s:14:"last_billed_on";s:19:"2019-01-23 03:03:29";s:16:"start_billing_on";s:19:"0000-00-00 00:00:00";s:21:"min_total_monthly_fee";i:0;s:11:"per_fax_fee";i:0;s:13:"per_phone_fee";i:0;s:11:"per_sms_fee";i:0;s:8:"base_fee";i:0;s:15:"per_printer_fee";i:0;s:10:"per_ws_fee";i:0;s:18:"old_eh_reseller_id";i:0;s:17:"hostname_override";s:0:"";s:12:"display_name";s:20:"*Chinese Menu Online";s:21:"custom_admin_template";i:0;s:16:"custom_admin_css";s:0:"";s:18:"individual_billing";i:0;s:16:"is_pos_affiliate";i:0;s:21:"is_international_user";i:0;s:23:"permit_universal_logins";i:0;s:32:"enable_questionable_orders_queue";i:0;s:43:"queue_orders_with_same_email_within_minutes";i:0;s:40:"queue_orders_with_same_ip_within_minutes";i:0;s:43:"queue_orders_with_same_phone_within_minutes";i:0;s:25:"queue_orders_beyond_miles";s:4:"0.00";s:23:"queue_orders_over_value";i:0;s:35:"queue_orders_from_flagged_customers";i:1;s:40:"queue_orders_outside_supported_countries";i:0;s:28:"notify_queued_order_by_email";i:0;s:26:"notify_queued_order_by_sms";i:0;s:33:"notify_queued_order_by_sms_number";s:0:"";s:22:"queue_orders_ip_ranges";s:2:"[]";s:35:"enable_new_questionable_order_alert";i:1;s:35:"enable_new_questionable_order_sound";i:0;s:27:"affiliate_base_location_fee";i:0;s:17:"affiliate_fax_fee";i:0;s:19:"affiliate_phone_fee";i:0;s:21:"affiliate_printer_fee";i:0;s:17:"affiliate_pos_fee";i:0;s:16:"additional_terms";s:0:"";s:14:"copy_orders_to";i:0;s:18:"canonical_hostname";s:0:"";s:9:"countries";s:0:"";s:11:"public_name";s:20:"*Chinese Menu Online";s:12:"website_link";s:21:"chinesemenuonline.com";s:8:"bill_day";i:23;s:13:"hosted_domain";s:24:"us.chinesemenuonline.com";s:17:"last_suspended_on";s:19:"0000-00-00 00:00:00";s:13:"has_new_plans";i:1;s:17:"sendgrid_username";s:10:"oos_server";s:17:"sendgrid_password";s:14:"cvsj48al3kshJE";s:11:"alert_email";s:22:"ehungrysimon@gmail.com";s:22:"alert_sms_click_failed";i:0;s:21:"alert_sms_undelivered";i:1;s:26:"alert_confirmation_bounced";i:0;s:12:"billing_plan";i:3;s:13:"per_order_fee";s:4:"1.00";s:18:"per_order_fee_type";s:7:"PERCENT";s:29:"skip_billing_cancelled_orders";i:1;s:8:"vault_id";s:0:"";s:21:"has_invoice_generator";i:1;s:14:"mailgun_domain";s:27:"mg.onlineorderingsecure.com";s:28:"mailgun_domain_notifications";s:27:"mg.onlineorderingsecure.com";s:15:"is_admin_closed";i:0;s:18:"is_customer_closed";i:0;s:18:"is_ordering_closed";i:0;s:15:"is_notif_closed";i:0;s:13:"close_message";s:0:"";s:19:"connected_resellers";s:21:"{"65":"CA","66":"US"}";s:12:"invoice_type";i:1;s:16:"invoice_settings";s:2692:"{"businessName":"Chinese Menu Online","creditCardName":"Chinese Menu Online","fax":"(800) 353-6741","email":"info@chinesemenuonline.com","fromEmail":"finance@chinesemenuonline.com","phone":"(888) 766-8882","address":"2885 Sanford Ave SW #34910\r\nGrandville, MI 49418","emailBody":"Hello,\n\nAttached is your online ordering invoice. Please see attached file. \nInvoice inquiry, please contact Mon - Fri 9 am to 10 pm Central time.\n\nThank you, \nFinance - Chinese Menu Online \nPhone: (888) 766-8882\nFax\/SMS: (888) 358-9088\nEmail: finance@chinesemenuonline.com\nWechat: cmo34910","emailSubject":"INVOICE - {RESELLER_NAME}","sales":"Kevin\r\nAmanda\r\nAmy\r\nAndy\r\nCindy\r\nCoco\r\nDavid\r\nJason\r\nJimmy\r\nJohn\r\nLisa\r\nMike\r\nPeter\r\nTom\r\nTony\r\nOther","secondarySales":"","customPaymentText":"<b>PAYMENT METHODS<\/b>\n\n#1 - CREDIT CARD PAYMENT\nNOTE:  This card will be kept on file automatically charged every month between the 10th to 15th.\n\nRestaurant Name :\nName on Card : \nCredit Card # :\nExpiration Date : _________________ CVV : _________\n\nSignature:\n\n________________________________________________\n\n#2 - BANK ACCOUNT WITHDRAWAL\nNOTE: We will automatically withdraw from bank account between the 10th to 15th each month.\n\nABA Routing # (9 digit):\nBank Account #:\nAccount Type:  Checking  \/ Saving\n\n\nSignature:\n\n________________________________________________\n\n<div style=\"float:right;\"><img src=\"http:\/\/order.ehungry.com\/web\/documents\/resellers\/cmofinance_wechat.jpg\" style=\"width:1.25in;\" alt=\"cmofinance_wechat.jpg\">\u8d22\u52a1\u90e8\u95e8\u5fae\u4fe1<\/div>\nInvoice inquiry, please contact Mon - Fri 9 am to 10 pm Central time:\nPhone: (888) 766-8882\nSMS\/Fax: (888) 358-9088\nEmail: finance@chinesemenuonline.com\nWechat: cmo34910","customPrepaidText":"<br>\nCharge will appear as 'CHINESE MENU ONLINE' on your statement.\nThe charge will be made between the 10th to 15th each month.\n\n<div style=\"float:right;\"><img src=\"http:\/\/order.ehungry.com\/web\/documents\/resellers\/cmofinance_wechat.jpg\" style=\"width:1.25in;\" alt=\"cmofinance_wechat.jpg\">\u8d22\u52a1\u90e8\u95e8\u5fae\u4fe1<\/div>\nInvoice inquiry, please contact Mon - Fri 9 am to 10 pm Central time:\nPhone: (888) 766-8882\nSMS\/Fax: (888) 358-9088\nEmail: finance@chinesemenuonline.com\nWechat: cmo34910","prepaidTotalText":"To be settled by Credit Card on file","prepaidTotalACHText":"To be settled by ACH on file","pastDueTotalText":"PLEASE MAKE FULL PAYMENT IMMEDIATELY TO AVOID LATE FEE CHARGE.","paginate":true,"smsMessage":"View your invoice from *Chinese Menu Online","dueUponReceiptText":"","suspensionDays":3,"includeLocationId":null}";s:12:"app_settings";s:213:"{"bundle":"chinesemenuonline","appleid":"cmo@joomphase.com","authoremail":"cmo@joomphase.com","authorweb":"http:\/\/chinesemenuonline.com","teamid":"G3Y6659G44","googleteam":"CHINESE MENU ONLINE","itcteamname":""}";s:8:"app_logo";s:0:"";s:17:"app_show_invoices";i:1;s:16:"has_landing_page";i:0;s:21:"landing_page_accounts";s:0:"";s:12:"apple_app_id";s:0:"";s:17:"android_bundle_id";s:0:"";s:14:"pubnub_pub_key";s:42:"pub-c-3bd0aa62-5115-4b68-8e9b-38cab27857d8";s:14:"pubnub_sub_key";s:42:"sub-c-a56ad43c-208f-11e7-bc52-02ee2ddab7fe";s:24:"orders_android_sender_id";s:13:"1026031355938";s:19:"orders_apple_app_id";s:10:"1226284685";s:24:"orders_android_bundle_id";s:28:"com.chinesemenuonline.orders";s:20:"manager_apple_app_id";s:10:"1558938996";s:25:"manager_android_bundle_id";s:29:"com.chinesemenuonline.manager";s:20:"support_phone_number";s:14:"(888) 766-8882";s:21:"support_chat_platform";i:0;s:16:"support_chat_key";s:0:"";s:23:"parent_reseller_user_id";i:0;s:33:"account_status_notification_email";s:22:"ehungrysimon@gmail.com";s:24:"enable_global_prep_times";i:0;s:29:"overwrite_accounts_prep_times";i:1;s:32:"enable_questionable_orders_alert";i:0;s:43:"alert_orders_with_same_email_within_minutes";i:0;s:40:"alert_orders_with_same_ip_within_minutes";i:0;s:43:"alert_orders_with_same_phone_within_minutes";i:0;s:25:"alert_orders_beyond_miles";s:4:"0.00";s:23:"alert_orders_over_value";i:0;s:35:"alert_orders_from_flagged_customers";i:0;s:40:"alert_orders_outside_supported_countries";i:0;s:22:"alert_orders_ip_ranges";s:2:"[]";s:32:"batch_holiday_hours_sms_template";s:70:"Will {RESTAURANT_NAME} be closed on {DATE}? Reply with open or closed.";s:34:"batch_holiday_hours_email_template";s:92:"Will {RESTAURANT_NAME} be closed on {DATE}? Please click the link below to update your info.";s:32:"batch_holiday_hours_open_replies";s:7:"open, o";s:33:"batch_holiday_hours_close_replies";s:24:"closed, close, c, closes";s:28:"batch_holiday_hours_cc_email";s:22:"ehungrysimon@gmail.com";s:23:"batch_holiday_hours_sms";i:1;s:25:"batch_holiday_hours_email";i:0;s:34:"batch_holiday_hours_sms_reply_type";s:4:"link";s:13:"business_name";s:20:"*Chinese Menu Online";s:14:"business_email";s:26:"info@chinesemenuonline.com";s:21:"business_phone_number";s:0:"";s:16:"business_address";s:0:"";s:14:"business_state";s:0:"";s:6:"county";s:0:"";s:27:"external_privacy_policy_url";s:0:"";s:16:"external_tos_url";s:0:"";s:18:"accounts_can_login";i:1;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:"alert_failed_invoice";i:1;s:36:"daily_failed_invoice_summary_sent_at";s:19:"2023-12-01 07:46:13";s:22:"payment_processor_id_2";i:0;s:25:"payment_processor_txkey_2";s:0:"";s:27:"payment_processor_loginid_2";s:0:"";s:30:"payment_processor_public_key_2";s:0:"";s:7:"street1";s:0:"";s:7:"street2";s:0:"";s:4:"city";s:0:"";s:5:"state";s:0:"";s:3:"zip";s:0:"";s:23:"maximum_pp_order_amount";i:5000;}s:11:"\x00*\x00original";a:145:{s:2:"id";i:66;s:8:"username";s:9:"uschinese";s:8:"password";s:60:"$2y$10$50NzWA9s9mBXXNeDqVsPnOnQdl9WRUyiH6RfS6Qn2pvnkgyzE71ky";s:22:"password_last_modified";s:19:"0000-00-00 00:00:00";s:10:"created_at";s:19:"2015-09-23 12:15:19";s:11:"modified_at";s:19:"2025-03-05 10:40:07";s:9:"is_active";i:1;s:10:"first_name";s:20:"*Chinese Menu Online";s:9:"last_name";s:0:"";s:5:"email";s:26:"info@chinesemenuonline.com";s:14:"logo_file_path";s:0:"";s:11:"is_billable";i:1;s:9:"is_locked";i:0;s:14:"last_billed_on";s:19:"2019-01-23 03:03:29";s:16:"start_billing_on";s:19:"0000-00-00 00:00:00";s:21:"min_total_monthly_fee";i:0;s:11:"per_fax_fee";i:0;s:13:"per_phone_fee";i:0;s:11:"per_sms_fee";i:0;s:8:"base_fee";i:0;s:15:"per_printer_fee";i:0;s:10:"per_ws_fee";i:0;s:18:"old_eh_reseller_id";i:0;s:17:"hostname_override";s:0:"";s:12:"display_name";s:20:"*Chinese Menu Online";s:21:"custom_admin_template";i:0;s:16:"custom_admin_css";s:0:"";s:18:"individual_billing";i:0;s:16:"is_pos_affiliate";i:0;s:21:"is_international_user";i:0;s:23:"permit_universal_logins";i:0;s:32:"enable_questionable_orders_queue";i:0;s:43:"queue_orders_with_same_email_within_minutes";i:0;s:40:"queue_orders_with_same_ip_within_minutes";i:0;s:43:"queue_orders_with_same_phone_within_minutes";i:0;s:25:"queue_orders_beyond_miles";s:4:"0.00";s:23:"queue_orders_over_value";i:0;s:35:"queue_orders_from_flagged_customers";i:1;s:40:"queue_orders_outside_supported_countries";i:0;s:28:"notify_queued_order_by_email";i:0;s:26:"notify_queued_order_by_sms";i:0;s:33:"notify_queued_order_by_sms_number";s:0:"";s:22:"queue_orders_ip_ranges";s:2:"[]";s:35:"enable_new_questionable_order_alert";i:1;s:35:"enable_new_questionable_order_sound";i:0;s:27:"affiliate_base_location_fee";i:0;s:17:"affiliate_fax_fee";i:0;s:19:"affiliate_phone_fee";i:0;s:21:"affiliate_printer_fee";i:0;s:17:"affiliate_pos_fee";i:0;s:16:"additional_terms";s:0:"";s:14:"copy_orders_to";i:0;s:18:"canonical_hostname";s:0:"";s:9:"countries";s:0:"";s:11:"public_name";s:20:"*Chinese Menu Online";s:12:"website_link";s:21:"chinesemenuonline.com";s:8:"bill_day";i:23;s:13:"hosted_domain";s:24:"us.chinesemenuonline.com";s:17:"last_suspended_on";s:19:"0000-00-00 00:00:00";s:13:"has_new_plans";i:1;s:17:"sendgrid_username";s:10:"oos_server";s:17:"sendgrid_password";s:14:"cvsj48al3kshJE";s:11:"alert_email";s:22:"ehungrysimon@gmail.com";s:22:"alert_sms_click_failed";i:0;s:21:"alert_sms_undelivered";i:1;s:26:"alert_confirmation_bounced";i:0;s:12:"billing_plan";i:3;s:13:"per_order_fee";s:4:"1.00";s:18:"per_order_fee_type";s:7:"PERCENT";s:29:"skip_billing_cancelled_orders";i:1;s:8:"vault_id";s:0:"";s:21:"has_invoice_generator";i:1;s:14:"mailgun_domain";s:27:"mg.onlineorderingsecure.com";s:28:"mailgun_domain_notifications";s:27:"mg.onlineorderingsecure.com";s:15:"is_admin_closed";i:0;s:18:"is_customer_closed";i:0;s:18:"is_ordering_closed";i:0;s:15:"is_notif_closed";i:0;s:13:"close_message";s:0:"";s:19:"connected_resellers";s:21:"{"65":"CA","66":"US"}";s:12:"invoice_type";i:1;s:16:"invoice_settings";s:2692:"{"businessName":"Chinese Menu Online","creditCardName":"Chinese Menu Online","fax":"(800) 353-6741","email":"info@chinesemenuonline.com","fromEmail":"finance@chinesemenuonline.com","phone":"(888) 766-8882","address":"2885 Sanford Ave SW #34910\r\nGrandville, MI 49418","emailBody":"Hello,\n\nAttached is your online ordering invoice. Please see attached file. \nInvoice inquiry, please contact Mon - Fri 9 am to 10 pm Central time.\n\nThank you, \nFinance - Chinese Menu Online \nPhone: (888) 766-8882\nFax\/SMS: (888) 358-9088\nEmail: finance@chinesemenuonline.com\nWechat: cmo34910","emailSubject":"INVOICE - {RESELLER_NAME}","sales":"Kevin\r\nAmanda\r\nAmy\r\nAndy\r\nCindy\r\nCoco\r\nDavid\r\nJason\r\nJimmy\r\nJohn\r\nLisa\r\nMike\r\nPeter\r\nTom\r\nTony\r\nOther","secondarySales":"","customPaymentText":"<b>PAYMENT METHODS<\/b>\n\n#1 - CREDIT CARD PAYMENT\nNOTE:  This card will be kept on file automatically charged every month between the 10th to 15th.\n\nRestaurant Name :\nName on Card : \nCredit Card # :\nExpiration Date : _________________ CVV : _________\n\nSignature:\n\n________________________________________________\n\n#2 - BANK ACCOUNT WITHDRAWAL\nNOTE: We will automatically withdraw from bank account between the 10th to 15th each month.\n\nABA Routing # (9 digit):\nBank Account #:\nAccount Type:  Checking  \/ Saving\n\n\nSignature:\n\n________________________________________________\n\n<div style=\"float:right;\"><img src=\"http:\/\/order.ehungry.com\/web\/documents\/resellers\/cmofinance_wechat.jpg\" style=\"width:1.25in;\" alt=\"cmofinance_wechat.jpg\">\u8d22\u52a1\u90e8\u95e8\u5fae\u4fe1<\/div>\nInvoice inquiry, please contact Mon - Fri 9 am to 10 pm Central time:\nPhone: (888) 766-8882\nSMS\/Fax: (888) 358-9088\nEmail: finance@chinesemenuonline.com\nWechat: cmo34910","customPrepaidText":"<br>\nCharge will appear as 'CHINESE MENU ONLINE' on your statement.\nThe charge will be made between the 10th to 15th each month.\n\n<div style=\"float:right;\"><img src=\"http:\/\/order.ehungry.com\/web\/documents\/resellers\/cmofinance_wechat.jpg\" style=\"width:1.25in;\" alt=\"cmofinance_wechat.jpg\">\u8d22\u52a1\u90e8\u95e8\u5fae\u4fe1<\/div>\nInvoice inquiry, please contact Mon - Fri 9 am to 10 pm Central time:\nPhone: (888) 766-8882\nSMS\/Fax: (888) 358-9088\nEmail: finance@chinesemenuonline.com\nWechat: cmo34910","prepaidTotalText":"To be settled by Credit Card on file","prepaidTotalACHText":"To be settled by ACH on file","pastDueTotalText":"PLEASE MAKE FULL PAYMENT IMMEDIATELY TO AVOID LATE FEE CHARGE.","paginate":true,"smsMessage":"View your invoice from *Chinese Menu Online","dueUponReceiptText":"","suspensionDays":3,"includeLocationId":null}";s:12:"app_settings";s:213:"{"bundle":"chinesemenuonline","appleid":"cmo@joomphase.com","authoremail":"cmo@joomphase.com","authorweb":"http:\/\/chinesemenuonline.com","teamid":"G3Y6659G44","googleteam":"CHINESE MENU ONLINE","itcteamname":""}";s:8:"app_logo";s:0:"";s:17:"app_show_invoices";i:1;s:16:"has_landing_page";i:0;s:21:"landing_page_accounts";s:0:"";s:12:"apple_app_id";s:0:"";s:17:"android_bundle_id";s:0:"";s:14:"pubnub_pub_key";s:42:"pub-c-3bd0aa62-5115-4b68-8e9b-38cab27857d8";s:14:"pubnub_sub_key";s:42:"sub-c-a56ad43c-208f-11e7-bc52-02ee2ddab7fe";s:24:"orders_android_sender_id";s:13:"1026031355938";s:19:"orders_apple_app_id";s:10:"1226284685";s:24:"orders_android_bundle_id";s:28:"com.chinesemenuonline.orders";s:20:"manager_apple_app_id";s:10:"1558938996";s:25:"manager_android_bundle_id";s:29:"com.chinesemenuonline.manager";s:20:"support_phone_number";s:14:"(888) 766-8882";s:21:"support_chat_platform";i:0;s:16:"support_chat_key";s:0:"";s:23:"parent_reseller_user_id";i:0;s:33:"account_status_notification_email";s:22:"ehungrysimon@gmail.com";s:24:"enable_global_prep_times";i:0;s:29:"overwrite_accounts_prep_times";i:1;s:32:"enable_questionable_orders_alert";i:0;s:43:"alert_orders_with_same_email_within_minutes";i:0;s:40:"alert_orders_with_same_ip_within_minutes";i:0;s:43:"alert_orders_with_same_phone_within_minutes";i:0;s:25:"alert_orders_beyond_miles";s:4:"0.00";s:23:"alert_orders_over_value";i:0;s:35:"alert_orders_from_flagged_customers";i:0;s:40:"alert_orders_outside_supported_countries";i:0;s:22:"alert_orders_ip_ranges";s:2:"[]";s:32:"batch_holiday_hours_sms_template";s:70:"Will {RESTAURANT_NAME} be closed on {DATE}? Reply with open or closed.";s:34:"batch_holiday_hours_email_template";s:92:"Will {RESTAURANT_NAME} be closed on {DATE}? Please click the link below to update your info.";s:32:"batch_holiday_hours_open_replies";s:7:"open, o";s:33:"batch_holiday_hours_close_replies";s:24:"closed, close, c, closes";s:28:"batch_holiday_hours_cc_email";s:22:"ehungrysimon@gmail.com";s:23:"batch_holiday_hours_sms";i:1;s:25:"batch_holiday_hours_email";i:0;s:34:"batch_holiday_hours_sms_reply_type";s:4:"link";s:13:"business_name";s:20:"*Chinese Menu Online";s:14:"business_email";s:26:"info@chinesemenuonline.com";s:21:"business_phone_number";s:0:"";s:16:"business_address";s:0:"";s:14:"business_state";s:0:"";s:6:"county";s:0:"";s:27:"external_privacy_policy_url";s:0:"";s:16:"external_tos_url";s:0:"";s:18:"accounts_can_login";i:1;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:"alert_failed_invoice";i:1;s:36:"daily_failed_invoice_summary_sent_at";s:19:"2023-12-01 07:46:13";s:22:"payment_processor_id_2";i:0;s:25:"payment_processor_txkey_2";s:0:"";s:27:"payment_processor_loginid_2";s:0:"";s:30:"payment_processor_public_key_2";s:0:"";s:7:"street1";s:0:"";s:7:"street2";s:0:"";s:4:"city";s:0:"";s:5:"state";s:0:"";s:3:"zip";s:0:"";s:23:"maximum_pp_order_amount";i:5000;}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:10:"\x00*\x00appends";a:0:{}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:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}s:17:"\x00*\x00_uploadAccount";N;}"
    
  3. 86400
    
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
classes
/
BaseClass.class.php
    }
 
    /**
     * Returns the cached object, if it {@link BaseClass::SHOULD_BE_CACHED} and valid, given the $id.
     * @param $id
     * @return false|static
     */
    protected function cacheGet($id) {
        if (static::SHOULD_BE_CACHED && $id > 0 && $cache = Cache::GetObject($this->getCacheKey($id))) {
            return $cache;
        }
        return false;
    }
 
    /**
     * Caches the current object, if {@link BaseClass::SHOULD_BE_CACHED}.
     */
    protected function cacheSet() {
        if (static::SHOULD_BE_CACHED && $this->id > 0) {
            Cache::SetObject($this->getCacheKey(), $this, static::CACHE_EXPIRATION);
        }
    }
 
    /**
     * Removes the current object from cache, if {@link BaseClass::SHOULD_BE_CACHED}.
     */
    public function cacheDelete() {
        if (static::SHOULD_BE_CACHED && $this->id > 0) {
            Cache::Delete($this->getCacheKey());
        }
    }
 
    /**
     * Removes all objects from cache, if {@link BaseClass::SHOULD_BE_CACHED}.
     */
    public static function cacheDeleteAll($chunkSize = self::CACHE_DELETE_CHUNK_SIZE) {
        if (static::SHOULD_BE_CACHED) {
            static::chunk($chunkSize, function ($chunk) {
                foreach ($chunk as $row) {
                    $row->cacheDelete();
Arguments
  1. "bc_reseller_user_66"
    
  2. ResellerUser {}
    
  3. 86400
    
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
classes
/
BaseClass.class.php
     * @param int|int[] $id
     * @param array $columns
     * @return static|Collection|static[]|null
     * @todo why isn't this protected?
     * @fixme side-effect of this workaround: the cache is silently skipped when running query-modifiers like ResellerUser::withoutGlobalScope('main_resellers')->find(123)
     */
    public function findNew($id, $columns = ['*']) {
        if (is_array($id)) {
            return $this->directFind($id, $columns);
        }
 
        if ($cached = $this->cacheGet($id)) {
            return $cached;
        }
 
        /** @var static $result */
        $result = $this->directFind($id, $columns);
 
        if ($result && $columns == ['*']) {
            $result->cacheSet();
        }
 
        return $result;
    }
 
    /**
     * Finds one or more entries in the database. In case of single-finds, checks the cache layer first.
     * @see BaseClass::SHOULD_BE_CACHED
     * @see Cache
     * @param int|int[] $id
     * @param array $columns
     * @return Collection|static|static[]|null
     */
    public static function find($id, $columns = ['*']) {
        return (new static)->findNew($id, $columns);
    }
 
    //FIXME: we're missing cached versions for findOrFail and findOrNew, at the very least
 
    /** @deprecated use {@link save()} instead */
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
classes
/
BaseClass.class.php
        /** @var static $result */
        $result = $this->directFind($id, $columns);
 
        if ($result && $columns == ['*']) {
            $result->cacheSet();
        }
 
        return $result;
    }
 
    /**
     * Finds one or more entries in the database. In case of single-finds, checks the cache layer first.
     * @see BaseClass::SHOULD_BE_CACHED
     * @see Cache
     * @param int|int[] $id
     * @param array $columns
     * @return Collection|static|static[]|null
     */
    public static function find($id, $columns = ['*']) {
        return (new static)->findNew($id, $columns);
    }
 
    //FIXME: we're missing cached versions for findOrFail and findOrNew, at the very least
 
    /** @deprecated use {@link save()} instead */
    public function store() {
        return $this->save();
    }
 
    /**
     * Overrides the original save to return the generated ID.
     * After saving, caching ({@link SHOULD_BE_CACHED}) and logging ({@link willLogChanges()}/{@link loggingChanges()})
     * are done, if enabled.
     * @param array $options The only option available is "touch" (which is true by default); setting it to false will
     *                       disable "touching" parent relationships (aka belongsTo/belongsToMany) listed in
     *                       {@link $touches}, which updates their timestamps upon a successful save.
     *                       See https://laravel.com/docs/5.4/eloquent-relationships#touching-parent-timestamps
     * @return bool|int Returns the ID in case of a successful operation, or false instead.
     */
    public function save(array $options = []) {
Arguments
  1. 66
    
  2. array:1 [
      0 => "*"
    ]
    
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
classes
/
BaseClass.class.php
     * Stores which classes had their logging behavior overwritten during runtime.
     * @var array
     * @see willLogChanges()
     */
    private static $overwrittenLogChanges = [];
 
    /**
     * @var array Indicates the fields which should be placed in the restaurant's timezone when casting to JSON
     * @see addDateAttributesToArray()
     * @see https://github.com/ehungry/EHungry/wiki/Data-standards#timezone-less-restaurant-times
     */
    protected static $restaurantDates = [];
 
    /**
     * @param int|array|ParameterHandler $idOrAttr An ID, so the entry is loaded from the database, or a list of attributes to be pre-filled into a new entry.
     */
    public function __construct($idOrAttr = null) {
        if (is_numeric($idOrAttr)) {
            //legacy behavior
            if ($entry = static::find($idOrAttr)) {
                //TODO: find a way to have default attributes respected in the same way Eloquent does - probably a mix of array_merge() and array_filter() (so we clear empty values from the found entry), or maybe we'll need a custom merger so the final attribute array doesn't miss any field
                $this->setRawAttributes($entry->attributes, true);
                $this->exists = true;
            }
            $this->setAttribute('id', $idOrAttr);
            parent::__construct();
        } elseif (is_array($idOrAttr) || $idOrAttr instanceof ParameterHandler) {
            parent::__construct($idOrAttr); //default Eloquent behavior + our custom fill()
        } else {
            $this->setAttribute('id', -1); //FIXME: legacy behavior as well... can we ditch this someday please????
            parent::__construct();
        }
    }
 
    /**
     * We've overwritten the original query builder to include extra methods :)
     * @param \Illuminate\Database\Query\Builder $query
     * @return Builder|EloquentModel|eHungry\Illuminate\Database\Eloquent\Builder
     */
    public function newEloquentBuilder($query) {
Arguments
  1. 66
    
/
home
/
deploy
/
EHungry-4-simon
/
Web
/
controllers
/
customer.php
        $uri = rtrim(str_replace("//", "/", $uri), '/');
 
        $domain = (DevLevel == 0)? $hnHost->getHnSecure() : HN_LiveToDev($hnHost->getHnSecure());
        header("Location: https://".$domain.$uri.((strpos($uri, '?') === false)? '?' : '&').getSessionTokenForUrl(), true, 301);
        exit(0);
    }
};
 
//if not currently on custom domain
if (is_object($domain) && !stristr(HN_Current, $domain->getDomain())) {
    //get HnHost for custom domain
    if ($hnHost->getHnSecure() != $domain->getDomain()) {
        $accountHnHost = HnHost::getFromSecure($domain->getDomain());
        $checkHnHost($accountHnHost, $account);
    }
}
 
//if account belongs to a reseller and reseller has a domain, redirect to the reseller's domain
if (!is_object($domain) && $account->getResellerUserId() > 0) {
    $reseller = new ResellerUser($account->getResellerUserId());
    if ($reseller && $reseller->getHostedDomain() != "") {
        if ($reseller->getHostedDomain() != HN_Current) {
            $resellerHnHost = HnHost::getFromSecure($reseller->getHostedDomain());
            $checkHnHost($resellerHnHost, null);
        }
    } else {
        $oosHnHost = HnHost::getFromSecure('onlineorderingsecure.com');
        $checkHnHost($oosHnHost, null);
    }
}
//if not custom domain, and not reseller, should be on order.ehungry.com
if (!is_object($domain) && $account->getResellerUserId() < 1) {
    $ohHnHost = HnHost::getFromSecure('order.ehungry.com');
    $checkHnHost($ohHnHost, null);
}
 
if ($_REQUEST["form"] == 'home' && $account->getHomepageOverride()) {
    $url = fixQuestionMarks($account->getHomepageOverride());
    if (is_object($domain)) {
        header('Location: '.$url);
Arguments
  1. 66
    
/
home
/
deploy
/
EHungry-4-simon
/
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-4-simon/Web/controllers/customer.php"
    

Environment & details:

Key Value
aid
"chokonewyork/reportbug"
empty
empty
Key Value
PHPSESSID
"3o8fr9ehjhhuj4g1p8j7eau65n"
Key Value
loc
"en_US"
customer_account_id
18655
restaurant_id
8492
Key Value
UNIQUE_ID
"aBGFJJ-eJ90cgY35JBjn4gAAAB4"
SCRIPT_URL
"/chokonewyork/reportbug"
SCRIPT_URI
"http://us.chinesemenuonline.com.4.simon.ehungry.net/chokonewyork/reportbug"
HTTP_HOST
"us.chinesemenuonline.com.4.simon.ehungry.net"
HTTP_X_REAL_IP
"3.20.239.211"
HTTP_X_FORWARDED_FOR
"3.20.239.211"
HTTP_X_CONFKEY
"Main_Domain:1826"
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=3o8fr9ehjhhuj4g1p8j7eau65n"
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
"us.chinesemenuonline.com.4.simon.ehungry.net"
SERVER_ADDR
"127.0.0.1"
SERVER_PORT
"80"
REMOTE_ADDR
"127.0.0.1"
DOCUMENT_ROOT
"/home/deploy/EHungry-4-simon/Web"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/deploy/EHungry-4-simon/Web"
SERVER_ADMIN
"root@localhost"
SCRIPT_FILENAME
"/home/deploy/EHungry-4-simon/Web/index.php"
REMOTE_PORT
"41712"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=chokonewyork/reportbug"
REQUEST_URI
"/chokonewyork/reportbug"
SCRIPT_NAME
"/chokonewyork/reportbug"
PHP_SELF
"/chokonewyork/reportbug"
REQUEST_TIME_FLOAT
1745978660.576
REQUEST_TIME
1745978660
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