Notice!

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

APPPATH/classes/controller/shop.php @ line 82

77        }
78
79        //店舗情報取得
80        $tb_shop Model_Tb_Shop::find($id);
81
82        if($tb_shop->f_del == 1){
83            Response::redirect('/');
84        }
85
86        //ジャンル読み出し
87        $m_genres Model_M_Genre::get_list();

Backtrace

  1. COREPATH/bootstrap.php @ line 79
    74set_error_handler(function ($severity$message$filepath$line)
    75{
    76    // reset the autoloader
    77    \Autoloader::_reset();
    78
    79    return \Error::error_handler($severity$message$filepath$line);
    80});
    81
    82function setup_autoloader()
    83{
    84    Autoloader::add_namespace('Fuel\\Core'COREPATH.'classes/');
    
  2. APPPATH/classes/controller/shop.php @ line 82
    77        }
    78
    79        //店舗情報取得
    80        $tb_shop Model_Tb_Shop::find($id);
    81
    82        if($tb_shop->f_del == 1){
    83            Response::redirect('/');
    84        }
    85
    86        //ジャンル読み出し
    87        $m_genres Model_M_Genre::get_list();
    
  3. COREPATH/classes/controller.php @ line 66
    61        }
    62
    63        // If method is not available, throw an HttpNotFound Exception
    64        if (method_exists($this$controller_method))
    65        {
    66            return call_user_func_array(array($this$controller_method), $arguments);
    67        }
    68        else
    69        {
    70            throw new \HttpNotFoundException();
    71        }
    
  4. COREPATH/classes/request.php @ line 428
    423                    // fire any controller started events
    424                    \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started''''none');
    425
    426                    $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance);
    427
    428                    $response $action->invokeArgs($this->controller_instance$this->method_params);
    429
    430                    $class->hasMethod('after') and $response $class->getMethod('after')->invoke($this->controller_instance$response);
    431
    432                    // fire any controller finished events
    433                    \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished''''none');
    
  5. DOCROOT/index.php @ line 49
    44require APPPATH.'bootstrap.php';
    45
    46// Generate the request, execute it and send the output.
    47try
    48{
    49    $response Request::forge()->execute()->response();
    50}
    51catch (HttpNotFoundException $e)
    52{
    53    $route array_key_exists('_404_'Router::$routes) ? Router::$routes['_404_']->translation Config::get('routes._404_');
    54