新天地娱乐

1. Symfony\Component\Debug\Exception\FatalErrorException
…/­app/­controllers/­Home/­ArticleController.php96
0. Illuminate\Exception\Handler handleShutdown
<#unknown>0

Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)

Callstack inion; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state inion
Application provided context inion
Symfony\Component\Debug\Exception\FatalErrorException thrown with message "Call to a member function increment() on a non-object" Stacktrace: #1 Symfony\Component\Debug\Exception\FatalErrorException in /home/youtobb1/domains/sdqrsm.cc/app/controllers/Home/ArticleController.php:96 #0 Illuminate\Exception\Handler:handleShutdown in <#unknown>:0

Call to a member function increment() on a non-object

 
	public function getShow($id)
	{
		//return Archive::previous($id);
		$article = Archive::find($id);
 
		// 将浏览量 +1
		$article->increment('views');
 
		//指定词加上链接
<#unknown>
Key Value
CONTEXT_DOCUMENT_ROOT /home/youtobb1/domains/sdqrsm.cc/public_html
CONTEXT_PREFIX
DOCUMENT_ROOT /home/youtobb1/domains/sdqrsm.cc/public_html
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_COOKIE _vstime=1566592753
HTTP_HOST huanggqxw.com
HTTP_REFERER /
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2)
HTTP_X_ACCEL_INTERNAL /nginx_static_files
HTTP_X_FORWARDED_FOR 156.239.80.22
PATH /bin:/usr/bin
PHPRC /usr/local/php54/lib/
PHP_INI_SCAN_DIR /usr/local/directadmin/data/users/youtobb1/php/
QUERY_STRING
REDIRECT_PHP_INI_SCAN_DIR /usr/local/directadmin/data/users/youtobb1/php/
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID XWBPASvwHz0AADQRmbgAAAAJ
REDIRECT_URL /article-show-516.html
REMOTE_ADDR 156.239.80.22
REMOTE_PORT 31221
REQUEST_METHOD GET
REQUEST_SCHEME http
REQUEST_URI /article-show-516.html
SCRIPT_FILENAME /home/youtobb1/domains/sdqrsm.cc/public_html/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 43.240.31.76
SERVER_ADMIN webmaster@sdqrsm.cc
SERVER_NAME huanggqxw.com
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.0
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2
UNIQUE_ID XWBPASvwHz0AADQRmbgAAAAJ
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1566592769.1674
REQUEST_TIME 1566592769
empty
empty
empty
Key Value
_vstime 1566592753
empty
empty
0. Whoops\Handler\PrettyPageHandler
友情链接:七彩娱乐官网  UC彩票官网  七彩娱乐  UC彩票官网  七彩娱乐  七彩娱乐  

免责声明: 本站资料及图片来源互联网文章,本网不承担任何由内容信息所引起的争议和法律责任。所有作品版权归原创作者所有,与本站立场无关,如用户分享不慎侵犯了您的权益,请联系我们告知,我们将做删除处理!