ErrorException [ Error ]: Call to a member function generate_url() on null
655 if(count($uri) == 1) 656 { 657 if(preg_match($language_regex, $this->get_correct_uri_segment(1))) 658 { 659 $page = $this->_getStartpage(static::$current_language); 660 Response::redirect($page->generate_url()); 661 } 662 else 663 { 664 $navi = model_cms_navi::find('first',array( 665 'where' => array('url_title'=>str_replace('.html', '', $uri[1]),'parent'=>0)
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();