Notice!

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

APPPATH/classes/controller/index.php @ line 503

498
499        // ギャラリー
500        $config = array(
501            'name'         => 'bootstrap3',
502            'pagination_url' => '/detail/'.$id.'/albumlist/',
503            'total_items'    => Model_Usergallery::query()->where('user_id'$profile->user_id)->where('date''<='date('Y-m-d'))->where('disp_flg'1)->count(),
504            'per_page'       => 10,
505            'uri_segment'    => 'page',
506        );
507        $pagination Pagination::forge('pagination'$config);
508        $this->template->set_safe('pagination'$pagination->render());

Backtrace

  1. COREPATH/bootstrap.php @ line 98
    93        include COREPATH.'classes/error.php';
    94        class_alias('\Fuel\Core\Error''Error');
    95        class_alias('\Fuel\Core\PhpErrorException''PhpErrorException');
    96    }
    97
    98    return \Error::error_handler($severity$message$filepath$line);
    99});
    100
    101function setup_autoloader()
    102{
    103    Autoloader::add_namespace('Fuel\\Core'COREPATH.'classes/');
    
  2. APPPATH/classes/controller/index.php @ line 503
    498
    499        // ギャラリー
    500        $config = array(
    501            'name'         => 'bootstrap3',
    502            'pagination_url' => '/detail/'.$id.'/albumlist/',
    503            'total_items'    => Model_Usergallery::query()->where('user_id'$profile->user_id)->where('date''<='date('Y-m-d'))->where('disp_flg'1)->count(),
    504            'per_page'       => 10,
    505            'uri_segment'    => 'page',
    506        );
    507        $pagination Pagination::forge('pagination'$config);
    508        $this->template->set_safe('pagination'$pagination->render());
    
  3. COREPATH/classes/request.php @ line 444
    439                    // fire any controller started events
    440                    \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started''''none');
    441
    442                    $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance);
    443
    444                    $response $action->invokeArgs($this->controller_instance$this->method_params);
    445
    446                    $class->hasMethod('after') and $response $class->getMethod('after')->invoke($this->controller_instance$response);
    447
    448                    // fire any controller finished events
    449                    \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished''''none');
    
  4. 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