Error

We're sorry, but an unhandled error occurred. Please see the details below.

Trying to get property of non-object

/home/dorsetga/public_html/themes/dg-hotel/pages/whats-on/item.htm line 26

 
	//print_r($this['currentCrumb']);
	//print_r($this);
 
	//throw new Exception('test BP');
 
	$this['test'] = $this['blogPost']->post->attributes;
	$this->page->title = $this['blogPost']->post->attributes['title'];
 
	$this['blogPost']->post['featured_images'];
 
	$post = $this['blogPost']->loadPost();
 

Stack trace

# Called Code Document Line
18 Cms5c0db4a8deb26_2552193316Class->onEnd() http://www.dorsetgardenshotel.com.au/modules/cms/classes/Controller.php 643
17 Cms\Classes\Controller->execPageCycle() http://www.dorsetgardenshotel.com.au/modules/cms/classes/Controller.php 299
16 Cms\Classes\Controller->run()
15 call_user_func_array() http://www.dorsetgardenshotel.com.au/vendor/laravel/framework/src/Illuminate/Routing/Controller.php 231
14 Illuminate\Routing\Controller->callAction() http://www.dorsetgardenshotel.com.au/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 93
13 Illuminate\Routing\ControllerDispatcher->call() http://www.dorsetgardenshotel.com.au/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 62
12 Illuminate\Routing\ControllerDispatcher->dispatch() http://www.dorsetgardenshotel.com.au/vendor/laravel/framework/src/Illuminate/Routing/Router.php 962
11 Illuminate\Routing\Router->Illuminate\Routing\{closure}()
10 call_user_func_array() http://www.dorsetgardenshotel.com.au/vendor/laravel/framework/src/Illuminate/Routing/Route.php 109
9 Illuminate\Routing\Route->run() http://www.dorsetgardenshotel.com.au/vendor/laravel/framework/src/Illuminate/Routing/Router.php 1028
8 Illuminate\Routing\Router->dispatchToRoute() http://www.dorsetgardenshotel.com.au/vendor/laravel/framework/src/Illuminate/Routing/Router.php 996
7 Illuminate\Routing\Router->dispatch() http://www.dorsetgardenshotel.com.au/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 775
6 Illuminate\Foundation\Application->dispatch() http://www.dorsetgardenshotel.com.au/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 745
5 Illuminate\Foundation\Application->handle() http://www.dorsetgardenshotel.com.au/vendor/laravel/framework/src/Illuminate/Session/Middleware.php 72
4 Illuminate\Session\Middleware->handle() http://www.dorsetgardenshotel.com.au/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php 47
3 Illuminate\Cookie\Queue->handle() http://www.dorsetgardenshotel.com.au/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php 51
2 Illuminate\Cookie\Guard->handle() http://www.dorsetgardenshotel.com.au/vendor/stack/builder/src/Stack/StackedHttpKernel.php 23
1 Stack\StackedHttpKernel->handle() http://www.dorsetgardenshotel.com.au/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 641
0 Illuminate\Foundation\Application->run() http://www.dorsetgardenshotel.com.au/index.php 47