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

FCPATH/application/modules/origin/controllers/origin.php [ 99 ]

 94 
 95 		$DB1->where( 'idProdotto', $prodotto->idProdotto );
 96 		$DB1->order_by( 'ordine' );
 97 		$foto=$DB1->get( 'prodotti_foto' )->result();
 98 
 99 		$DB1->where( 'id', $pagina->id_lingua );
100 		$lingua=$DB1->get( 'lingua' )->row();
101 
102 		// Rimuove dal prodotto remove_empty_tags_recursive
103 		foreach ($prodotto as $key => $value) {
104 			$prodotto->$key=$this->remove_empty_tags_recursive($value);
  1. FCPATH/application/modules/origin/controllers/origin.php [ 99 ] » MY_Exceptions::error_handler(arguments)

  2. {PHP internal call} » Origin->prodotto(arguments)

  3. FCPATH/system/core/CodeIgniter.php [ 356 ] » call_user_func_array(arguments)

  4. FCPATH/index.php [ 229 ] » require_once(arguments)

Environment

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

FCPATH/application/modules/origin/controllers/origin.php [ 108 ]

103 		foreach ($prodotto as $key => $value) {
104 			$prodotto->$key=$this->remove_empty_tags_recursive($value);
105 		}
106 
107 		// SISTEMAZIONI COMBO
108 		$options_sistemazione= explode( ',', $lingua->prodotti_prenota_sistemazione ) ;
109 		$options_sistemazione=array_for_select($options_sistemazione);
110 		$this->template
111 		->title( $pagina->titolo )
112 		->set_metadata( 'description', $pagina->description )
113 		->set_metadata( 'keywords', $pagina->keyword )
  1. FCPATH/application/modules/origin/controllers/origin.php [ 108 ] » MY_Exceptions::error_handler(arguments)

  2. {PHP internal call} » Origin->prodotto(arguments)

  3. FCPATH/system/core/CodeIgniter.php [ 356 ] » call_user_func_array(arguments)

  4. FCPATH/index.php [ 229 ] » require_once(arguments)

Environment