Notice!

Fuel\Core\PhpErrorException [ Notice ]:
Trying to get property of non-object

APPPATH/modules/property/classes/controller/property.php @ line 420

415     
416     // $property    =    \Property\Model_property::find()->where('uri','like','%'.$uri.'%')->get_one();
417     $property    =    \Property\Model_property::find()->where('uri','like',$uri)->get_one();
418     
419     
420     $filename="/tmp/".rand()."-".time()."-".$property->id.".zip";
421     
422     
423     $zip = new \ZipArchive();
424     if ($zip->open($filename, \ZipArchive::CREATE)!==TRUE) {
425         exit("cannot open <$filename>\n");

Backtrace

  1. COREPATH/bootstrap.php @ line 98
    93        include COREPATH.'classes/error.php';
    94        class_alias('\Fuel\Core\Error''Error');
    95        class_alias('\Fuel\Core\PhpErrorException''PhpErrorException');
    96    }
    97
    98    return \Error::error_handler($severity$message$filepath$line);
    99});
    100
    101function setup_autoloader()
    102{
    103    Autoloader::add_namespace('Fuel\\Core'COREPATH.'classes/');
    
  2. APPPATH/modules/property/classes/controller/property.php @ line 420
    415     
    416     // $property    =    \Property\Model_property::find()->where('uri','like','%'.$uri.'%')->get_one();
    417     $property    =    \Property\Model_property::find()->where('uri','like',$uri)->get_one();
    418     
    419     
    420     $filename="/tmp/".rand()."-".time()."-".$property->id.".zip";
    421     
    422     
    423     $zip = new \ZipArchive();
    424     if ($zip->open($filename, \ZipArchive::CREATE)!==TRUE) {
    425         exit("cannot open <$filename>\n");
    
  3. /home/vhosts/travel360/v1/shared/modules/caching/classes/request.php @ line 443
    438                    }Catch(\skipcontrolleractionexception $exception){
    439                        $response    = \Response::forge($exception->get_content());
    440                    }
    441                    if(!isset($response)){
    442                        $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance);
    443                        $response $action->invokeArgs($this->controller_instance$this->method_params);
    444                            
    445                            
    446                            $class->hasMethod('after') and $response $class->getMethod('after')->invoke($this->controller_instance$response);
    447                            
    448                            $class->hasMethod('_after') and $class->getMethod('_after')->invoke($this->controller_instance,$response);
    
  4. DOCROOT/index.php @ line 102
    97require APPPATH.'bootstrap.php';
    98
    99// Generate the request, execute it and send the output.
    100try
    101{
    102    $response Request::forge()->execute()->response();
    103}
    104catch (HttpNotFoundException $e)
    105{
    106    \Request::reset_request(true);
    107