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

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

184 		else{
185 			$this->view = "stat";
186 		}
187 
188 		$this->data->page = R::findOne("kategori", "slugen=? and viewtype=?", array($slugen, 1));
189 		$this->data->children = R::find("kategori", "parent=? order by ord asc", array($this->data->page->id));
190 		$this->data->title = json_decode($this->data->page->title)->en ." - ";
191 	}
192 
193 	public function action_news(){
194 		$slugen = $this->slug;
  1. APPPATH/classes/controller/page.php [ 189 ] » Kohana_Core::error_handler(arguments)

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

  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