Notice!

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

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

113          
114     $uri    =   implode('/',array_slice(explode('/',str_replace('/branded','',$_SERVER["REQUEST_URI"])),3));
115     
116     $property    =    \Property\Model_property::find()->where('uri','like',$uri)->get_one();
117     
118     $pdf_path $_SERVER["DOCUMENT_ROOT"].'pdfs/'.substr(str_replace(' ''_'trim($property->name)),0,20).'_360_Private_Villas_'.$branded.'.pdf'
119     $pdf_url '/pdfs/'.substr(str_replace(' ''_'trim($property->name)),0,20).'_360_Private_Villas_'.$branded.'.pdf';     
120     
121        
122     if (file_exists($pdf_path)) {
123         $file_change_time filemtime($pdf_path);

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 118
    113          
    114     $uri    =   implode('/',array_slice(explode('/',str_replace('/branded','',$_SERVER["REQUEST_URI"])),3));
    115     
    116     $property    =    \Property\Model_property::find()->where('uri','like',$uri)->get_one();
    117     
    118     $pdf_path $_SERVER["DOCUMENT_ROOT"].'pdfs/'.substr(str_replace(' ''_'trim($property->name)),0,20).'_360_Private_Villas_'.$branded.'.pdf'
    119     $pdf_url '/pdfs/'.substr(str_replace(' ''_'trim($property->name)),0,20).'_360_Private_Villas_'.$branded.'.pdf';     
    120     
    121        
    122     if (file_exists($pdf_path)) {
    123         $file_change_time filemtime($pdf_path);
    
  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