Fuel\Core\PhpErrorException [ Notice ]:
Trying to get property of non-object
581 582 // ニュース 583 $config = array( 584 'name' => 'bootstrap3', 585 'pagination_url' => '/detail/'.$id.'/news/', 586 'total_items' => Model_Usernews::query()->where('user_id', $profile->user_id)->where('date', '<=', date('Y-m-d'))->where('disp_flg', 1)->count(), 587 'per_page' => 10, 588 'uri_segment' => 'page', 589 ); 590 $pagination = Pagination::forge('pagination', $config); 591 $this->template->set_safe('pagination', $pagination->render());
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/');
581 582 // ニュース 583 $config = array( 584 'name' => 'bootstrap3', 585 'pagination_url' => '/detail/'.$id.'/news/', 586 'total_items' => Model_Usernews::query()->where('user_id', $profile->user_id)->where('date', '<=', date('Y-m-d'))->where('disp_flg', 1)->count(), 587 'per_page' => 10, 588 'uri_segment' => 'page', 589 ); 590 $pagination = Pagination::forge('pagination', $config); 591 $this->template->set_safe('pagination', $pagination->render());
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');
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