Notice!

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

DOCROOT/fuel/cms/modules/design/classes/controller/design.php @ line 152

147        "related" => array("lang" => array("where"=>array("lang_code"=>\Lang::get_lang()))),
148        "where"=>array(array("slug"=>$slug))
149      )
150    );
151    #print_r($cat_data);exit;
152    $cid $cat_data->id;
153    $subcats = array($cid);
154    
155    
156    $data = array();
157    

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/design/classes/controller/design.php @ line 152
    147        "related" => array("lang" => array("where"=>array("lang_code"=>\Lang::get_lang()))),
    148        "where"=>array(array("slug"=>$slug))
    149      )
    150    );
    151    #print_r($cat_data);exit;
    152    $cid $cat_data->id;
    153    $subcats = array($cid);
    154    
    155    
    156    $data = array();
    157    
    
  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}