Notice!

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

DOCROOT/fuel/cms/modules/news/classes/controller/news.php @ line 273

268        "related" => array("lang" => array("where"=>array("lang_code"=>\Lang::get_lang()))),
269        "where"=>array(array("slug"=>$slug))
270      )
271    );
272    #print_r($cat_data);exit;
273    $cid $cat_data->id;
274    //echo $cid;
275    $subcats = array($cid);
276    
277    
278    $data = array();

Backtrace

  1. COREPATH/bootstrap.php @ line 112
    107        include COREPATH.'classes/errorhandler.php';
    108        class_alias('\Fuel\Core\Errorhandler''Errorhandler');
    109        class_alias('\Fuel\Core\PhpErrorException''PhpErrorException');
    110    }
    111
    112    return \Errorhandler::error_handler($severity$message$filepath$line);
    113});
    114
    115function setup_autoloader()
    116{
    117    \Autoloader::add_namespace('Fuel\\Core'COREPATH.'classes/');
    
  2. DOCROOT/fuel/cms/modules/news/classes/controller/news.php @ line 273
    268        "related" => array("lang" => array("where"=>array("lang_code"=>\Lang::get_lang()))),
    269        "where"=>array(array("slug"=>$slug))
    270      )
    271    );
    272    #print_r($cat_data);exit;
    273    $cid $cat_data->id;
    274    //echo $cid;
    275    $subcats = array($cid);
    276    
    277    
    278    $data = array();
    
  3. COREPATH/classes/request.php @ line 483
    478                    // fire any controller started events
    479                    \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started''''none');
    480
    481                    $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance);
    482
    483                    $response $action->invokeArgs($this->controller_instance$this->method_params);
    484
    485                    $class->hasMethod('after') and $response $class->getMethod('after')->invoke($this->controller_instance$response);
    486
    487                    // fire any controller finished events
    488                    \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished''''none');
    
  4. DOCROOT/index.php @ line 74
    69            $response Response::forge($response);
    70        }
    71    }
    72    elseif ($e === false)
    73    {
    74        $response Request::forge()->execute()->response();
    75    }
    76    elseif ($route)
    77    {
    78        $response Request::forge($routefalse)->execute(array($e))->response();
    79    }
    
  5. DOCROOT/index.php @ line 99
    94{
    95    // Boot the app...
    96    require APPPATH.'bootstrap.php';
    97
    98    // ... and execute the main request
    99    $response $routerequest();
    100}
    101catch (HttpBadRequestException $e)
    102{
    103    $response $routerequest('_400_'$e);
    104}