Notice!

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

APPPATH/classes/controller/staff.php @ line 32

27            'order_by' => array('contents_date' => 'desc')
28            
29            )
30        )));
31        $this->template->set_global('staffData'$staffData);
32        $otherStaff Model_Staff::getArchiveAll(-10$staffData->id);
33        $this->template->set_global('otherStaff'$otherStaff);
34        $this->mainView 'staff_detail';
35        
36        if ($lang == 'en') {
37            $this->template->title $this->pageTitleEn;

Backtrace

  1. COREPATH/bootstrap.php @ line 103
    98        include COREPATH.'classes/errorhandler.php';
    99        class_alias('\Fuel\Core\Errorhandler''Errorhandler');
    100        class_alias('\Fuel\Core\PhpErrorException''PhpErrorException');
    101    }
    102
    103    return \Errorhandler::error_handler($severity$message$filepath$line);
    104});
    105
    106function setup_autoloader()
    107{
    108    \Autoloader::add_namespace('Fuel\\Core'COREPATH.'classes/');
    
  2. APPPATH/classes/controller/staff.php @ line 32
    27            'order_by' => array('contents_date' => 'desc')
    28            
    29            )
    30        )));
    31        $this->template->set_global('staffData'$staffData);
    32        $otherStaff Model_Staff::getArchiveAll(-10$staffData->id);
    33        $this->template->set_global('otherStaff'$otherStaff);
    34        $this->mainView 'staff_detail';
    35        
    36        if ($lang == 'en') {
    37            $this->template->title $this->pageTitleEn;
    
  3. COREPATH/classes/request.php @ line 454
    449                    // fire any controller started events
    450                    \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started''''none');
    451
    452                    $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance);
    453
    454                    $response $action->invokeArgs($this->controller_instance$this->method_params);
    455
    456                    $class->hasMethod('after') and $response $class->getMethod('after')->invoke($this->controller_instance$response);
    457
    458                    // fire any controller finished events
    459                    \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished''''none');
    
  4. DOCROOT/index.php @ line 71
    66            $response Response::forge($response);
    67        }
    68    }
    69    elseif ($e === false)
    70    {
    71        $response Request::forge()->execute()->response();
    72    }
    73    elseif ($route)
    74    {
    75        $response Request::forge($routefalse)->execute(array($e))->response();
    76    }
    
  5. DOCROOT/index.php @ line 92
    87{
    88    // Boot the app...
    89    require APPPATH.'bootstrap.php';
    90
    91    // ... and execute the main request
    92    $response $routerequest();
    93}
    94catch (HttpBadRequestException $e)
    95{
    96    $response $routerequest('_400_'$e);
    97}