[2] ErrorException in FangCms.php line 447

A non-numeric value encountered

  1. $where[] = getAcreage($s['acreage'],'acreage');
  2. $acreage = config('filter.acreage');
  3. $seo_keys .= '_'.$acreage[$s['acreage']]['name'];
  4. }
  5. if(!empty($s['years'])){
  6. $s_years = config('filter.years');
  7. $y_val = $s_years[$s['years']]['value'];
  8. $years = date('Y',time());
  9. $start_years = $years - $y_val[0];
  10. $end_years = $start_years - $y_val[1];
  11. $where[] = ['years','elt',$start_years];
  12. $where[] = ['years','egt',$end_years];
  13. $seo_keys .= '_'.$s_years[$s['years']]['name'];
  14. $name['years'] = $s_years[$s['years']]['name'];
  15. }
  16. if(!empty($s['renovation']))
  17. {
  18. $where[] = ['renovation','eq',$s['renovation']];
  19. $renovation_name = getLinkMenuName(8,$s['renovation']);

Call Stack

  1. in FangCms.php line 447
  2. at Error::appError(2, 'A non-numeric value ...', '/data1/fang/shzf.cn/...', 447, ['limit' => 10, 'page' => 0, 'name' => ['city' => '闵行'], ...]) in FangCms.php line 447
  3. at FangCms::second() in Second.php line 21
  4. at Second->index()
  5. at ReflectionMethod->invokeArgs(object(Second), []) in Container.php line 395
  6. at Container->invokeReflectMethod(object(Second), object(ReflectionMethod), ['alias' => 'minhang', 'price' => '0', 'acreage' => '0', ...]) in Module.php line 132
  7. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  8. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  9. at Middleware->think\{closure}(object(Request))
  10. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  11. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  12. at Module->exec() in Dispatch.php line 168
  13. at Dispatch->run() in App.php line 432
  14. at App->think\{closure}(object(Request), object(Closure), null)
  15. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  16. at Middleware->think\{closure}(object(Request))
  17. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  18. at Middleware->dispatch(object(Request)) in App.php line 435
  19. at App->run() in index.php line 11

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
city_info { "id": 22, "province_id": 1, "name": "\u4e0a\u6d77", "alias": "", "pid": 0, "spid": "0", "ordid": 255, "status": 1, "seo_title": "", "seo_keys": "", "seo_desc": "", "img": null, "domain": "www", "is_hot": 0, "is_default": 1, "is_index": 0, "lat": "31.24077606885", "lng": "121.48486824358", "data": null, "city_code": null, "hits": 0 }
city_id 22
city_ids think:["22"]
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_CONTENT_TYPE application/x-www-form-urlencoded
HTTP_CONTENT_LENGTH 0
HTTP_VIA 2.0 Caddy
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT_ENCODING identity
HTTP_X_FORWARDED_HOST rt.http3.lol
HTTP_ACCEPT */*
HTTP_X_FORWARDED_FOR 216.73.216.11
HTTP_X_FORWARDED_PROTO https
HTTP_HOST www.shzf.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME shzf.cn
SERVER_PORT 443
SERVER_ADDR 172.31.98.162
REMOTE_PORT 57806
REMOTE_ADDR 23.254.220.158
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /data1/fang/shzf.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /esf/minhang/0-0-0-0-5-0-0-0-0-0-0-1/
SCRIPT_NAME /index.php
CONTENT_LENGTH 0
CONTENT_TYPE application/x-www-form-urlencoded
REQUEST_METHOD GET
QUERY_STRING s=//esf/minhang/0-0-0-0-5-0-0-0-0-0-0-1/
SCRIPT_FILENAME /data1/fang/shzf.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1783048908.6647
REQUEST_TIME 1783048908
Environment Variablesempty
ThinkPHP Constants
QINIU_FUNCTIONS_VERSION 7.2.7