Fuel\Core\PhpErrorException [ Notice ]:
Undefined property: Orm\Query::$id
71 ) 72 ); 73 74 75 //banner top theo hình đại diện của từng phòng 76 $room_main_image = \DB::select()->from("room_images")->where("object_id",$model->id)->where("object_type","a")->order_by("id","desc")->execute()->as_array(); 77 if(!empty($room_main_image)){ 78 $room_main_image = reset($room_main_image); 79 $src_banner = \Room\Simage::get_image_size($room_main_image["image_path"],1920,800); 80 81 //lấy ảnh banner nếu có
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 115function setup_autoloader() 116{ 117 \Autoloader::add_namespace('Fuel\\Core', COREPATH.'classes/');
71 ) 72 ); 73 74 75 //banner top theo hình đại diện của từng phòng 76 $room_main_image = \DB::select()->from("room_images")->where("object_id",$model->id)->where("object_type","a")->order_by("id","desc")->execute()->as_array(); 77 if(!empty($room_main_image)){ 78 $room_main_image = reset($room_main_image); 79 $src_banner = \Room\Simage::get_image_size($room_main_image["image_path"],1920,800); 80 81 //lấy ảnh banner nếu có
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');
66 $response = Response::forge($response); 67 } 68 } 69 elseif ($e === false) 70 { 71 $response = Request::forge()->execute()->response(); 72 } 73 elseif ($route) 74 { 75 $response = Request::forge($route, false)->execute(array($e))->response(); 76 }
91{ 92 // Boot the app... 93 require APPPATH.'bootstrap.php'; 94 95 // ... and execute the main request 96 $response = $routerequest(); 97} 98catch (HttpBadRequestException $e) 99{ 100 $response = $routerequest('_400_', $e); 101}