Fuel\Core\PhpErrorException [ Warning ]:
Trying to access array offset on value of type null
281 $this->template->nav = array('public' => 'active'); 282 $this->template->subnav = array('show'=> 'active' ); 283 $this->template->title = 'Публичная информация » Просмотр'; 284 285 $public = Model_Public::find($id); 286 if ( $public['document_id'] > 0 ) 287 { 288 $doc = Model_Publicdoc::find($public['document_id']); 289 $public['path'] = $doc['path']; 290 $public['name'] = $doc['name']; 291 }
107 include COREPATH.'classes/errorhandler.php'; 108 class_alias('\Fuel\Core\Errorhandler', 'Errorhandler'); 109 class_alias('\Fuel\Core\PhpErrorException', 'PhpErrorException'); 110 } 111 112 return \Errorhandler::error_handler($severity, $message, $filepath, $line); 113 }); 114 115 function setup_autoloader() 116 { 117 \Autoloader::add_namespace('Fuel\\Core', COREPATH.'classes/');
281 $this->template->nav = array('public' => 'active'); 282 $this->template->subnav = array('show'=> 'active' ); 283 $this->template->title = 'Публичная информация » Просмотр'; 284 285 $public = Model_Public::find($id); 286 if ( $public['document_id'] > 0 ) 287 { 288 $doc = Model_Publicdoc::find($public['document_id']); 289 $public['path'] = $doc['path']; 290 $public['name'] = $doc['name']; 291 }
478 // fire any controller started events 479 \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started', '', 'none'); 480 481 $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance); 482 483 $response = $action->invokeArgs($this->controller_instance, $this->method_params); 484 485 $class->hasMethod('after') and $response = $class->getMethod('after')->invoke($this->controller_instance, $response); 486 487 // fire any controller finished events 488 \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished', '', 'none');
128 $response = Response::forge($response); 129 } 130 } 131 elseif ($e === false) 132 { 133 $response = Request::forge()->execute()->response(); 134 } 135 elseif ($route) 136 { 137 $response = Request::forge($route, false)->execute(array($e))->response(); 138 }
167 { 168 // Boot the app... 169 require APPPATH.'bootstrap.php'; 170 171 // ... and execute the main request 172 $response = $routerequest(); 173 } 174 catch (HttpBadRequestException $e) 175 { 176 $response = $routerequest('_400_', $e); 177 }