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

APPPATH/src/Application/Controller/NoticiasController.php [ 44 ]

39 
40    public function viewAction($id)
41    {
42    	$noticia = Noticia::findById($id);
43 
44       $this->title($noticia->tx_titulo);
45 
46       $outras = Noticia::findAll($conditions = ["id_noticias!={$id} AND fl_status=1 AND cd_categoria={$noticia->cd_categoria}"], $modifyQueryCallback = null, $orderBy = 'id_noticias', $direction = 'desc', $limit = 3, $offset = null);
47 
48    	$breadcrumbs = array(
49 			array('CRO RN', \URL::site(\Route::get('home')->uri())),
  1. APPPATH/src/Application/Controller/NoticiasController.php [ 44 ] » Kohana_Core::error_handler(arguments)

  2. {PHP internal call} » Application\Controller\NoticiasController->viewAction(arguments)

  3. /home/crorn2022/src/Mix/Application.php [ 217 ] » call_user_func_array(arguments)

  4. /home/crorn2022/src/Mix/Application.php [ 255 ] » Mix\Application->handle(arguments)

  5. DOCROOT/index.php [ 99 ] » Mix\Application->run()

Environment