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

FCPATH/third-party/modules/news/controllers/news.php [ 166 ]

161 		// Sätter aktuell posts slug.
162 		$post_slug	=	$this->uri->segment(3);
163 		
164 		// Sätter aktuell posts id.
165 		$query = news_return_post_id_from_slug($post_slug);
166 		$post_id = $query->news_id;
167 
168 		// Hämtar in aktuell post.
169 		$data['news_post']		=	$this->news_model->news_get_post($post_id);
170 		
171 		// Hämtar in X publicerade och aktiva poster för aktuellt språk.
  1. FCPATH/third-party/modules/news/controllers/news.php [ 166 ] » MY_Exceptions::error_handler()

  2. {PHP internal call} » News->view()

  3. SYSDIR/codeigniter/CodeIgniter.php [ 243 ] » call_user_func_array(arguments)