Error!

ErrorException [ Error ]: Call to a member function get_path_parts() on null

APPPATH/classes/controller/layout.php @ line 476

471        }
472    }
473    
474    public function action_kategorie()
475    {
476        $info = static::$current_shop_page->get_path_parts();
477
478        $text = static::$current_shop_page->get_path_text();
479        
480        $info['sub'] != '' and $info['sub'] = $info['main'];
481

Backtrace

  1. COREPATH/bootstrap.php @ line 33
    28 Register all the error/shutdown handlers
    29 */
    30register_shutdown_function(function ()
    31{
    32    load_error_classes();
    33    return \Error::shutdown_handler();
    34});
    35
    36set_exception_handler(function (\Exception $e)
    37{
    38    load_error_classes();
    

Prior Non-Fatal Errors

  1. Notice: Trying to get property of non-object in APPPATH/classes/controller/layout.php @ line 251
    246
    247            if($sub_segment == 'kategorie') {
    248                $parent_id 0;
    249            }
    250            else {
    251                $parent_id $subpage->id;
    252            }
    253
    254            static::$current_shop_page model_uebersicht::find('first',array(
    255                'where' => array(array('url_title','like','%"' $search_segment '"%'),'parent'=>$parent_id)
    256            ));
    

Prior Contents (show)