[wp-trac] [WordPress Trac] #54562: 5.9-beta1 Fatal Error: Class 'WpOrg\Requests\Proxy\HTTP' not found

WordPress Trac noreply at wordpress.org
Fri Dec 3 18:02:55 UTC 2021

#54562: 5.9-beta1 Fatal Error: Class 'WpOrg\Requests\Proxy\HTTP' not found
 Reporter:  alexeydemidov     |       Owner:  hellofromTonya
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.9
Component:  HTTP API          |     Version:  trunk
 Severity:  blocker           |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
Changes (by hellofromTonya):

 * status:  reviewing => closed
 * resolution:   => fixed


 In [changeset:"52315" 52315]:
 #!CommitTicketReference repository="" revision="52315"
 HTTP API: Fix classname `WpOrg\Requests\Proxy\Http` in

 Renaming the classname was missed in [52244] when updating changes in
 `WP_Http::request()` for the Requests 2.0.0 external library upgrade.
 `HTTP` class no longer exists and caused a fatal error `Fatal error:
 Uncaught Error: Class 'WpOrg\Requests\Proxy\HTTP' not found`.

 This commit renames the class to `Http` and resolves the fatal error.

 Follow-up to [52244].

 Props alexeydemidov, costdev, mukesh27.
 Fixes #54562.

Ticket URL: <https://core.trac.wordpress.org/ticket/54562#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list