Fatal error: Call to a member function toArray() on a non-object in E:\www\xianhuo_bsb\app\controllers\HomeController.php on line 60
Whoops! There was an error.
1. Symfony\Component\Debug\Exception\FatalErrorException
бн\app\controllers\HomeController.php60
0. Illuminate\Exception\Handler handleShutdown
<#unknown>0

Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_ERROR) Symfony\Component\Debug\Exception\FatalErrorException thrown with message "Call to a member function toArray() on a non-object" Stacktrace: #1 Symfony\Component\Debug\Exception\FatalErrorException in E:\www\xianhuo_bsb\app\controllers\HomeController.php:60 #0 Illuminate\Exception\Handler:handleShutdown in <#unknown>:0

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

		   		$this->sige();
		   		return;
	   		}
 
	   	}
 
	    if(isset($temp[0]) && $temp[0] && trim($temp[0])){
	        $cat_first_info = MyCategoryInfo::where('identify','=',$temp[0])->first()->toArray();
	        if($cat_first_info){
	        	$cat_first_id = $cat_first_info['id'];
<#unknown>
Key Value
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-5c9875ba-b3de-490f-a696-235a9124836c
PHP_FCGI_MAX_REQUESTS 10000
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\xianhuo186.com\xianhuo186.com.config
APP_POOL_ID xianhuo186.com
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME iZnz7eq1ds5enjZ
ComSpec C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK NO
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 2
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 4f01
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC C:\Users\Public
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
USERDOMAIN WORKGROUP
USERNAME iZnz7eq1ds5enjZ$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
windows_tracing_flags 3
windows_tracing_logfile C:\BVTBin\Tests\installpackage\csilogfile.log
ORIG_PATH_INFO /index.php
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/7.5
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME www.xianhuo186.com
SCRIPT_NAME /index.php
SCRIPT_FILENAME E:\www\xianhuo_bsb\public\index.php
REQUEST_URI / http:/www.168chaogu.com
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 57256
REMOTE_HOST 45.115.243.181
REMOTE_ADDR 45.115.243.181
QUERY_STRING
PATH_TRANSLATED E:\www\xianhuo_bsb\public\index.php
LOGON_USER
LOCAL_ADDR 47.95.144.123
INSTANCE_META_PATH /LM/W3SVC/2
INSTANCE_NAME XIANHUO186.COM
INSTANCE_ID 2
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT E:\www\xianhuo_bsb\public
CONTENT_TYPE
CONTENT_LENGTH 0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH E:\www\xianhuo_bsb\public\
APPL_MD_PATH /LM/W3SVC/2/ROOT
IIS_UrlRewriteModule 7.1.0871.0
UNENCODED_URL /%20http:/www.168chaogu.com
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /%20http:/www.168chaogu.com
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2)
HTTP_REFERER
HTTP_HOST www.xianhuo186.com
HTTP_COOKIE _vstime=1570816775; PHPSESSID=p6egdg0k66im02b1b8eupoqi65; laravel_session=eyJpdiI6Ik1pTVVoT2JxOEJIWkZ4ZWd0Ylc3RWc9PSIsInZhbHVlIjoiMncwMWdlU0R2QUVUcm9LakhRXC9kaVBoOGFveGVtbkFiMHIwa1U1cTAzOHE1V0pvY1l1MmpHSFNmYmdTQTYyeFwvOFB5a3dFZzdydG51Y0YyVkFjanRUdz09IiwibWFjIjoiOWE3YmRjNTBkMjBkZGQ5ZmYxMTNjZjc1MzE2OTcxOThjZjIxNjVhNzcwODVlMTcwM2RjYzk0NTkyMGRhMjY4NCJ9;
HTTP_ACCEPT */*
HTTP_CONTENT_LENGTH 0
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1570816782.271
REQUEST_TIME 1570816782
empty
empty
empty
Key Value
_vstime 1570816775
PHPSESSID p6egdg0k66im02b1b8eupoqi65
laravel_session eyJpdiI6Ik1pTVVoT2JxOEJIWkZ4ZWd0Ylc3RWc9PSIsInZhbHVlIjoiMncwMWdlU0R2QUVUcm9LakhRXC9kaVBoOGFveGVtbkFiMHIwa1U1cTAzOHE1V0pvY1l1MmpHSFNmYmdTQTYyeFwvOFB5a3dFZzdydG51Y0YyVkFjanRUdz09IiwibWFjIjoiOWE3YmRjNTBkMjBkZGQ5ZmYxMTNjZjc1MzE2OTcxOThjZjIxNjVhNzcwODVlMTcwM2RjYzk0NTkyMGRhMjY4NCJ9
empty
empty
0. Whoops\Handler\PrettyPageHandler