ErrorException [ Recoverable Error ]
Argument 2 passed to Widget_Queries::default_queries() must be an instance of Model_City, string given, called in /var/home/adminpublic_html/application/classes/Widget/Queries.php on line 36 and defined

APPPATH/classes/Widget/Queries.php [ 81 ]

76 	 * @param  array       $queries77 	 * @param  Model_City  $city78 	 * @param  string      $count79 	 * @return array80 	 */81 	private static function default_queries(array &$queries, Model_City $city, $count)82 	{83 		$default_queries = array(84 			'Офис-менеджер',85 			'Менеджер по продажам',86 			'Бухгалтер',87  
  1. APPPATH/classes/Widget/Queries.php [ 81 ] » Kohana_Core::error_handler ( arguments )

    0 4096
    1 Argument 2 passed to Widget_Queries::default_queries() must be an instance of Model_City, string given, called in /var/home/adminpublic_html/application/classes/Widget/Queries.php on line 36 and defined
    2 /var/home/adminpublic_html/application/classes/Widget/Queries.php
    3 81
    4
    array(1) {
      ["queries"] => &array(2) {
        [0] => array(8) {
          ["id"] => string(7) "6786573"
          ["query"] => string(49) "ритуальные принадлежности"
          ["city_key"] => string(14) "dnepropetrovsk"
          ["city_name"] => NULL
          ["date"] => string(19) "2015-07-07 13:04:58"
          ["ip"] => string(12) "95.80.87.160"
          ["referer"] => string(207) "/dnepropetrovsk/search?query=%D1%80%D0%B8%D1%82%D1%83%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B5+%D0%BF%D1%80%D0%B8%D0%BD%D0%B0%D0%B4%D0%BB%D0%B5%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D0%B8&type=firm&page=5"
          ["count"] => string(1) "7"
        }
        [1] => array(8) {
          ["id"] => string(7) "6735777"
          ["query"] => string(21) "Базы отдыха"
          ["city_key"] => string(14) "dnepropetrovsk"
          ["city_name"] => NULL
          ["date"] => string(19) "2015-06-29 05:34:00"
          ["ip"] => string(14) "82.140.255.190"
          ["referer"] => string(106) "/dnepropetrovsk/search?query=%D0%91%D0%B0%D0%B7%D1%8B+%D0%BE%D1%82%D0%B4%D1%8B%D1%85%D0%B0"
          ["count"] => string(1) "1"
        }
      }
    }
    
    76 	 * @param  array       $queries77 	 * @param  Model_City  $city78 	 * @param  string      $count79 	 * @return array80 	 */81 	private static function default_queries(array &$queries, Model_City $city, $count)82 	{83 		$default_queries = array(84 			'Офис-менеджер',85 			'Менеджер по продажам',86 			'Бухгалтер',87  
  2. APPPATH/classes/Widget/Queries.php [ 36 ] » Widget_Queries::default_queries ( arguments )

    0
    array(2) {
      [0] => array(8) {
        ["id"] => string(7) "6786573"
        ["query"] => string(49) "ритуальные принадлежности"
        ["city_key"] => string(14) "dnepropetrovsk"
        ["city_name"] => NULL
        ["date"] => string(19) "2015-07-07 13:04:58"
        ["ip"] => string(12) "95.80.87.160"
        ["referer"] => string(207) "/dnepropetrovsk/search?query=%D1%80%D0%B8%D1%82%D1%83%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B5+%D0%BF%D1%80%D0%B8%D0%BD%D0%B0%D0%B4%D0%BB%D0%B5%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D0%B8&type=firm&page=5"
        ["count"] => string(1) "7"
      }
      [1] => array(8) {
        ["id"] => string(7) "6735777"
        ["query"] => string(21) "Базы отдыха"
        ["city_key"] => string(14) "dnepropetrovsk"
        ["city_name"] => NULL
        ["date"] => string(19) "2015-06-29 05:34:00"
        ["ip"] => string(14) "82.140.255.190"
        ["referer"] => string(106) "/dnepropetrovsk/search?query=%D0%91%D0%B0%D0%B7%D1%8B+%D0%BE%D1%82%D0%B4%D1%8B%D1%85%D0%B0"
        ["count"] => string(1) "1"
      }
    }
    
    1 dnepropetrovsk
    2 3
    31 					);32 				}33  34 				if ($this->config['popular'] AND ($this->config['page'] == 1) AND (sizeof($queries) < $this->config['limit']))35 				{36 					self::default_queries($queries, $this->config['city']->code, $this->config['limit'] - sizeof($queries));37 				}38  39 				$cache->set($cache_name, serialize($queries), $this->config['cache_lifetime']);40 			}41 		}42  
  3. MODPATH/widget/classes/Widget.php [ 62 ] » Widget_Queries->render ( )

    57 		if (Kohana::$profiling)58 		{59 			$benchmark = Profiler::start('widget', $name);60 		}61  62 		$result = $widget->render();63  64 		if (isset($benchmark))65 		{66 			Profiler::stop($benchmark);67 		}68  
  4. APPPATH/views/page/rubrics.php [ 98 ] » Widget::show ( arguments )

    0 queries
    1
    array(5) {
      ["city"] => object(stdClass)#100 (33) {
        ["id"] => int(105)
        ["name"] => string(28) "Днепропетровск"
        ["code"] => string(14) "dnepropetrovsk"
        ["geo_id"] => string(17) "14777861479071746"
        ["country_code"] => string(2) "ua"
        ["language"] => string(2) "ru"
        ["transport_routes_count"] => int(230)
        ["centroid"] => string(25) "POINT(34.99516 48.455364)"
        ["timezone"] => string(11) "Europe/Kiev"
        ["geoscount"] => int(106206)
        ["firmscount"] => int(18502)
        ["road_extent"] => string(110) "POLYGON((34.737734 48.341385,35.296754 48.341385,35.296754 48.687967,34.737734 48.687967,34.737734 48.341385))"
        ["settlements"] => array(2) {
          [0] => string(22) "Подгородное"
          [1] => string(24) "Новомосковск"
        }
        ["filialscount"] => int(27661)
        ["rubricscount"] => int(1046)
        ["weights_time"] => int(1442916903)
        ["actual_extent"] => string(110) "POLYGON((34.737734 48.341385,35.296754 48.341385,35.296754 48.687967,34.737734 48.687967,34.737734 48.341385))"
        ["seo"] => object(stdClass)#101 (2) {
          ["title"] => string(0) ""
          ["description"] => string(52) "Днепропетровска, Подгорного"
        }
        ["flamp"] => bool(false)
        ["is_3d"] => bool(true)
        ["metro"] => bool(true)
        ["routing"] => bool(true)
        ["traffic"] => bool(true)
        ["transport"] => bool(true)
        ["zoomlevel"] => string(2) "11"
        ["max_zoomlevel"] => string(2) "18"
        ["min_zoomlevel"] => string(1) "9"
        ["dailyImportAds"] => bool(true)
        ["starting_3d_zoom"] => string(2) "17"
        ["grammatical_cases"] => object(stdClass)#102 (3) {
          ["genitive"] => string(30) "Днепропетровска"
          ["accusative"] => string(28) "Днепропетровск"
          ["prepositional"] => string(30) "Днепропетровске"
        }
        ["timezone_as_offset"] => int(180)
        ["lon"] => string(8) "34.99516"
        ["lat"] => string(9) "48.455364"
      }
      ["type"] => string(4) "firm"
      ["limit"] => int(5)
      ["popular"] => bool(true)
      ["view_city"] => bool(false)
    }
    
     93 					'city'      => $city, 94 					'type'      => 'firm', 95 					'limit'     => 5, 96 					'popular'   => TRUE, 97 					'view_city' => FALSE, 98 				))): ?> 99 				<div class="col-sm-<?=floor(12/$column)?> block">100 					<strong class="red">Другое</strong>101 					<?=$firm_queries?>102 				</div>103 			<? endif ?>104  
  5. SYSPATH/classes/Kohana/View.php [ 61 ] » include ( arguments )

    0 /var/home/adminpublic_html/application/views/page/rubrics.php
    56 		ob_start();57  58 		try59 		{60 			// Load the view within the current scope61 			include $kohana_view_filename;62 		}63 		catch (Exception $e)64 		{65 			// Delete the output buffer66 			ob_end_clean();67  
  6. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture ( arguments )

    0 /var/home/adminpublic_html/application/views/page/rubrics.php
    1
    array(0) {
    }
    
    343 		{344 			throw new View_Exception('You must set the file to use within your view before rendering');345 		}346  347 		// Combine local and global data and capture the output348 		return View::capture($this->_file, $this->_data);349 	}350  351 } // End View352  
  7. SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render ( )

    223 	 */224 	public function __toString()225 	{226 		try227 		{228 			return $this->render();229 		}230 		catch (Exception $e)231 		{232 			/**233 			 * Display the exception message.234 
  8. APPPATH/views/layout.php [ 103 ] » Kohana_View->__toString ( )

     98 				<script> 99 				(adsbygoogle = window.adsbygoogle || []).push({});100 				</script>101 			</div>102 		<? endif ?>103 		<?=$content?>104 	</div>105 	<? if (Model::factory('Content_Control')->is_safe()): ?>106 		<style>107 			.ad_content { width: 320px; height: 100px; }108 			@media(min-width: 768px) { .ad_content { width: 728px; height: 90px; } }109  
  9. SYSPATH/classes/Kohana/View.php [ 61 ] » include ( arguments )

    0 /var/home/adminpublic_html/application/views/layout.php
    56 		ob_start();57  58 		try59 		{60 			// Load the view within the current scope61 			include $kohana_view_filename;62 		}63 		catch (Exception $e)64 		{65 			// Delete the output buffer66 			ob_end_clean();67  
  10. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture ( arguments )

    0 /var/home/adminpublic_html/application/views/layout.php
    1
    array(3) {
      ["head_include"] => NULL
      ["title"] => string(81) "Популярные рубрики Днепропетровска - ГИСВИД"
      ["content"] => object(View)#311 (2) {
        ["_file":protected] => string(76) "/var/home/adminpublic_html/application/views/page/rubrics.php"
        ["_data":protected] => array(0) {
        }
      }
    }
    
    343 		{344 			throw new View_Exception('You must set the file to use within your view before rendering');345 		}346  347 		// Combine local and global data and capture the output348 		return View::capture($this->_file, $this->_data);349 	}350  351 } // End View352  
  11. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render ( )

    39 	 */40 	public function after()41 	{42 		if ($this->auto_render === TRUE)43 		{44 			$this->response->body($this->template->render());45 		}46  47 		parent::after();48 	}49  50  
  12. APPPATH/classes/Controller/City.php [ 57 ] » Kohana_Controller_Template->after ( )

    52  53 		View::bind_global('seo_title', $seo_title);54  55 		try56 		{57 			parent::after();58 		}59 		catch (ErrorException $e)60 		{61 			throw new HTTP_Exception_500($e->getMessage());62 		}63  
  13. APPPATH/classes/Controller/Gis.php [ 19 ] » Controller_City->after ( )

    14 		Assets::js('2gis', 'http://catalog.api.2gis.ru/assets/apitracker.js?version=1.3', NULL, FALSE, array('weight' => -8));15 	}16  17 	public function after()18 	{19 		parent::after();20  21 		if ($this->request->action() == 'profile' AND $this->request->param('id') == '4504127908585253')22 		{23 			Model::factory('Stat')->cache($this->request->param('id'));24 		}25  
  14. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Gis->after ( )

    82  83 		// Execute the action itself84 		$this->{$action}();85  86 		// Execute the "after action" method87 		$this->after();88  89 		// Return the response90 		return $this->response;91 	}92  93  
  15. {PHP internal call} » Kohana_Controller->execute ( )

  16. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke ( arguments )

    0
    object(Controller_Gis)#47 (6) {
      ["template"] => object(View)#309 (2) {
        ["_file":protected] => string(70) "/var/home/adminpublic_html/application/views/layout.php"
        ["_data":protected] => array(3) {
          ["head_include"] => NULL
          ["title"] => string(81) "Популярные рубрики Днепропетровска - ГИСВИД"
          ["content"] => object(View)#311 (2) {
            ["_file":protected] => string(76) "/var/home/adminpublic_html/application/views/page/rubrics.php"
            ["_data":protected] => array(0) {
            }
          }
        }
      }
      ["city"] => object(stdClass)#100 (33) {
        ["id"] => int(105)
        ["name"] => string(28) "Днепропетровск"
        ["code"] => string(14) "dnepropetrovsk"
        ["geo_id"] => string(17) "14777861479071746"
        ["country_code"] => string(2) "ua"
        ["language"] => string(2) "ru"
        ["transport_routes_count"] => int(230)
        ["centroid"] => string(25) "POINT(34.99516 48.455364)"
        ["timezone"] => string(11) "Europe/Kiev"
        ["geoscount"] => int(106206)
        ["firmscount"] => int(18502)
        ["road_extent"] => string(110) "POLYGON((34.737734 48.341385,35.296754 48.341385,35.296754 48.687967,34.737734 48.687967,34.737734 48.341385))"
        ["settlements"] => array(2) {
          [0] => string(22) "Подгородное"
          [1] => string(24) "Новомосковск"
        }
        ["filialscount"] => int(27661)
        ["rubricscount"] => int(1046)
        ["weights_time"] => int(1442916903)
        ["actual_extent"] => string(110) "POLYGON((34.737734 48.341385,35.296754 48.341385,35.296754 48.687967,34.737734 48.687967,34.737734 48.341385))"
        ["seo"] => object(stdClass)#101 (2) {
          ["title"] => string(0) ""
          ["description"] => string(52) "Днепропетровска, Подгорного"
        }
        ["flamp"] => bool(false)
        ["is_3d"] => bool(true)
        ["metro"] => bool(true)
        ["routing"] => bool(true)
        ["traffic"] => bool(true)
        ["transport"] => bool(true)
        ["zoomlevel"] => string(2) "11"
        ["max_zoomlevel"] => string(2) "18"
        ["min_zoomlevel"] => string(1) "9"
        ["dailyImportAds"] => bool(true)
        ["starting_3d_zoom"] => string(2) "17"
        ["grammatical_cases"] => object(stdClass)#102 (3) {
          ["genitive"] => string(30) "Днепропетровска"
          ["accusative"] => string(28) "Днепропетровск"
          ["prepositional"] => string(30) "Днепропетровске"
        }
        ["timezone_as_offset"] => int(180)
        ["lon"] => string(8) "34.99516"
        ["lat"] => string(9) "48.455364"
      }
      ["auto_render"] => bool(true)
      ["_devel_auth":protected] => object(Auth_File)#308 (3) {
        ["_users":protected] => array(1) {
          ["devel"] => string(64) "fab51a3e0a5907bd4f90d0e0c4797f24cf77a8f8ae03eb96b771ce2b261f0096"
        }
        ["_session":protected] => object(Session_Cookie)#307 (5) {
          ["_name":protected] => string(7) "session"
          ["_lifetime":protected] => int(0)
          ["_encrypted":protected] => bool(false)
          ["_data":protected] => array(0) {
          }
          ["_destroyed":protected] => bool(false)
        }
        ["_config":protected] => array(7) {
          ["driver"] => string(4) "file"
          ["hash_method"] => string(6) "sha256"
          ["hash_key"] => string(10) "eqi87mup9q"
          ["lifetime"] => int(3600)
          ["session_type"] => string(6) "cookie"
          ["session_key"] => string(10) "auth_devel"
          ["users"] => array(1) {
            ["devel"] => string(64) "fab51a3e0a5907bd4f90d0e0c4797f24cf77a8f8ae03eb96b771ce2b261f0096"
          }
        }
      }
      ["request"] => object(Request)#41 (19) {
        ["_requested_with":protected] => NULL
        ["_method":protected] => string(3) "GET"
        ["_protocol":protected] => string(8) "HTTP/1.0"
        ["_secure":protected] => bool(false)
        ["_referrer":protected] => NULL
        ["_route":protected] => object(Route)#38 (5) {
          ["_filters":protected] => array(0) {
          }
          ["_uri":protected] => string(24) "<city>(/<action>(/<id>))"
          ["_regex":protected] => array(2) {
            ["city"] => string(8) "[-_a-z]+"
            ["id"] => string(3) "\d+"
          }
          ["_defaults":protected] => array(2) {
            ["controller"] => string(3) "gis"
            ["action"] => string(5) "index"
          }
          ["_route_regex":protected] => string(71) "#^(?P<city>[-_a-z]+)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>\d+))?)?$#uD"
        }
        ["_routes":protected] => array(0) {
        }
        ["_header":protected] => object(HTTP_Header)#42 (5) {
          ["_accept_content":protected] => NULL
          ["_accept_charset":protected] => NULL
          ["_accept_encoding":protected] => NULL
          ["_accept_language":protected] => NULL
          ["storage":"ArrayObject":private] => array(0) {
          }
        }
        ["_body":protected] => NULL
        ["_directory":protected] => string(0) ""
        ["_controller":protected] => string(3) "Gis"
        ["_action":protected] => string(7) "rubrics"
        ["_uri":protected] => string(22) "dnepropetrovsk/rubrics"
        ["_external":protected] => bool(false)
        ["_params":protected] => array(1) {
          ["city"] => string(14) "dnepropetrovsk"
        }
        ["_get":protected] => array(0) {
        }
        ["_post":protected] => array(0) {
        }
        ["_cookies":protected] => array(0) {
        }
        ["_client":protected] => object(Request_Client_Internal)#43 (9) {
          ["_previous_environment":protected] => NULL
          ["_cache":protected] => NULL
          ["_follow":protected] => bool(false)
          ["_follow_headers":protected] => array(1) {
            [0] => string(13) "Authorization"
          }
          ["_strict_redirect":protected] => bool(true)
          ["_header_callbacks":protected] => array(1) {
            ["Location"] => string(34) "Request_Client::on_header_location"
          }
          ["_max_callback_depth":protected] => int(5)
          ["_callback_depth":protected] => int(1)
          ["_callback_params":protected] => array(0) {
          }
        }
      }
      ["response"] => object(Response)#44 (5) {
        ["_status":protected] => int(200)
        ["_header":protected] => object(HTTP_Header)#45 (5) {
          ["_accept_content":protected] => NULL
          ["_accept_charset":protected] => NULL
          ["_accept_encoding":protected] => NULL
          ["_accept_language":protected] => NULL
          ["storage":"ArrayObject":private] => array(0) {
          }
        }
        ["_body":protected] => string(0) ""
        ["_cookies":protected] => array(0) {
        }
        ["_protocol":protected] => NULL
      }
    }
    
     92   93 			// Create a new instance of the controller 94 			$controller = $class->newInstance($request, $response); 95   96 			// Run the controller's execute() method 97 			$response = $class->getMethod('execute')->invoke($controller); 98   99 			if ( ! $response instanceof Response)100 			{101 				// Controller failed to return a Response.102 				throw new Kohana_Exception('Controller failed to return a Response');103  
  17. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request ( arguments )

    0
    object(Request)#41 (19) {
      ["_requested_with":protected] => NULL
      ["_method":protected] => string(3) "GET"
      ["_protocol":protected] => string(8) "HTTP/1.0"
      ["_secure":protected] => bool(false)
      ["_referrer":protected] => NULL
      ["_route":protected] => object(Route)#38 (5) {
        ["_filters":protected] => array(0) {
        }
        ["_uri":protected] => string(24) "<city>(/<action>(/<id>))"
        ["_regex":protected] => array(2) {
          ["city"] => string(8) "[-_a-z]+"
          ["id"] => string(3) "\d+"
        }
        ["_defaults":protected] => array(2) {
          ["controller"] => string(3) "gis"
          ["action"] => string(5) "index"
        }
        ["_route_regex":protected] => string(71) "#^(?P<city>[-_a-z]+)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>\d+))?)?$#uD"
      }
      ["_routes":protected] => array(0) {
      }
      ["_header":protected] => object(HTTP_Header)#42 (5) {
        ["_accept_content":protected] => NULL
        ["_accept_charset":protected] => NULL
        ["_accept_encoding":protected] => NULL
        ["_accept_language":protected] => NULL
        ["storage":"ArrayObject":private] => array(0) {
        }
      }
      ["_body":protected] => NULL
      ["_directory":protected] => string(0) ""
      ["_controller":protected] => string(3) "Gis"
      ["_action":protected] => string(7) "rubrics"
      ["_uri":protected] => string(22) "dnepropetrovsk/rubrics"
      ["_external":protected] => bool(false)
      ["_params":protected] => array(1) {
        ["city"] => string(14) "dnepropetrovsk"
      }
      ["_get":protected] => array(0) {
      }
      ["_post":protected] => array(0) {
      }
      ["_cookies":protected] => array(0) {
      }
      ["_client":protected] => object(Request_Client_Internal)#43 (9) {
        ["_previous_environment":protected] => NULL
        ["_cache":protected] => NULL
        ["_follow":protected] => bool(false)
        ["_follow_headers":protected] => array(1) {
          [0] => string(13) "Authorization"
        }
        ["_strict_redirect":protected] => bool(true)
        ["_header_callbacks":protected] => array(1) {
          ["Location"] => string(34) "Request_Client::on_header_location"
        }
        ["_max_callback_depth":protected] => int(5)
        ["_callback_depth":protected] => int(1)
        ["_callback_params":protected] => array(0) {
        }
      }
    }
    
    1
    object(Response)#44 (5) {
      ["_status":protected] => int(200)
      ["_header":protected] => object(HTTP_Header)#45 (5) {
        ["_accept_content":protected] => NULL
        ["_accept_charset":protected] => NULL
        ["_accept_encoding":protected] => NULL
        ["_accept_language":protected] => NULL
        ["storage":"ArrayObject":private] => array(0) {
        }
      }
      ["_body":protected] => string(0) ""
      ["_cookies":protected] => array(0) {
      }
      ["_protocol":protected] => NULL
    }
    
    109 		$orig_response = $response = Response::factory();110  111 		if (($cache = $this->cache()) instanceof HTTP_Cache)112 			return $cache->execute($this, $request, $response);113  114 		$response = $this->execute_request($request, $response);115  116 		// Execute response callbacks117 		foreach ($this->header_callbacks() as $header => $callback)118 		{119 			if ($response->headers($header))120  
  18. SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute ( arguments )

    0
    object(Request)#41 (19) {
      ["_requested_with":protected] => NULL
      ["_method":protected] => string(3) "GET"
      ["_protocol":protected] => string(8) "HTTP/1.0"
      ["_secure":protected] => bool(false)
      ["_referrer":protected] => NULL
      ["_route":protected] => object(Route)#38 (5) {
        ["_filters":protected] => array(0) {
        }
        ["_uri":protected] => string(24) "<city>(/<action>(/<id>))"
        ["_regex":protected] => array(2) {
          ["city"] => string(8) "[-_a-z]+"
          ["id"] => string(3) "\d+"
        }
        ["_defaults":protected] => array(2) {
          ["controller"] => string(3) "gis"
          ["action"] => string(5) "index"
        }
        ["_route_regex":protected] => string(71) "#^(?P<city>[-_a-z]+)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>\d+))?)?$#uD"
      }
      ["_routes":protected] => array(0) {
      }
      ["_header":protected] => object(HTTP_Header)#42 (5) {
        ["_accept_content":protected] => NULL
        ["_accept_charset":protected] => NULL
        ["_accept_encoding":protected] => NULL
        ["_accept_language":protected] => NULL
        ["storage":"ArrayObject":private] => array(0) {
        }
      }
      ["_body":protected] => NULL
      ["_directory":protected] => string(0) ""
      ["_controller":protected] => string(3) "Gis"
      ["_action":protected] => string(7) "rubrics"
      ["_uri":protected] => string(22) "dnepropetrovsk/rubrics"
      ["_external":protected] => bool(false)
      ["_params":protected] => array(1) {
        ["city"] => string(14) "dnepropetrovsk"
      }
      ["_get":protected] => array(0) {
      }
      ["_post":protected] => array(0) {
      }
      ["_cookies":protected] => array(0) {
      }
      ["_client":protected] => object(Request_Client_Internal)#43 (9) {
        ["_previous_environment":protected] => NULL
        ["_cache":protected] => NULL
        ["_follow":protected] => bool(false)
        ["_follow_headers":protected] => array(1) {
          [0] => string(13) "Authorization"
        }
        ["_strict_redirect":protected] => bool(true)
        ["_header_callbacks":protected] => array(1) {
          ["Location"] => string(34) "Request_Client::on_header_location"
        }
        ["_max_callback_depth":protected] => int(5)
        ["_callback_depth":protected] => int(1)
        ["_callback_params":protected] => array(0) {
        }
      }
    }
    
    985 			throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(986 				':uri' => $this->_uri,987 			));988 		}989  990 		return $this->_client->execute($this);991 	}992  993 	/**994 	 * Returns whether this request is the initial request Kohana received.995 	 * Can be used to test for sub requests.996 
  19. DOCROOT/index.php [ 118 ] » Kohana_Request->execute ( )

    113 	/**114 	 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].115 	 * If no source is specified, the URI will be automatically detected.116 	 */117 	echo Request::factory(TRUE, array(), FALSE)118 		->execute()119 		->send_headers(TRUE)120 		->body();121 }122