美高梅(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: ...', '/data/home/bxu240432...', 344, ['cids' => null, 'cj' => '']) in common.php line 344
  3. at getproducts(null) in News.php line 65
  4. at News->show()
  5. at ReflectionMethod->invokeArgs(object(News), []) in Container.php line 395
  6. at Container->invokeReflectMethod(object(News), object(ReflectionMethod), ['id' => '77', '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 8rfgo0co7odjjb5o4hec5dlbj4
Sessionempty
Server/Request Data
DOCUMENT_ROOT /usr/home/bxu2404320353/htdocs
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip
HTTP_COOKIE PHPSESSID=8rfgo0co7odjjb5o4hec5dlbj4
HTTP_HOST www.ksyymedical.cn
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
PATH /bin:/usr/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_COOKIE PHPSESSID=8rfgo0co7odjjb5o4hec5dlbj4
REDIRECT_HTTP_HOST www.ksyymedical.cn
REDIRECT_HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
REDIRECT_PATH /bin:/bin/sbin/:/usr/sbin/:/usr/bin/:/usr/local/bin/:/sbin
REDIRECT_PATH_INFO technology/77.html
REDIRECT_PATH_TRANSLATED redirect:/index.php
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR 50.2.190.202
REDIRECT_REMOTE_PORT 56198
REDIRECT_REQUEST_METHOD GET
REDIRECT_REQUEST_URI /technology/77.html
REDIRECT_SCRIPT_FILENAME /usr/home/bxu2404320353/htdocs/technology
REDIRECT_SCRIPT_NAME /technology
REDIRECT_SERVER_ADDR 60.205.20.180
REDIRECT_SERVER_ADMIN webmaster@bxu2404320353.my3w.com
REDIRECT_SERVER_NAME www.ksyymedical.cn
REDIRECT_SERVER_PORT 80
REDIRECT_SERVER_PROTOCOL HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE Apache
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID ZXIgqAosL9QAAGJLZWUAAAAP
REDIRECT_URL /technology/77.html
REMOTE_ADDR 50.2.190.202
REMOTE_PORT 56198
REQUEST_METHOD GET
REQUEST_URI /technology/77.html
SCRIPT_FILENAME /usr/home/bxu2404320353/htdocs/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 60.205.20.180
SERVER_ADMIN webmaster@bxu2404320353.my3w.com
SERVER_NAME www.ksyymedical.cn
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
UNIQUE_ID ZXIgqAosL9QAAGJLZWUAAAAP
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1701978280.6646
REQUEST_TIME 1701978280
Environment Variablesempty
ThinkPHP Constantsempty
XML 地图