Error!

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

APPPATH/classes/model/frontend/content.php @ line 46

41    if(in_array(static::$admin->artikelmenge_aktion,array(0,1)))
42        $query['where'] = array('id' => $product_id);
43   
44    $artikel model_artikel::find('first',$query);
45
46    $label $artikel->get_language_titles();
47
48    if(!$artikel && !in_array(static::$admin->artikelmenge_aktion,array(0,1)))
49        Response::redirect('shop/');
50    
51    $mwst_preis =  model_frontend_rechner::addMwst($artikel->stk_preis,true);

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 Contents (show)