19. ErrorException
…/­app/­controllers/­FrontController.php856
18. 照亮\异常\处理程序 处理Error
…/­app/­controllers/­FrontController.php856
17. FrontController ShowSingle
<#unknown>0
16. 呼叫_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controller.php231
15. 照亮\路由\控制器 呼叫Action
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php93
14. 照亮\路由\ ControllerDispatcher 呼叫
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php62
13. 照亮\路由\ ControllerDispatcher 调度
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php967
12. 照亮\路由\路由器 照亮\路由\ {关闭}
<#unknown>0
11. 呼叫_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php109
10. 照亮\路由\路由
…/­vendor/­maartenstaa/­laravel-41-route-caching /­src/­Route.php61
9. MaartenStaa \ Routing \ Route
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1033
8. 照亮\路由\路由器 调度ToRoute
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1001
7. 照亮\路由\路由器 调度
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php775
6. 照亮\基础\应用 调度
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php745
5. 照亮\基础\应用 处理
…/­vendor/­laravel/­framework/­src/­Illuminate/­Session/­Middleware.php72
4. 照亮\会话\中间件 处理
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Queue.php47
3. 照亮\饼干\队列 处理
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Guard.php51
2. 照亮\ Cookie \ Guard 处理
…/­vendor/­stack/­builder/­src/­Stack/­StackedHttpKernel.php23
1. Stack \ StackedHttpKernel 处理
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php641
0. 照亮\基础\应用
…/­index.php49

ErrorException (E_NOTICE)

调用栈信息;使用鼠标或键盘导航 Ctrl +↑ 要么 Ctrl +↓
复制到剪贴板按钮
异常消息及其类型
引发错误的代码段
服务器状态信息
应用程序提供的上下文信息
消息引发ErrorException"试图获取非对象的属性" Stacktrace: / home / travelcentremald / public_html/app/controllers/FrontController.php:856中的#19 ErrorException / home / travelcentremald / public_html/app/controllers/FrontController.php:856中的#18 Illuminate \ Exception \ Handler:handleError #17 FrontController:ShowSingle in<#unknown>:0 / home / travelcentremald / public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:231中的#16 call_user_func_array #15 Illuminate \ Routing \ Controller:callAction在/ home / travelcentremald / public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:93中 #14 Illuminate \ Routing \ ControllerDispatcher:调用/ home / travelcentremald / public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:62 #13 Illuminate \ Routing \ ControllerDispatcher:在/ home / travelcentremald / public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:967中分发 #12 Illuminate \ Routing \ Router:Illuminate \ Routing \ {closure}在<#unknown>:0 / home / travelcentremald / public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:109中的#11 call_user_func_array #10 Illuminate \ Routing \ Route:在/ home / travelcentremald / public_html/vendor/maartenstaa/laravel-41-route-caching /src/Route.php:61中运行 #9 MaartenStaa \ Routing \ Route:在/ home / travelcentremald / public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1033中运行 #8 Illuminate \ Routing \ Router:dispatchToRoute / home / travelcentremald / public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1001 #7 Illuminate \ Routing \ Router:在/ home / travelcentremald / public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:775中调度 #6 Illuminate \ Foundation \ Application:在/ home / travelcentremald / public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:745中分发 #5 Illuminate \ Foundation \ Application:/ home / travelcentremald / public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware.php:72中的句柄 #4 Illuminate \ Session \ Middleware:/ home / travelcentremald / public_html/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php:47中的句柄 #3 Illuminate \ Cookie \ Queue:/ home / travelcentremald / public_html/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php:51中的句柄 #2 Illuminate \ Cookie \ Guard:/ home / travelcentremald / public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23中的句柄 #1 Stack \ StackedHttpKernel:/ home / travelcentremald / public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:641中的句柄 #0 Illuminate \ Foundation \ Application:在/ home / travelcentremald / public_html/index.php:49中运行

试图获取非对象的属性

 
	public function ShowSingle($category,$id)
	{	
			$today = date('Y-m-d 00:00:00');
 
			$data = Hotels::where('seo_slug', '=', $id)->with('translations')->remember(60)->first();
 
			$offers = Deals::where('hotels_id', '=', $data->id)->remember(60)->get();
 
			$destinations = Destinations::where('id', '=', $data->destinations_id)->remember(60)->first();
 
	public function ShowSingle($category,$id)
	{	
			$today = date('Y-m-d 00:00:00');
 
			$data = Hotels::where('seo_slug', '=', $id)->with('translations')->remember(60)->first();
 
			$offers = Deals::where('hotels_id', '=', $data->id)->remember(60)->get();
 
			$destinations = Destinations::where('id', '=', $data->destinations_id)->remember(60)->first();
<#unknown>
	 * @param  array   $parameters
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function callAction($method, $parameters)
	{
		$this->setupLayout();
 
		$response = call_user_func_array(array($this, $method), $parameters);
 
		// If no response is returned from the controller action and a layout is being
	 * @param  string  $method
	 * @return mixed
	 */
	protected function call($instance, $route, $method)
	{
		$parameters = $route->parametersWithoutNulls();
 
		return $instance->callAction($method, $parameters);
	}
 
		$response = $this->before($instance, $route, $request, $method);
 
		// If no before filters returned a response we'll call the method on the controller
		// to get the response to be returned to the router. We will then return it back
		// out for processing by this router and the after filters can be called then.
		if (is_null($response))
		{
			$response = $this->call($instance, $route, $method);
		}
 
			$request = $this->getCurrentRequest();
 
			// Now we can split the controller and method out of the action string so that we
			// can call them appropriately on the class. This controller and method are in
			// in the [电子邮件 protected] format and we need to explode them out then use them.
			list($class, $method) = explode('@', $controller);
 
			return $d->dispatch($route, $request, $class, $method);
		};
	}
<#unknown>
	 *
	 * @return mixed
	 */
	public function run()
	{
		$parameters = array_filter($this->parameters(), function($p) { return isset($p); });
 
		return call_user_func_array($this->action['uses'], $parameters);
	}
 
    {
        $app = app();
 
        if ($app['router']->routingToController($this->action) === true) {
            $this->action = $app['router']->makeControllerActionClosure($this->action);
        }
 
        return parent::run();
    }
 
		// Once we have successfully matched the incoming request to a given route we
		// can call the before filters on that route. This works similar to global
		// filters in that if a response is returned we will not call the route.
		$response = $this->callRouteBefore($route, $request);
 
		if (is_null($response))
		{
			$response = $route->run($request);
		}
 
		// If no response was returned from the before filter, we will call the proper
		// route instance to get the response. If no route is found a response will
		// still get returned based on why no routes were found for this request.
		$response = $this->callFilter('before', $request);
 
		if (is_null($response))
		{
			$response = $this->dispatchToRoute($request);
		}
 
		}
 
		if ($this->runningUnitTests() && ! $this['session']->isStarted())
		{
			$this['session']->start();
		}
 
		return $this['router']->dispatch($this->prepareRequest($request));
	}
 
	{
		try
		{
			$this->refreshRequest($request = Request::createFromBase($request));
 
			$this->boot();
 
			return $this->dispatch($request);
		}
		catch (\Exception $e)
		if ($this->sessionConfigured())
		{
			$session = $this->startSession($request);
 
			$request->setSession($session);
		}
 
		$response = $this->app->handle($request, $type, $catch);
 
		// Again, if the session has been configured we will need to close out the session
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		$response = $this->app->handle($request, $type, $catch);
 
		foreach ($this->cookies->getQueuedCookies() as $cookie)
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch));
	}
 
    {
        $this->app = $app;
        $this->middlewares = $middlewares;
    }
 
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        return $this->app->handle($request, $type, $catch);
    }
 
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @return void
	 */
	public function run(SymfonyRequest $request = null)
	{
		$request = $request ?: $this['request'];
 
		$response = with($stack = $this->getStackedClient())->handle($request);
 
		$response->send();
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have whipped up for them.
|
*/
 
$app->run();
 
空的
空的
空的
空的
空的
DOCUMENT_ROOT / home / travelcentremald / public_html
GATEWAY_INTERFACE CGI / 1.1
HTTP_ACCEPT * / *
HTTP_ACCEPT_ENCODING gzip
HTTP_CDN_LOOP 云耀斑
HTTP_CF_CONNECTING_IP 107.186.33.63
HTTP_CF_IPCOUNTRY 我们
HTTP_CF_RAY 6207e35b0c763b46-SJC
HTTP_CF_REQUEST_ID 0838cc6ce500003b4604bd5000000001
HTTP_CF_VISITOR {"scheme":"http"}
HTTP_CONNECTION 活着
HTTP_HOST www.travelcentremaldives.com
HTTP_USER_AGENT Mozilla / 5.0(Windows NT 6.3; WOW64; rv:71.0)Gecko / 20100101 Firefox / 71.0
HTTP_X_FORWARDED_FOR 107.186.33.63
HTTP_X_FORWARDED_PROTO http
路径 / bin:/ usr / bin
请求参数
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID YCa1E8Cp9OEAACIgd1cAAAAi
REDIRECT_URL /马尔代夫/度假村/ Mercure Kooddoo马尔代夫
REMOTE_ADDR 172.68.132.159
REMOTE_PORT 34480
REQUEST_METHOD 得到
REQUEST_URI / maldives / resort / Mercure%20Kooddoo%20%E9%A9%AC%E5%B0%94%E4%BB%A3%E5%A4%AB
SCRIPT_FILENAME / home / travelcentremald / public_html/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 192.169.244.225
SERVER_ADMIN [电子邮件 protected]
服务器名称 www.travelcentremaldives.com
服务器端口 80
SERVER_PROTOCOL HTTP / 1.1
SERVER_SIGNATURE <address>Apache / 2.2.34(Unix)mod_ssl / 2.2.34 OpenSSL / 1.0.1e-fips mod_bwlimited / 1.4服务器位于www.travelcentremaldives.com端口80</address>
SERVER_SOFTWARE Apache / 2.2.34(Unix)mod_ssl / 2.2.34 OpenSSL / 1.0.1e-fips mod_bwlimited / 1.4
唯一身份 YCa1E8Cp9OEAACIgd1cAAAAi
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1613149459.9792
REQUEST_TIME 1613149459
精油 数组 ( )
argc 0
DOCUMENT_ROOT / home / travelcentremald / public_html
GATEWAY_INTERFACE CGI / 1.1
HTTP_ACCEPT * / *
HTTP_ACCEPT_ENCODING gzip
HTTP_CDN_LOOP 云耀斑
HTTP_CF_CONNECTING_IP 107.186.33.63
HTTP_CF_IPCOUNTRY 我们
HTTP_CF_RAY 6207e35b0c763b46-SJC
HTTP_CF_REQUEST_ID 0838cc6ce500003b4604bd5000000001
HTTP_CF_VISITOR {"scheme":"http"}
HTTP_CONNECTION 活着
HTTP_HOST www.travelcentremaldives.com
HTTP_USER_AGENT Mozilla / 5.0(Windows NT 6.3; WOW64; rv:71.0)Gecko / 20100101 Firefox / 71.0
HTTP_X_FORWARDED_FOR 107.186.33.63
HTTP_X_FORWARDED_PROTO http
路径 / bin:/ usr / bin
请求参数
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID YCa1E8Cp9OEAACIgd1cAAAAi
REDIRECT_URL /马尔代夫/度假村/ Mercure Kooddoo马尔代夫
REMOTE_ADDR 172.68.132.159
REMOTE_PORT 34480
REQUEST_METHOD 得到
REQUEST_URI / maldives / resort / Mercure%20Kooddoo%20%E9%A9%AC%E5%B0%94%E4%BB%A3%E5%A4%AB
SCRIPT_FILENAME / home / travelcentremald / public_html/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 192.169.244.225
SERVER_ADMIN [电子邮件 protected]
服务器名称 www.travelcentremaldives.com
服务器端口 80
SERVER_PROTOCOL HTTP / 1.1
SERVER_SIGNATURE <address>Apache / 2.2.34(Unix)mod_ssl / 2.2.34 OpenSSL / 1.0.1e-fips mod_bwlimited / 1.4服务器位于www.travelcentremaldives.com端口80</address>
SERVER_SOFTWARE Apache / 2.2.34(Unix)mod_ssl / 2.2.34 OpenSSL / 1.0.1e-fips mod_bwlimited / 1.4
唯一身份 YCa1E8Cp9OEAACIgd1cAAAAi
0. Whoops \ Handler \ PrettyPageHandler