美高梅(79906am-MGM认证)官网-Best App Store

[8] ErrorException in common.php line 344

未定义变量: where

  1. if (!empty($cids)) {
  2. $where[]=['cid','in',$cids];
  3. }
  4. if(!empty($cj)){
  5. $where[]=['cj','=','on'];
  6. }
  7. $list=db('archives')->alias('a')->join('bsa_arctype b','a.cid=b.tid','left')->where($where)->order('sort desc,id desc')->fetchSql(false)->limit(5)->select();
  8. return $list;
  9. }
  10. //获取指写目录下的文章
  11. function getpartype($tid, $tem)
  12. {
  13. $list=db('archives')->where('cid', $tid)->select();

Call Stack

  1. in common.php line 344
  2. at Error::appError(8, 'Undefined variable: ...', '/usr/home/bxu2404320...', 344, ['cids' => null, 'cj' => '']) in common.php line 344
  3. at getproducts(null) in Goods.php line 61
  4. at Goods->show()
  5. at ReflectionMethod->invokeArgs(object(Goods), []) in Container.php line 395
  6. at Container->invokeReflectMethod(object(Goods), object(ReflectionMethod), ['id' => '75', 'convert' => false]) in Module.php line 131
  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 136
  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 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID a4uv9o16mn8n1h90eofhtdke05
Sessionempty
Server/Request Data
DOCUMENT_ROOT /usr/home/bxu2404320353/htdocs
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION close
HTTP_COOKIE PHPSESSID=a4uv9o16mn8n1h90eofhtdke05
HTTP_HOST www.ksyymedical.cn
HTTP_REMOTE_HOST 50.2.190.202
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_FORWARDED_FOR 50.2.190.202
HTTP_X_FORWARDED_PROTO http
HTTP_X_REAL_IP 50.2.190.202
PATH /bin
PHPRC /var/www/php56/hichina_ini/bxu2404320353
QUERY_STRING
REDIRECT_DOCUMENT_ROOT /usr/home/bxu2404320353/htdocs
REDIRECT_GATEWAY_INTERFACE CGI/1.1
REDIRECT_HTTP_ACCEPT */*
REDIRECT_HTTP_ACCEPT_ENCODING gzip
REDIRECT_HTTP_CONNECTION close
REDIRECT_HTTP_COOKIE PHPSESSID=a4uv9o16mn8n1h90eofhtdke05
REDIRECT_HTTP_HOST www.ksyymedical.cn
REDIRECT_HTTP_REMOTE_HOST 50.2.190.202
REDIRECT_HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
REDIRECT_HTTP_X_FORWARDED_FOR 50.2.190.202
REDIRECT_HTTP_X_FORWARDED_PROTO http
REDIRECT_HTTP_X_REAL_IP 50.2.190.202
REDIRECT_PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO xshe/75.html
REDIRECT_PATH_TRANSLATED redirect:/index.php
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR 10.17.51.151
REDIRECT_REMOTE_PORT 47710
REDIRECT_REQUEST_METHOD GET
REDIRECT_REQUEST_URI /xshe/75.html
REDIRECT_SCRIPT_FILENAME /usr/home/bxu2404320353/htdocs/xshe
REDIRECT_SCRIPT_NAME /xshe
REDIRECT_SERVER_ADDR 10.19.191.186
REDIRECT_SERVER_ADMIN webmaster@bxu2404320353.my3w.com
REDIRECT_SERVER_NAME www.ksyymedical.cn
REDIRECT_SERVER_PORT 80
REDIRECT_SERVER_PROTOCOL HTTP/1.0
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE Apache
REDIRECT_STATUS 200
REDIRECT_TZ Asia/Shanghai
REDIRECT_UNIQUE_ID Zno1zgoTv7oABM0TK4AAAAAC
REDIRECT_URL /xshe/75.html
REMOTE_ADDR 10.17.51.151
REMOTE_PORT 47710
REQUEST_METHOD GET
REQUEST_URI /xshe/75.html
SCRIPT_FILENAME /usr/home/bxu2404320353/htdocs/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 10.19.191.186
SERVER_ADMIN webmaster@bxu2404320353.my3w.com
SERVER_NAME www.ksyymedical.cn
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.0
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
TZ Asia/Shanghai
UNIQUE_ID Zno1zgoTv7oABM0TK4AAAAAC
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1719285198.9632
REQUEST_TIME 1719285198
Environment Variablesempty
ThinkPHP Constantsempty
XML 地图