操网站操网站,好吊妞好吊妞,俺去操俺去操

发布日期:2021年05月13日

[8] ErrorException in Base.php line 123

未定义数组索引: article_sub
  1. public function getArticleInfo(){
  2. $id = $this->request->param('id','');
  3. if(empty($id)){
  4. $this->error('缺少参数');
  5. }
  6. $info = Article::with('articleSub')
  7. ->field('id,title,subtitle,cid,author,click,picture,seo_t,seo_k,seo_d,intro,create_time')
  8. ->find($id);
  9. $info['imgs'] = explode(',',$info['article_sub']['imgs']);
  10. $info['content'] = $info['article_sub']['content'];
  11. unset($info['article_sub']);
  12. Db::name('article')->where('id',$id)->setInc('click');
  13. return $info;
  14. }
  15. /**
  16. * 获取某个导航下级
  17. */
操网站操网站,好吊妞好吊妞,俺去操俺去操

Call Stack

  1. in Base.php line 123
  2. at Error::appError(8, 'Undefined index: art...', '/data/home/byu544054...', 123, ['id' => '' v.id '', 'info' => ['imgs' => ['']]]) in Base.php line 123
  3. at Base->getArticleInfo() in Base.php line 67
  4. at Base->detail()
  5. at ReflectionMethod->invokeArgs(object(News), []) in Container.php line 395
  6. at Container->invokeReflectMethod(object(News), object(ReflectionMethod), ['id' => '' v.id '']) in Module.php line 136
  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 141
  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 Data
id ' v.id '
POST Dataempty
Filesempty
Cookiesempty
Sessionempty操网站操网站,好吊妞好吊妞,俺去操俺去操
操网站操网站,好吊妞好吊妞,俺去操俺去操
Server/Request Data
DOCUMENT_ROOT /usr/home/byu5440540001/htdocs
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
HTTP_ACCEPT_LANGUAGE zh-cn
HTTP_CONNECTION Keep-Alive
HTTP_HOST www.glzy.cn
HTTP_REFERER /index/news/detail.html?id='+v.id+'
HTTP_USER_AGENT Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Mobile Safari/537.36
PATH /bin:/usr/bin
PHPRC /var/www/php71/hichina_ini/byu5440540001
QUERY_STRING id='+v.id+'
REDIRECT_DOCUMENT_ROOT /usr/home/byu5440540001/htdocs
REDIRECT_GATEWAY_INTERFACE CGI/1.1
REDIRECT_HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
REDIRECT_HTTP_ACCEPT_LANGUAGE zh-cn
REDIRECT_HTTP_CONNECTION Keep-Alive
REDIRECT_HTTP_HOST www.glzy.cn
REDIRECT_HTTP_REFERER /index/news/detail.html?id='+v.id+'
REDIRECT_HTTP_USER_AGENT Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Mobile Safari/537.36
REDIRECT_PATH /bin:/bin/sbin/:/usr/sbin/:/usr/bin/:/usr/local/bin/:/sbin
REDIRECT_PATH_INFO /news/detail.html
REDIRECT_PATH_TRANSLATED redirect:/index.php/news/detail.html/detail.html
REDIRECT_QUERY_STRING id='+v.id+'
REDIRECT_REMOTE_ADDR 104.149.130.250
REDIRECT_REMOTE_PORT 49802
REDIRECT_REQUEST_METHOD GET
REDIRECT_REQUEST_URI /index/news/detail.html?id='+v.id+'
REDIRECT_SCRIPT_FILENAME 操网站操网站,好吊妞好吊妞,俺去操俺去操 /usr/home/byu5440540001/htdocs/index
REDIRECT_SCRIPT_NAME /index
REDIRECT_SCRIPT_URI /index/news/detail.html
REDIRECT_SCRIPT_URL /index/news/detail.html
REDIRECT_SERVER_ADDR 172.17.155.172
REDIRECT_SERVER_ADMIN操网站操网站,好吊妞好吊妞,俺去操俺去操 webmaster@byu5440540001.my3w.com
REDIRECT_SERVER_NAME www.glzy.cn
REDIRECT_SERVER_PORT 80
REDIRECT_SERVER_PROTOCOL HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE Apache
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID YBUoRawRm6wAACxYgacAAAAG
REDIRECT_URL /index/news/detail.html
REMOTE_ADDR 104.149.130.250
REMOTE_PORT 49802
REQUEST_METHOD GET
REQUEST_URI /index/news/detail.html?id='+v.id+'
SCRIPT_FILENAME /usr/home/byu5440540001/htdocs/index.php
SCRIPT_NAME /index.php
SCRIPT_URI /index/news/detail.html
SCRIPT_URL /index/news/detail.html
SERVER_ADDR 172.17.155.172
SERVER_ADMIN webmaster@byu5440540001.my3w.com
SERVER_NAME www.glzy.cn
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
UNIQUE_ID YBUoRawRm6wAACxYgacAAAAG
ORIG_PATH_INFO /index/news/detail.html
ORIG_PATH_TRANSLATED /usr/home/byu5440540001/htdocs/index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1611999302.095
REQUEST_TIME 1611999302
Environment Variablesempty
ThinkPHP Constants
APP_PATH /data/home/byu5440540001/htdocs/application/