[2] ErrorException in CxxiaTopClient.php line 193

Creating default object from empty value

  1. date("Y-m-d H")
  2. ));
  3. try{
  4. $resp = $this->curl($requestUrl, $apiParams);
  5. if(strlen($resp)>50){
  6. $this->saveCacheData($cacheid,$resp);
  7. }
  8. }catch (Exception $e){
  9. $this->logCommunicationError($sysParams["method"],$requestUrl,"HTTP_ERROR_" . $e->getCode(),$e->getMessage());
  10. $result->code = $e->getCode();
  11. $result->msg = $e->getMessage();
  12. return $result;
  13. }
  14. }else{
  15. if(strlen($resp)>100){
  16. $this->saveCacheData($cacheid,$resp);
  17. }
  18. }

Call Stack

  1. in CxxiaTopClient.php line 193
  2. at Error::appError(2, 'Creating default obj...', '/www/wwwroot/wnsq_ne...', 193, ['request' => object(GoodsListGetRequest), 'session' => null, 'result' => object(stdClass), ...]) in CxxiaTopClient.php line 193
  3. at CxxiaTopClient->execute(object(GoodsListGetRequest)) in Goods.php line 4
  4. at Goods->getGoodsList(['status' => 1, 'start_time' => ['elt', 1711650351], 'end_time' => ['egt', 1711650351], ...]) in Base.php line 2
  5. at Base->getGoodsList('index', ['status' => 1, 'start_time' => ['elt', 1711650351], 'end_time' => ['egt', 1711650351], ...], 'default', 0, '', '', 80, 1, false) in Base.php line 2
  6. at Base->_list('index', ['status' => 1, 'start_time' => ['elt', 1711650351], 'end_time' => ['egt', 1711650351]], 'default', 0, '', '', 80, 1) in Index.php line 4
  7. at Index->index()
  8. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 196
  9. at App::invokeMethod([object(Index), 'index'], []) in App.php line 416
  10. at App::module(['', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 295
  11. at App::exec(['type' => 'module', 'module' => ['', null, null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  12. at App::run() in start.php line 18
  13. at require('/www/wwwroot/wnsq_ne...') in index.php line 20

Exception Datas

Error Context
request {}
session Resource
result { "code": 0 }
logger { "conf": { "separator": "\t", "log_file": "\/www\/wwwroot\/wnsq_net\/runtime\/chengxuxia\/log\/logs_16819_2024-03-29.log" } }
sysParams { "appKey": "16819", "appSecret": "a63b12e14d9ffd7987", "version": "2.0", "format": "json", "signMethod": "md5", "method": "GoodsListGetRequest", "updateTime": "2024-03-29 02", "domain": "wnsq.net", "partnerId": "cxxia-api-20170602", "sign": "B956BEB062E7534CE5D9EEB00697C05A" }
apiParams { "column": "index", "fields": "cid,goods_id,title,price,discount_price,coupon_price,intro,img,coupon_id,coupon_url,coupon_receive,coupon_surplus,coupon_total,volume,commission,commission_rate,shop_type,ems,video,start_time,end_time", "ids": "", "keyword": "", "sort": "rand()", "couponPrice": 0, "pageNo": 1, "pageSize": 80, "time": "03-29:02" }
requestUrl http://api.chengxuxia.com.cn/GoodsListGetRequest?appKey=16819&appSecret=a63b12e14d9ffd7987&version=2.0&format=json&signMethod=md5&method=GoodsListGetRequest&updateTime=2024-03-29+02&domain=wnsq.net&partnerId=cxxia-api-20170602&sign=B956BEB062E7534CE5D9EEB00697C05A
sysParamValue B956BEB062E7534CE5D9EEB00697C05A
sysParamKey sign
cacheid b678a49ea717db6dc8c52b087f7ddcfc
resp false
e {}

Environment Variables

GET Data

[ "get.page", "get.price", "get.sort", "default", "coupon_price", "egt", "status", "start_time", "elt", "end_time", "GOODS_SHOP_TYPE", "shop_type", "GOODS_PAGE_SIZE", "index", "", "GoodsCate", "index_status&status", "pid", "id,icon,name", "cate", "list", "page", "sort", "price", "alias" ]
[ "WEB_SITE_STATUS", "m", "index", "wap", "Content-type: text\/html; charset=utf-8", "\u7f51\u7ad9\u6b63\u5728\u5347\u7ea7\u4e2d...", "WEB_SITE_REWRITE", "0", "index.php", "1", "\/", "cxxia_user_auth.uid", "code", "", "trim", "chengxuxiaWechat.cxxia_wechat_name", "cxxiaWechat", "show tables like \"cxxia_user_bind\"", "unionid", "UserBind", "uid", "openid", "keyId", "appUid", "\/index.php?s=\/api\/", "api\/", "", "AlipayRedPacket\/index", "FaceSheet\/help", "huasheng\/index", "popup\/index", "taowords\/index", "taowords\/taowordsone", "taowords\/taowordstwo", "wechat_bind_get_request\/index", "WechatBindGetRequest\/index", "zhifubao\/index", "signStr", "timestamp", "Content-Type:text\/html; charset=utf-8", "\u9a8c\u7b7e\u5931\u8d25", "_", "APP", "app_config", "base", "request_time", "30", "\u8bf7\u6c42\u9891\u7e41", "\u53c2\u6570\u9519\u8bef", "HTTP_USER_AGENT", "iPhone", "iPad", "ios", "Android", "android", "other", "apiKey", "firewallToken", "@", "SEO", "seo_config", "title", "keyword", "description", "{WEB_SITE_NAME}", "{site_title}", "{site_keywords}", "{site_description}", "WEB_SITE_NAME", "\/\\{([a-z0-9_-]+?)\\}\/", " ", "{", "}", "((\\s*\\-\\s*)+)", "((\\s*\\,\\s*)+)", "((\\s*\\|\\s*)+)", "((\\s*\\t\\s*)+)", "((\\s*_\\s*)+)", "-", ",", "|", " ,-|_", "page_seo", "WEB_CACHE_STATUS", "cid", "shop_type", "discount_price", "cid,goods_id,title,price,discount_price,coupon_price,intro,img,coupon_id,coupon_url,coupon_receive,coupon_surplus,coupon_total,volume,commission,commission_rate,shop_type,ems,video,start_time,end_time", "GOODS_AUTO_STATUS", "column", "fields", "page", "sort", "default", "GOODS_SORT_TYPE", "start_time desc", "couponPrice", "ids", "pageSize", "shopType", "GOODS_SHOP_TYPE", "list", "total", "sort asc", "new", ", start_time desc", "volume", ", volume desc", "minVolume", ", volume asc", "price", ", discount_price desc", "minPrice", ", discount_price asc", "quan", ", coupon_price desc", "minQuan", ", coupon_price asc", "surplus", ", coupon_surplus desc", "receive", ", coupon_surplus asc", "rand", ", rand()", ", ", "start_time", "<=", "Goods", "id", "query", "wechat", "app", "upid", "WEB_COUPON_PID", "pdd", "pdd_pid", "WEB_PDD_PID", "jd", "jd_pid", "WEB_JD_PID", "User", "puid", "yes", "AGENT_CHANNEL_MEMBER", "pid", "upgrade_switch", "agent_type", "neq", "per_agent_type", "expiring_time > ", " OR expiring_time=0 ", "zero", "relation_id", "\u5546\u54c1ID\u4e3a\u7a7a", "id|goods_id", "coupon_url", "shareUrl", "\u9ad8\u4f63\u91d1PID\u4e3a\u672a\u8bbe\u7f6e", "https:\/\/uland.taobao.com\/coupon\/edetail?activityId=", "&pid=", "&itemId=", "&src=njrt_qytk&tj1=1&tj2=1&mt=1", "&dx=1", "GOODS_TAOBAO_APP", "&nowake=1", "coupon_click_url", "chengxuxiaApp.cxxia_app_name", "cxxiaApp", "TAOBAO_USER_ID", "WEB_TAOBAO_AUTH_STATUS", "AGENT_CHANNEL_MEMBER_PID", "ZERO", "zero_config", "https:\/\/www.heimataoke.com\/api-zhuanlian?appkey=727498258&appsecret=1c125eca08f047aa9afa6c856dc2bfa8&sid=", "&num_iid=", "error_response", "coupon_info", "http:\/\/v2.api.haodanku.com\/ratesurl", "apikey", "HAODANKU_COLLECTION", "itemid", "tb_name", "HAODANKU_TAOBAO_NAME", "data", "couponexplain", "url", "http", "https:", "&relationId=", "commission_rate", "https:\/\/item.taobao.com\/item.htm?&id=", "coupon_share_url", "max_commission_rate", "Agent", "status", "end_time", "user", "agent", "level", "expiring_time", "per_agent", "200", "data\/uploads\/avatar\/", "\/.\/u" ]
[ "data\/install.lock", "<meta http-equiv='Refresh' content='0;URL=", "?s=\/install\/index\/index.html'>", "session", "cxxia_user_auth", "var_page", "page", "path", "query", "fragment", "", "HTTP_HOST", "\/[\\w][\\w-]*\\.(?:com\\.cn|com|cn|net|nl|art|co|org|top|shop|trade|cc|cx|fun|name|info|me|news|pw|la|hk|dk|xin|so|win|in|de|pro|wang|asia|biz|mobi|ren|club|site|space|cm|online|tech|app|live|xyz|cn\\.com|com\\.cn|net\\.cn|org\\.cn|gov\\.cn|com\\.hk|tm|tv|tel|us|bid|ai|tw|website|host|tk|vip|link|ink|press|vu|ws|bi|click|kim|tn|store|vc|red|yt|ltd|re|moe|com\\.tw)(\\\/|$)\/isU", "\/", "http:\/\/", "", "\/", "author-st-chengxuxia.com-base-cxxiacms", "WEB_AUTH_CODE", "Content-Type:text\/html; charset=utf-8", "\u60a8\u7684\u7f51\u7ad9\u672a\u88ab\u6388\u6743\uff0c\u8bf7\u8054\u7cfb\u7a0b\u5e8f\u4fa0\u5b98\u7f51\u6388\u6743\uff0c\u7a0b\u5e8f\u4fa0\u5b98\u7f51\uff1a<a href='http:\\\/\\\/bbs.chengxuxia.com\/' target='_blank'>bbs.chengxuxia.com<\/a> &nbsp;\u5ba2\u670dQQ\uff1a<a href='http:\/\/wpa.qq.com\/msgrd?v=3&uin=573907419&site=qq&menu=yes' target='_blank'>573907419<\/a> &nbsp;\u5ba2\u670d\u65fa\u65fa\uff1a<a target='_blank' href='http:\\\/\\\/www.taobao.com\\\/webww\\\/ww.php?ver=3&touid=moxie1314\r\n &siteid=cntaobao&status=1&charset=utf-8'>moxie1314<\/a> <br><br> [\u5907\u6ce8:\u7a0b\u5e8f\u4fa0\u5b98\u7f51\u63d0\u4f9b]", "file_get_contents", "http", "method", "POST", "header", "Content-type: application\/x-www-form-urlencoded", "content", "https", "@", "&", "\u9875\u9762\u4e0d\u5b58\u5728", "code", "msg", "data", "json", ",", "32,48,64,100,200", "data\/uploads\/avatar\/", "Y-m-d", "ORDER_UPDATE_TIME", "site_config", "create_order_log" ]
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
wnsq.net
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
wnsq.net
SERVER_PORT
80
SERVER_ADDR
172.17.114.118
REMOTE_PORT
48134
REMOTE_ADDR
34.238.143.70
SERVER_SOFTWARE
nginx/1.8.1
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/wnsq_net
DOCUMENT_URI
/index.php
REQUEST_URI
/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/wnsq_net/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711650351.6571
REQUEST_TIME
1711650351
[ "_initialize", "isMobile", "url", "domain", "rtrim", "\/", "m\/Index\/index", ".", "config", "default_return_type", "preg_replace", "\/\\\/index\\\/\/", "\/m\/", "redirect" ]
[ "Y-m-d", "DOCUMENT_ROOT", "\/rebate_settlement\/", ".txt", "carried out", "agentReflectType", "AGENT_REFLECT_TYPE", "alipay_config", "0", "commissionName", "commission_log", "usermoney", "money", "type", "taoke_order", "orderIncome", "teamIncome", "levelIncome", "rightsPay", "ORDER_POSTPONE_TIME", "rebate_log", "order_type", "in", "0,2,3,5,6", "2", "end_time", "<", "id", "chengxuxiaFood.cxxia_food_name", "cxxiaFood", "Taketheme", "takeout_config", "reflect_type", "waimai_commission_log", "take_money", "waimai", "takeOrderIncome", "takeTeamIncome", "takeLevelIncome", "takeRightsPay", "postpone_time", "7,8", "ok", "Y-m", "value", "commissionType", "3", "1", "settlement_price", "settlement_pay", "team_income", "team_pay", "level_income", "level_pay", "uid", "create_time", "rebate_money", "", "w", "user", "User", "show tables like \"cxxia_total_income\"", "total_income", "username", "4", "-", "PayLog", "name", "999999", "predict_money", "earning_time", "tb_order_num", "tb_predict_money", "tb_settlement_money", "pdd_order_num", "pdd_predict_money", "pdd_settlement_money", "jd_order_num", "jd_predict_money", "jd_settlement_money", "vip_order_num", "vip_predict_money", "vip_settlement_money", "mgj_order_num", "mgj_predict_money", "mgj_settlement_money", "commission_daily_log" ]
[ "get_config", "API", "api_config", "chengxuxia", "key", "secret", "trim", "vendor", "chengxuxia.CxxiaTopClient", "chengxuxia.CxxiaRequestCheckUtil", "chengxuxia.Logger", "json_encode", "code", "msg", "\u7a0b\u5e8f\u4fa0API\u672a\u586b\u5199", "is_object", "load_api", "GoodsListGetRequest", "column", "setColumn", "fields", "setFields", "ids", "setIds", "keyword", "setKeyword", "urlencode", "sort", "setSort", "cid", "setCid", "couponPrice", "setCouponPrice", "shopType", "setShopType", "page", "setPageNo", "pageSize", "setSize", "setTime", "date", "m-d:H", "execute", "property_exists", "goodsList", "object_to_array", "list", "cate", "total", "GoodsDetailsGetRequest", "setId", "m-d", "details", "likeGoods", "historyGoods", "" ]
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/wnsq_net/application/
THINK_VERSION
5.0.10
THINK_START_TIME
1711650351.6576
THINK_START_MEM
371952
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/wnsq_net/thinkphp/
LIB_PATH
/www/wwwroot/wnsq_net/thinkphp/library/
CORE_PATH
/www/wwwroot/wnsq_net/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/wnsq_net/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/wnsq_net/
EXTEND_PATH
/www/wwwroot/wnsq_net/extend/
VENDOR_PATH
/www/wwwroot/wnsq_net/vendor/
CXXIA_DATA_PATH
/www/wwwroot/wnsq_net/data/
CXXIA_UPGRADE_PATH
/www/wwwroot/wnsq_net/data/upgrade/
CXXIA_INSTALL_PATH
/www/wwwroot/wnsq_net/data/install/
CXXIA_PLUGIN_PATH
/www/wwwroot/wnsq_net/data/plugin/
RUNTIME_PATH
/www/wwwroot/wnsq_net/runtime/
LOG_PATH
/www/wwwroot/wnsq_net/runtime/log/
CACHE_PATH
/www/wwwroot/wnsq_net/runtime/cache/
TEMP_PATH
/www/wwwroot/wnsq_net/runtime/temp/
CONF_PATH
/www/wwwroot/wnsq_net/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
Ǒ