Bug Report #3813

Request::factory on external url error "Call to a member function uri() on a non-object"

Added by Yuriy Peskov about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:03/02/2011
Priority:NormalDue date:
Assignee:Sam de Freyssinet% Done:

100%

Category:Core
Target version:v3.1.2
Resolution:fixed Points:

Description

While trying to execute next code:

$data = Request::factory('http://google.com')->execute()

get next error:

ErrorException [ Fatal Error ]: Call to a member function uri() on a non-object

php 5.3.2 Ubuntu 10.04


Related issues

Related to Kohana v3.x - Bug Report #3775: Request execute remote url Closed 02/18/2011

History

#1 Updated by Ashish Padave about 3 years ago

SYSPATH\classes\kohana\request.php [ 793 ]
788 }
789
790 // Add the current parameters
791 $params += $this->_params;
792
793 return $this->_route->uri($params);
794 }
795
796 /**
797 * Create a URL from the current request. This is a shortcut for:
798 *

#2 Updated by Jeremy Bush about 3 years ago

  • Target version set to v3.1.2

#3 Updated by Jeremy Bush about 3 years ago

  • Category set to Core
  • Status changed from New to Closed
  • Assignee set to Sam de Freyssinet
  • % Done changed from 0 to 100
  • Resolution set to fixed

This was fixed by 7fe4843a for ticket #3775.

Also available in: Atom PDF