ErrorException [ Notice ]: Trying to get property 'id' of non-object

APPPATH/classes/controller/page.php [ 65 ]

60 		}
61 		else if($this->slug){
62 			//kategori listeleme
63 			$slugen = $this->slug;
64 			$this->data->page = $page  = R::findOne( "kategori", "slugen=?", array($slugen) );
65 			$this->data->pros = R::find('subtitles', 'parent=? order by ord asc', array($page->id) );
66 			$this->data->noparents = R::find('products', 'parent=? and subparent=? order by ord asc', array($page->id, 0) );
67 			$this->data->title = json_decode($this->data->page->title)->en ." - ";
68 			$this->view = "products";
69 		}
70 		else{
  1. APPPATH/classes/controller/page.php [ 65 ] » Kohana_Core::error_handler(arguments)

  2. {PHP internal call} » Controller_Page->action_products()

  3. SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)

  4. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  5. SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)

  6. DOCROOT/index.php [ 111 ] » Kohana_Request->execute()

Environment