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

APPPATH/classes/controller/veiculo.php [ 30 ]

25             else
26                 $pagina = ORM::factory('paginas')->where('gama_id','=',$gama->id)->find();
27             
28             
29             $multimedia = json_decode($pagina->imagens_ficheiros);
30             $images = $multimedia->imagens;
31             $files = $multimedia->ficheiros;
32             
33             $menus = array(
34                 array(
35                     'titulo'=>'Apresentação',
  1. APPPATH/classes/controller/veiculo.php [ 30 ] » Kohana_Core::error_handler(arguments)

  2. {PHP internal call} » Controller_Veiculo->action_apresentacao()

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

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

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

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

Environment